{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"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":"C3","name":"Audit Trail","shortDescription":{"text":"Audit Trail"},"helpUri":"https://codehealth.canine.dev/dimensions/C3"},{"id":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"BankAccountSection.BankAccountSection (cyclomatic 218): BankAccountSection.BankAccountSection has cyclomatic complexity 218 (threshold 15). Of this number, 199 points are the body\u0027s own statements and 19 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"708f59417dacefd72545f1279f06c87e8438a0a89f2612bfb5959247cb858fc2"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountDetailsSection.AccountDetailsSection (cyclomatic 191): AccountDetailsSection.AccountDetailsSection has cyclomatic complexity 191 (threshold 15). Of this number, 152 points are the body\u0027s own statements and 39 belong to 13 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5734aba48958f30bfb5f13edca316156109b5ecfa55f8a9b23694d01522222f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.PaymentsPage::validateBankAccountFields (cyclomatic 180): Show.PaymentsPage::validateBankAccountFields has cyclomatic complexity 180 (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. This shape REPEATS in the file: 2 other methods here (Show.PaymentsPage, Show.PaymentsPage::validateComplianceInfoFields) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"afacab2bc7112fa29cd1155935d265e073dcd0dac9f36498bb414d7d1d1fe170"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Product (cyclomatic 159): index.Product has cyclomatic complexity 159 (threshold 15). Of this number, 124 points are the body\u0027s own statements and 35 belong to 13 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/index.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05f5bc177868e60d2b83906e8e50fddbbaf4a28f69b250525394f805e56f6db"}},{"ruleId":"D1","level":"warning","message":{"text":"payment.applyCheckoutAction (cyclomatic 154): payment.applyCheckoutAction has cyclomatic complexity 154 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"349d234636353f40f4ce4c7a07d1aa28ecedeeeadd4d04863a0a0fbbb36e0ad0"}},{"ruleId":"D1","level":"warning","message":{"text":"FileEmbed.FileEmbedNodeView (cyclomatic 153): FileEmbed.FileEmbedNodeView has cyclomatic complexity 153 (threshold 15). Of this number, 97 points are the body\u0027s own statements and 56 belong to 33 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a082832985a3753374b06c1877981fdf0072ab290ca1550b785c66a8adfde07"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ContentTabContent (cyclomatic 135): index.ContentTabContent has cyclomatic complexity 135 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 100 belong to 56 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a0c6e693277814403c2bd3db85f759f1dce561b38e09c96a25daf2304e2dba"}},{"ruleId":"D1","level":"warning","message":{"text":"BeneficialOwnersSection.BeneficialOwnersSection (cyclomatic 126): BeneficialOwnersSection.BeneficialOwnersSection has cyclomatic complexity 126 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 88 belong to 18 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aed319aa4744052ea9dd644dec26f90662c7ecf87f2a4413244908499236f2"}},{"ruleId":"D1","level":"warning","message":{"text":"LinksController.update (cyclomatic 113): LinksController.update has cyclomatic complexity 113 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f1954529061ffd62b18a1a27769ca0811ffe3d87d906ae58b349f10c32f69d"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomerDetailPage.CustomerDetailPage (cyclomatic 99): CustomerDetailPage.CustomerDetailPage has cyclomatic complexity 99 (threshold 15). Of this number, 75 points are the body\u0027s own statements and 24 belong to 11 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"687e3d6db26bd07d7327b1f0a7e3499091bb1aec9f3b29cdae142ba80feae0ad"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdaterService.perform (cyclomatic 96): UpdaterService.perform has cyclomatic complexity 96 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"124997790a8ef6e584b90f3abe1825122e29a836ec462a8b2b09564e4d7ff38f"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.PaymentsPage::validateComplianceInfoFields (cyclomatic 95): Show.PaymentsPage::validateComplianceInfoFields has cyclomatic complexity 95 (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. This shape REPEATS in the file: 2 other methods here (Show.PaymentsPage, Show.PaymentsPage::validateBankAccountFields) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23b2d81fc993ad5b197e2ab44d35743948eb2ff12350100ac37818776c7553a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Checkout (cyclomatic 94): index.Checkout has cyclomatic complexity 94 (threshold 15). Of this number, 72 points are the body\u0027s own statements and 22 belong to 16 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfaf1d757477903fbecb3dfe33c18817908768259fdf142322ad71223f540f2"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentForm.CreditCardContent (cyclomatic 87): PaymentForm.CreditCardContent has cyclomatic complexity 87 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 67 belong to 10 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c4f396625ccffb6a1d8515637ce082d1ba6bcb6547285537e8a860a5e74a0e"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowForm.WorkflowForm (cyclomatic 84): WorkflowForm.WorkflowForm has cyclomatic complexity 84 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 40 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bc405d13ea3703a6ed7dc937ce44f14cf73d287cd0fe4d323b9aad5fde6bfc"}},{"ruleId":"D1","level":"warning","message":{"text":"Manage.SubscriptionsManage (cyclomatic 84): Manage.SubscriptionsManage has cyclomatic complexity 84 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 15 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Subscriptions/Manage.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac28745b12ac1f6ae679d54e25db4e9d7aae22bbf20645cef3371cd68613bc62"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentsController.update (cyclomatic 78): PaymentsController.update has cyclomatic complexity 78 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/settings/payments_controller.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dc95429d0c6f82c5e44e12c3cc7f14a679b303a1fe2eb9783853019c2fdbee"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscountsPage.DiscountsPage (cyclomatic 78): DiscountsPage.DiscountsPage has cyclomatic complexity 78 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 46 belong to 14 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"420af02d60833060a64d9b23fa01fa7aa5e9b52bbc6e6909d2c4bc8d9b1e74c2"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailForm.EmailForm (cyclomatic 77): EmailForm.EmailForm has cyclomatic complexity 77 (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. This shape REPEATS in the file: one other method here (EmailForm.EmailForm::validate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b58a37601d75fe331f1cbdf7d5a4da9164a7076d9bd38d9794e45694f1b036"}},{"ruleId":"D1","level":"warning","message":{"text":"order.startOrderCreation (cyclomatic 77): order.startOrderCreation has cyclomatic complexity 77 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/order.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc3f5e3dc43950b3ee4089fda521ca98b5ee73c92805609a699b65760c83b1b"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeMerchantAccountManager.handle_stripe_info_requirements (cyclomatic 75): StripeMerchantAccountManager.handle_stripe_info_requirements has cyclomatic complexity 75 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abb26d252abd1017f9f581578b9f3434e50291db8ea617bfed96cfbec0a1c02"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.CommunitiesIndex (cyclomatic 72): Index.CommunitiesIndex has cyclomatic complexity 72 (threshold 15). Most of this is not in the body itself: 12 of the 72 points are its own statements and the rest belongs to 26 function items inside it that branch (a function literal at line 388, a function literal at line 421, a function literal at line 148, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Communities/Index.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7be79fb9dcdd8997eb3db96bea178fb01270a284a5be0333515eacc73e19de"}},{"ruleId":"D1","level":"warning","message":{"text":"AudienceMember.filter (cyclomatic 71): AudienceMember.filter has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/audience_member.rb"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"42aea81035e8090655c2dc5c48a2a605a6f7da6fd378d022a3cc59f8397012dd"}},{"ruleId":"D1","level":"warning","message":{"text":"ChargeService.create_charge_for_seller_purchases (cyclomatic 69): ChargeService.create_charge_for_seller_purchases has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef0c62c8d0a48f162e0ff56f80f9ac7b94cb51cd9cd5c57e7aa6357c7a34fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeMerchantAccountManager.update_account (cyclomatic 68): StripeMerchantAccountManager.update_account has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eade04c657e4931ce01e78c02330a30f4939148f3c83bb3aca24f9b85b259bd"}},{"ruleId":"D1","level":"warning","message":{"text":"Layout.Layout (cyclomatic 67): Layout.Layout has cyclomatic complexity 67 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 19 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/Layout.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"462aae77567f106460e54055218fd099b0d0c34fe7196ba1e89fa5ca1a4ecd72"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.SettingsPage (cyclomatic 66): Show.SettingsPage has cyclomatic complexity 66 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 37 belong to 16 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Profile/Show.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b58e178db52d89659999029822e44d721d8ba6dcd0e65952e8001f533e603d"}},{"ruleId":"D1","level":"warning","message":{"text":"LinksController.update (cyclomatic 65): LinksController.update has cyclomatic complexity 65 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a6e800d842a81783896c68a4374610c7e05edc9ef894499aeccbf9f61e2bc1"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewForm.ReviewForm (cyclomatic 65): ReviewForm.ReviewForm has cyclomatic complexity 65 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 35 belong to 12 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"379c79061aaee0b4df659b9404e095baf559bd9e3d489b5506b148f61414f810"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateService.perform (cyclomatic 64): CreateService.perform has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b201ab9f443a60f8a35851de5481f831ef3ca3ebfdeea28c71f519e069486ee"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomersPage.CustomersPage (cyclomatic 64): CustomersPage.CustomersPage has cyclomatic complexity 64 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 39 belong to 10 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b5d12a68f51bf8599372c7efedeaa36495054096e84249b70e69e62e235734"}},{"ruleId":"D1","level":"warning","message":{"text":"Edit.PagesEdit (cyclomatic 63): Edit.PagesEdit has cyclomatic complexity 63 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 17 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Pages/Edit.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"069f832a3125d60c11bcb1db19bbe50f38a1321fdb88f82858281b5cd2c86f75"}},{"ruleId":"D1","level":"warning","message":{"text":"Read.EpubReader (cyclomatic 63): Read.EpubReader has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 4 of the 63 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 639, a function literal at line 716, a function literal at line 809, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"649a05d5da985e2f6641279aac2a77f3a43544b6bd337a9077bcf30b8355035c"}},{"ruleId":"D1","level":"warning","message":{"text":"PurchaseExportService.purchase_data (cyclomatic 62): PurchaseExportService.purchase_data has cyclomatic complexity 62 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/purchase_export_service.rb"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4132f4aa4b87ce3c0c357805a481ec66c4ebe03a530a83cee93793bb91cb74e6"}},{"ruleId":"D1","level":"warning","message":{"text":"UtmLinkForm.UtmLinkForm (cyclomatic 61): UtmLinkForm.UtmLinkForm has cyclomatic complexity 61 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 30 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UtmLinks/UtmLinkForm.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fead015c5336c572c7b179afa9e00824b7075bf33e691c27926c921970787e4"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeMerchantAccountManager.update_bank_account (cyclomatic 58): StripeMerchantAccountManager.update_bank_account has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1faab199b01eeddeea145c26c041802a1085a7a057095a7d77d3233c3e4bec"}},{"ruleId":"D1","level":"warning","message":{"text":"OrderInfo.purchase_sales_tax_info_business_vat_id_label (cyclomatic 58): OrderInfo.purchase_sales_tax_info_business_vat_id_label has cyclomatic complexity 58 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/invoice_presenter/order_info.rb"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18468a0eefbf298dd5514366dd8e809e3817475401c4d9d9f9fbb6b4b2a0d00"}},{"ruleId":"D1","level":"warning","message":{"text":"FileList.FileRow (cyclomatic 58): FileList.FileRow has cyclomatic complexity 58 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c65f2cb44de98b2f2c5e088278ff05428e57bfdbac455a1138875716df7a9a"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.LibraryPage (cyclomatic 57): Index.LibraryPage has cyclomatic complexity 57 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 26 belong to 11 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Library/Index.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"170fe52dd9b646d0c86ac7017eab572f286a2d5faa142677f1e272b319e6a905"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigurationSelector.ConfigurationSelector (cyclomatic 56): ConfigurationSelector.ConfigurationSelector has cyclomatic complexity 56 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 24 belong to 13 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5431ee6d8b0a650bace20de6a06069004282dc97ac701f8e49f466aad46d9a7"}},{"ruleId":"D1","level":"warning","message":{"text":"LinksController.create (cyclomatic 54): LinksController.create has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3caee61237b1a6f889e55c27c6e9f8e2b16adad133e8d27b047a43a5b148f2"}},{"ruleId":"D1","level":"warning","message":{"text":"Refundable.refund_and_save! (cyclomatic 53): Refundable.refund_and_save! has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/refundable.rb"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8298d012934ee1abbf8c58b3dfcd6cb35c855b998a13d63e7b3686ede2278c"}},{"ruleId":"D1","level":"warning","message":{"text":"New.PurchaseNewInvoicePage (cyclomatic 53): New.PurchaseNewInvoicePage has cyclomatic complexity 53 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 16 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/Invoices/New.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b61dad2f1d7022516858012ee611801f42679c03d54f67ad39469677cd56bc"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentForm.SharedInputs (cyclomatic 52): PaymentForm.SharedInputs has cyclomatic complexity 52 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dc01524651a494dfc61ea79d0f9ee63b41c274041c1695bfa7c3628bd8dfe4"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscountsPage.Form::handleSubmit (cyclomatic 52): DiscountsPage.Form::handleSubmit has cyclomatic complexity 52 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (DiscountsPage.Form) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73cfa828adf2d7bef3930268c0b229145d930061f055ac3a02ed4c66d45352b"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncStatusWithChargeProcessorService.perform (cyclomatic 51): SyncStatusWithChargeProcessorService.perform has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/sync_status_with_charge_processor_service.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c3d8c9b964126e71d4e8350d9eb6357a9aa12f4c0bfa3fa3d5448dafe940a4"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscountsPage.Form (cyclomatic 51): DiscountsPage.Form has cyclomatic complexity 51 (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. This shape REPEATS in the file: one other method here (DiscountsPage.Form::handleSubmit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"007a5e245dd2a21591dd7957b0850a88383495f926b61e4a319a0cf5c226fc9a"}},{"ruleId":"D1","level":"warning","message":{"text":"WithContent.WithContent (cyclomatic 51): WithContent.WithContent has cyclomatic complexity 51 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 21 belong to 10 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/WithContent.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2083169a135460563d3c884aadabd29cf6d3b458af2f5654de13f3d3a549310b"}},{"ruleId":"D1","level":"warning","message":{"text":"WithFiltering.seller_post_passes_filters (cyclomatic 50): WithFiltering.seller_post_passes_filters has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/with_filtering.rb"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bb37848e03e442a466c52b56ac3a02a3eb4d16eb1861bd58ed3f14cfec5d8e"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.PaymentsPage (cyclomatic 50): Show.PaymentsPage has cyclomatic complexity 50 (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. This shape REPEATS in the file: 2 other methods here (Show.PaymentsPage::validateBankAccountFields, Show.PaymentsPage::validateComplianceInfoFields) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"43646a63df82d39b4c2b0d45b83e35282a91bd5f333e54173eadfb67e79f39c4"}},{"ruleId":"D1","level":"warning","message":{"text":"purchase.createPurchasesRequestData (cyclomatic 49): purchase.createPurchasesRequestData has cyclomatic complexity 49 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/purchase.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"11079a8deaad1a67d669390aabef0107248f37884f04735eafb901d3ac481ae6"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsPresenter.account_status_details (cyclomatic 48): SettingsPresenter.account_status_details has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/settings_presenter.rb"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a4d8870bf7d5071d2d6ba0c8a6578c3fc85d425beb1f072c62968863292465"}},{"ruleId":"D1","level":"warning","message":{"text":"SendWorkflowInstallmentWorker.perform (cyclomatic 48): SendWorkflowInstallmentWorker.perform has cyclomatic complexity 48 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_installment_worker.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de4f8310d60d076c175365937a0e8b4184941a887504178b4370eee7c652077"}},{"ruleId":"D1","level":"warning","message":{"text":"index.CartItemComponent (cyclomatic 48): index.CartItemComponent has cyclomatic complexity 48 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"533a74de55091a0b75a05debf5a80c428bd70aaf33a72eaa6190518e698dd544"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.CheckoutIndexPage::pay (cyclomatic 48): Show.CheckoutIndexPage::pay has cyclomatic complexity 48 (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. This shape REPEATS in the file: one other method here (Show.CheckoutIndexPage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"7266d062a9f4b525f64844a43e28826f0bb35edf2e2a7dcc64c8553a930f9464"}},{"ruleId":"D1","level":"warning","message":{"text":"Published.EmailsPublished (cyclomatic 48): Published.EmailsPublished has cyclomatic complexity 48 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 32 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Published.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdd5907d6f7ce65a7ee245a3fd0d40cb1371fc7fd1e72a32cb01d663a1321ae"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.Period (cyclomatic 48): Index.Period has cyclomatic complexity 48 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 14 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0d534d81d66aabc2f8307b85e199ebd6e4aa600a368eafc0efb789b9fae192"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeChargeProcessor.handle_stripe_charge_event (cyclomatic 47): StripeChargeProcessor.handle_stripe_charge_event has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c030d348d21fdefe021db1efcc89989a1cdf41c2017d55f39c02007dbad5f1"}},{"ruleId":"D1","level":"warning","message":{"text":"ChargeService.ensure_all_purchases_processed (cyclomatic 47): ChargeService.ensure_all_purchases_processed has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b2ab2759357dd01a622c822647867fe4b5c259a1b6f8c7fefccfe2eb525e3"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateService.perform (cyclomatic 47): CreateService.perform has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/create_service.rb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7313e51437515e33dc4ca0f31154c3c8c24c4712cbf4e2488dc4d9f0b75103"}},{"ruleId":"D1","level":"warning","message":{"text":"Form.CollaboratorForm (cyclomatic 47): Form.CollaboratorForm has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 10 of the 47 points are its own statements and the rest belongs to 12 function items inside it that branch (submitForm, a function literal at line 282, a function literal at line 45, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Collaborators/Form.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b58cb3af89a32e9f68e2527ff0e6506c3497880f39b8d5d2dabfce41103944b"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductEditPage.applyCanonicalIds (cyclomatic 47): ProductEditPage.applyCanonicalIds has cyclomatic complexity 47 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"080c7dbf2742d0fb603e5cca2d905bc3f9f1463e5fe92040fb5bb7c9c35072e0"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.PayoutsIndex (cyclomatic 47): Index.PayoutsIndex has cyclomatic complexity 47 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"935a33e3445ba899c69c957cc43e86c55ad9fb7503550da7fe56618cd1a71ddb"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.Show (cyclomatic 47): Show.Show has cyclomatic complexity 47 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 16 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e1ace0240f53103649acd6ab9fd5f66f279af6b8b5aa4d40631f7f44bcbb5d"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeMerchantAccountManager.create_account (cyclomatic 46): StripeMerchantAccountManager.create_account has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e02ec2f2f1c1a1d3f289be8dd43b249e9f806263bb49983e3c271880da1d89"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.as_json (cyclomatic 46): Purchase.as_json has cyclomatic complexity 46 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e3bbc961c45aeb47b2b7a4dca302923abd6edadead763139ee419e819f289f"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentForm.useStripePaymentRequest (cyclomatic 45): PaymentForm.useStripePaymentRequest has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 6 of the 45 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 1635, a function literal at line 1681, a function literal at line 1699, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadedc5af2dd4fd682e9dbcd050fdccd3329661f85e487ea8e8849d95d70f5eb"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.DiscoverIndex (cyclomatic 45): Index.DiscoverIndex has cyclomatic complexity 45 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 19 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Discover/Index.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1ea03b9198633b65dc0d2b1d718d5db3c971d2e74fda86b5a6fdae9c96fb31"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoTopUpNegativeDestinationBalancesJob.topup (cyclomatic 44): AutoTopUpNegativeDestinationBalancesJob.topup has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/auto_top_up_negative_destination_balances_job.rb"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4703e970ef084d62702af82885c6d69671273a7e012da26b130b8c5446143d90"}},{"ruleId":"D1","level":"warning","message":{"text":"Payouts.is_user_payable (cyclomatic 43): Payouts.is_user_payable has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/payouts.rb"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffd1e284ab8fbb1b643b3fa60aaf38e4f389add13f825c3b4bd793ba13e67ad"}},{"ruleId":"D1","level":"warning","message":{"text":"WithProductFiles.save_files! (cyclomatic 43): WithProductFiles.save_files! has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/with_product_files.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59d60b810f8fd32b140c68ff816458683ca6f275ea23626078b02c3f723486c"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateUserComplianceInfo.assign_compliance_params (cyclomatic 43): UpdateUserComplianceInfo.assign_compliance_params has cyclomatic complexity 43 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/update_user_compliance_info.rb"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0f832772242014a67112bd40ff0172a101d0d87541aaf364d7b9acc4e57417"}},{"ruleId":"D1","level":"warning","message":{"text":"Payouts.create_payments (cyclomatic 42): Payouts.create_payments has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/payouts.rb"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1983c6c66bc40d442ad213f02bc060760ddfd3db55878ffd938b302203af068"}},{"ruleId":"D1","level":"warning","message":{"text":"StripePayoutProcessor.prepare_payment_and_set_amount (cyclomatic 42): StripePayoutProcessor.prepare_payment_and_set_amount has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3c4fb776b495ed783fa6f87f8bd0fb3b3340e71fe3ba17037c21c2f12f7ba6"}},{"ruleId":"D1","level":"warning","message":{"text":"CtaButton.CtaButton (cyclomatic 42): CtaButton.CtaButton has cyclomatic complexity 42 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CtaButton.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"750014804d76f7073688d3f3613b6e5ae0ffb2568d6f77f69a7fb7b91b8770ac"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeChargeProcessor.create_payment_intent_or_charge! (cyclomatic 41): StripeChargeProcessor.create_payment_intent_or_charge! has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eb1ec6d1ac0a67d39c0c0287aed37e397b440a35e0bc9473e5a004dc9bbad3"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.refund_purchase! (cyclomatic 41): Purchase.refund_purchase! has cyclomatic complexity 41 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/refundable.rb"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5b45fb4e8c796b6f6d21af30d92fe15641cc38e9bf3f9f9da140b1f8ef2491"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutPresenter.checkout_product (cyclomatic 41): CheckoutPresenter.checkout_product has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout_presenter.rb"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"42db12f238cd014442ea87d676709b14ef08d33bd2f9336598b69a2e03fba90c"}},{"ruleId":"D1","level":"warning","message":{"text":"LegalGuardianSection.LegalGuardianSection (cyclomatic 41): LegalGuardianSection.LegalGuardianSection has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 13 of the 41 points are its own statements and the rest belongs to 4 function items inside it that branch (missingRequiredField, handleSubmit, handleKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fd456549c6e21006f15607ade2ef772e3ede0f5204f0878c818025021712fb"}},{"ruleId":"D1","level":"warning","message":{"text":"Refundable.handle_event_refund_updated! (cyclomatic 40): Refundable.handle_event_refund_updated! has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/charge/refundable.rb"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1c18895473083f212fd65480d8a058902108fc749f72a9b9539713d57ff0c6"}},{"ruleId":"D1","level":"warning","message":{"text":"BuyerCurrencyEligibility.decision (cyclomatic 40): BuyerCurrencyEligibility.decision has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_eligibility.rb"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c6aa3f04d34ba14a3b705cd2c1585313f49cd53346629b13cc893ab6ba4580"}},{"ruleId":"D1","level":"warning","message":{"text":"SendWorkflowPostEmailsJob.perform (cyclomatic 40): SendWorkflowPostEmailsJob.perform has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_post_emails_job.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb0bec029fdf4a1a0fba72a03032badd688ae4f23d9d7c02067032b2fa54a5c"}},{"ruleId":"D1","level":"warning","message":{"text":"SectionsForm.ProfileSectionsForm (cyclomatic 40): SectionsForm.ProfileSectionsForm has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 8 of the 40 points are its own statements and the rest belongs to 18 function items inside it that branch (createSection, removePage, duplicateSection, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae33b0a0388370f8a4c06fb16ada13deb768b777c09c8669a2282fc957ff4ab2"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardPage.DashboardPage (cyclomatic 39): DashboardPage.DashboardPage has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DashboardPage.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"67382e0fc7325b3d6ac9ffb8232a4c6741372d41ac08d4bf851a369ea7d264dd"}},{"ruleId":"D1","level":"warning","message":{"text":"CardGrid.CardGrid (cyclomatic 39): CardGrid.CardGrid has cyclomatic complexity 39 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 16 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CardGrid.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed86e17bbb9f94a55686103fb920e7aa78c4b526d2888e93e9d6a15bfc12dd67"}},{"ruleId":"D1","level":"warning","message":{"text":"New.NewProductPage (cyclomatic 39): New.NewProductPage has cyclomatic complexity 39 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 17 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Products/New.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7a548dd3195c233731f8ae29a87254b25d1d590538718f4c681f9ee230bc1a"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlRedirectsController.check_permissions (cyclomatic 38): UrlRedirectsController.check_permissions has cyclomatic complexity 38 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/url_redirects_controller.rb"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cf267d5a6c9827e5db462831cd30c9052ae0765c781697cacfa9e52c88b8ab"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateService.build_purchase (cyclomatic 38): CreateService.build_purchase has cyclomatic complexity 38 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"a583b8223143df47fec8520644a29248a03a76fb4aad38edb85b4ead26c1501e"}},{"ruleId":"D1","level":"warning","message":{"text":"SaveInstallmentsService.process (cyclomatic 38): SaveInstallmentsService.process has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/workflow/save_installments_service.rb"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b3294ee2a99f7c7bf2b6ca15291521dbe886f3b07b0383bb572398d40bbeea"}},{"ruleId":"D1","level":"warning","message":{"text":"UserComplianceInfoFieldProperty.name_tag_for_field (cyclomatic 37): UserComplianceInfoFieldProperty.name_tag_for_field has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/user_compliance_info_field_property.rb"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4505f2ab8db91d3f9baf03d8f67496b875b48c748f81f0f42cd8fe0caec83255"}},{"ruleId":"D1","level":"warning","message":{"text":"InvoicesController.create (cyclomatic 37): InvoicesController.create has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/purchases/invoices_controller.rb"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f8413293de239e975478691fb309975dceed63586030fd7ff1b342af95eec7"}},{"ruleId":"D1","level":"warning","message":{"text":"Compliance.country_supports_iban? (cyclomatic 37): Compliance.country_supports_iban? has cyclomatic complexity 37 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/user/compliance.rb"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"466ee07e5b50156a9a9200b7c2b7f5ef41221623c21ed3d6d136484d0cee77d0"}},{"ruleId":"D1","level":"warning","message":{"text":"Layout.Layout (cyclomatic 37): Layout.Layout has cyclomatic complexity 37 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/Layout.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c37ce5df86ff4c8a6123e40b2acc9823690a37707bec89c20efb4ac7d70a7bd"}},{"ruleId":"D1","level":"warning","message":{"text":"LinksController.show (cyclomatic 36): LinksController.show has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0fc24a98a6d66a8e41ce27505b909bd1faddc28ed9b135a380aef763047a77"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerateSalesReportJob.perform (cyclomatic 36): GenerateSalesReportJob.perform has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/generate_sales_report_job.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82877e4c2296329353142aa38369b1939f9c351b6a81b6634857dc615a43fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"RecurringChargeWorker.perform (cyclomatic 36): RecurringChargeWorker.perform has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/recurring_charge_worker.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"601bfbd715a1567ca1e50e2d82b53706ba0b9c56ee615790b7b966297cd67840"}},{"ruleId":"D1","level":"warning","message":{"text":"UpsellsPage.Form (cyclomatic 36): UpsellsPage.Form has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (UpsellsPage.Form::handleSubmit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ddde30ddc08ac36047c3d02b3014cf27fc1bb10f3347d10e655b77c235db4d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ContentTab (cyclomatic 36): index.ContentTab has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 7 of the 36 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 1580, a function literal at line 1464, fetchMorePosts, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efaf18def5e1b300a8e8d5aa2e9a45d709a93137007f2844d6917acb85e1600"}},{"ruleId":"D1","level":"warning","message":{"text":"EditPage.EditProfile (cyclomatic 36): EditPage.EditProfile has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 13 of the 36 points are its own statements and the rest belongs to 11 function items inside it that branch (dispatch, a function literal at line 274, saveTabs, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditPage.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cd77ee52e80af5cd7d17ed734379382bda49b81f61fbd428ad4a65aa3ec3d1"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplicationForm.ApplicationForm (cyclomatic 36): ApplicationForm.ApplicationForm has cyclomatic complexity 36 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 19 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"44038e1f33f39b9618604319563e28a300dd0435125e87a1a4fbb7430bc18018"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlRedirectsController.send_to_kindle (cyclomatic 35): UrlRedirectsController.send_to_kindle has cyclomatic complexity 35 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/url_redirects_controller.rb"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c95cc08d4af340c5b5bd3d250eb3236db0a78287fb047dc1fe746450351fab6"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.purchase_info (cyclomatic 35): Purchase.purchase_info has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d4f6d92db8be4ace30df6414502b2216f052e0899ae6876d2cad901448d772"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow.schedule_installment (cyclomatic 35): Workflow.schedule_installment has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/workflow.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"451edf4bef7f07896ce46187574b6c4078e96f3ee9e230e2872ed344cf645a05"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomerPresenter.customer (cyclomatic 35): CustomerPresenter.customer has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/customer_presenter.rb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed99874038fcb7b47ae1e79948346dfb5ef8d93d17baee23c63c1e55c114cdb9"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Analytics (cyclomatic 34): index.Analytics has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 262, 224, 175, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/index.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ea52f1e41f8ee473abebfc292ea460f8ba8a4db9fcb9824d3b7ae1c2b0ebad"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeBeneficialOwnersManager.build_person_params (cyclomatic 33): StripeBeneficialOwnersManager.build_person_params has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8090134334d55f33624232af227843fc10c31ffa283940ffc248cdeecc869e17"}},{"ruleId":"D1","level":"warning","message":{"text":"ChargeService.perform (cyclomatic 33): ChargeService.perform has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"be66e6d883f914c4987985c3e16f8a2fb43e00ffdfc3e90ef8ab99f8bc39eb00"}},{"ruleId":"D1","level":"warning","message":{"text":"LookupLayout.LookupLayout (cyclomatic 33): LookupLayout.LookupLayout has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 14 of the 33 points are its own statements and the rest belongs to 3 function items inside it that branch (handleCardLookup, handlePaypalLookup, a function literal at line 119). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Public/LookupLayout.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd6a12bbc376a541a8b1870e10dc65063e86755a24cf650784b13c7c79874a1"}},{"ruleId":"D1","level":"warning","message":{"text":"PasskeysSection.PasskeysSection (cyclomatic 33): PasskeysSection.PasskeysSection has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 52, 38, 82, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d18f0f2322d0a48c25b98abaa03e03e0f5af6cda6deae2201a0f4e8cff8b8c"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountStatusSection.AccountStatusSection (cyclomatic 33): AccountStatusSection.AccountStatusSection has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountStatusSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1174a8e50bdc5e7051a9c0d6f0e31670457dd1c4cffd99d6c188b772d9f436"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentStreamsController.create (cyclomatic 32): AgentStreamsController.create has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/agent_streams_controller.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"910bcd47816744c9bdd12743b730f113027166c98a98a84dd709f5e67a05f499"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutPresenter.subscription_manager_props (cyclomatic 32): CheckoutPresenter.subscription_manager_props has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout_presenter.rb"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9907b64f891e45337f6389d6cd7cda00d0422e4329adff56e9681fa72f7e3a90"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfirmService.charge_setup_confirmed_purchases_locked! (cyclomatic 32): ConfirmService.charge_setup_confirmed_purchases_locked! has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/confirm_service.rb"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ca430c7852db316b5c57f455fc5fa4332b7447d3506a356c18afd3c8b42fe4"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfirmService.perform (cyclomatic 32): ConfirmService.perform has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/confirm_service.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"850f3c2952722c5a8e1c8f430e3230fb7d415379fbc94114bd485c8dd0f06c7f"}},{"ruleId":"D1","level":"warning","message":{"text":"payment.loadSurcharges (cyclomatic 32): payment.loadSurcharges has cyclomatic complexity 32 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"95160471e60d052423f1470268960af7fc06307c224b1eb9f358071770514287"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareYourLaunchCard.ChannelComposer (cyclomatic 32): ShareYourLaunchCard.ChannelComposer has cyclomatic complexity 32 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66a02c5a7bee1212b6660869f8a6d0d801f0afae3154004fb8c9c4bf3a8c5ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Edit.BundlesContentEdit (cyclomatic 32): Edit.BundlesContentEdit has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 12 of the 32 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 77, a function literal at line 100, loadMore, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Content/Edit.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c959704af3aa19de6c579795983cb1a3d3bdbe1866cd445541bb9927da2703"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeChargeProcessor.debit_stripe_account_for_refund_fee (cyclomatic 31): StripeChargeProcessor.debit_stripe_account_for_refund_fee has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c9e2b94e7481fce69d5d02a403d8472ca65591fe6ff8a1b3b6553b25eb6c78"}},{"ruleId":"D1","level":"warning","message":{"text":"StripePayoutProcessor.perform_payment (cyclomatic 31): StripePayoutProcessor.perform_payment has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ed1e99d3734763512234a8b46b304b4079106e52c3508fc6cac749109d821a"}},{"ruleId":"D1","level":"warning","message":{"text":"Link.cart_item (cyclomatic 31): Link.cart_item has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b82adbfebb439a52b171bbcfd82dc69171a01186a8b500de6fceea6b4e376eb"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductPresenter.edit_props (cyclomatic 31): ProductPresenter.edit_props has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/product_presenter.rb"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"429aef64541f5de784aa371c9dfed841c6a37399f36a7c295494892d8d318a52"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdaterService.validate_indian_card_mandate! (cyclomatic 31): UpdaterService.validate_indian_card_mandate! has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7577635fa2ce775036be2024917c93b9727ba9a79ba1cdba40e0b3250a905a25"}},{"ruleId":"D1","level":"warning","message":{"text":"SendWorkflowInstallmentWorker.recipient_matches_current_audience? (cyclomatic 31): SendWorkflowInstallmentWorker.recipient_matches_current_audience? has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_installment_worker.rb"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"842bb442d221d75d1956ea6248319403bebb4a5b639059d9242e5b1f6dd15b85"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ProductTab (cyclomatic 31): index.ProductTab has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/index.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"675adebb0b23481f22695b83b94106852d6ed9a007512398565c4577f6405afa"}},{"ruleId":"D1","level":"warning","message":{"text":"RichTextEditor.useRichTextEditor (cyclomatic 31): RichTextEditor.useRichTextEditor has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 12 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 361, walk, a function literal at line 449, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d572f811aa555d76f32ef4738d3278a096d39e3aec554a873c5b041181b53c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEmails.WorkflowEmails (cyclomatic 31): WorkflowEmails.WorkflowEmails has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 153, updateEmail, a function literal at line 309, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd87c6ab61c5f594885d4abaa68cbbea3aebb3b14f7c22c2760cea9a39139a4"}},{"ruleId":"D1","level":"warning","message":{"text":"PaypalMerchantAccountManager.update_merchant_account (cyclomatic 30): PaypalMerchantAccountManager.update_merchant_account has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/paypal/paypal_merchant_account_manager.rb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"292628f5dcf5e682cfc9ce7fd4dc242fefda14d7b9c7be82859a00cf2b57a720"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeBeneficialOwnersManager.validate_required_fields! (cyclomatic 30): StripeBeneficialOwnersManager.validate_required_fields! has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0d43f6d7dd65d37adbcb6a24dabf8807579b3d050952bf1afda5622f79de5c"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentMessageStreamsController.create (cyclomatic 30): AgentMessageStreamsController.create has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_message_streams_controller.rb"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a381094baf48a5dcd97627622325611827ae34af5ea4ec7e133c05f3a93315"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomerSurchargeController.calculate_all (cyclomatic 30): CustomerSurchargeController.calculate_all has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/customer_surcharge_controller.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3668ae73290c2ee70c01c5062e0a00bb359e3ec42dd77bcc90624d79db412bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduledPayout.execute! (cyclomatic 30): ScheduledPayout.execute! has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/scheduled_payout.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"887b62630610f90af654af5c901aa58bbcec4077f952f9943deaa22a168234fd"}},{"ruleId":"D1","level":"warning","message":{"text":"StoreAgentObjectFormatter.from_response (cyclomatic 30): StoreAgentObjectFormatter.from_response has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_object_formatter.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bf70bde7003b9e165beeff13d7ff6e3573519265aca6468ada88458f7fc6e1"}},{"ruleId":"D1","level":"warning","message":{"text":"BuyerCurrencyQuote.canonical_components_hint (cyclomatic 30): BuyerCurrencyQuote.canonical_components_hint has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe0007a3d0c8cca0f2d44b5dc023183d1459924d8f8892efbaab319446a2261"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentForm.PaymentMethodsSection (cyclomatic 30): PaymentForm.PaymentMethodsSection has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db56014188269ee5e3d83c5b241464402cd6c9c8c35eaa488eb947a036cdc62"}},{"ruleId":"D1","level":"warning","message":{"text":"FormPage.FormPage (cyclomatic 30): FormPage.FormPage has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 6 of the 30 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 223, a function literal at line 143, a function literal at line 124, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/FormPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1b1785ab94e76fad80a0d15a849f8375ec9d44d050edaf89a739d39e676e15"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.AffiliatesIndex (cyclomatic 30): Index.AffiliatesIndex has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 386, a function literal at line 228, a function literal at line 225, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Index.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd51edc40c2216e4c5a1f576cd1c856aaf2d70b56374d1e36afd552bd9b1d3a"}},{"ruleId":"D1","level":"warning","message":{"text":"WithFiltering.add_and_validate_filters (cyclomatic 29): WithFiltering.add_and_validate_filters has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/with_filtering.rb"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e678288a57a38d150083a5b1fa211977842b98f5714f49849f8cee86dff4ec2f"}},{"ruleId":"D1","level":"warning","message":{"text":"Subscription.update_current_plan! (cyclomatic 29): Subscription.update_current_plan! has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27b6d341aa5e4a9058b0121313886955861a4c4c0a0ebe4ea41221225dd7607"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminSearchService.search_purchases (cyclomatic 29): AdminSearchService.search_purchases has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/admin_search_service.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bbea34fb788203b831b76ca16f85e8b09d3c611f1f746bd852adb6e6c89cd7"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateUserComplianceInfo.process_locked (cyclomatic 29): UpdateUserComplianceInfo.process_locked has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/update_user_compliance_info.rb"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3095195aacc00cd738192eaf1864c521d1f0656a49c551bba3f0cef0067601e4"}},{"ruleId":"D1","level":"warning","message":{"text":"Layout.BundleEditLayout (cyclomatic 29): Layout.BundleEditLayout has cyclomatic complexity 29 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/BundleEdit/Layout.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84032fdc9ace9a29fd77a5794a8b26fc151c28f32bbe926855bafebc150693e"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.streamAgentMessage (cyclomatic 29): agent.streamAgentMessage has cyclomatic complexity 29 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 14 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/agent.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fa6fe79d0c04640f64262aa4db618c620e096e368e33c2f75febbc21b93763"}},{"ruleId":"D1","level":"warning","message":{"text":"PingNotification.payload_for_ping_notification (cyclomatic 28): PingNotification.payload_for_ping_notification has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/ping_notification.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a05b7bed9554dfdccc66cbbe414e9cb80a2d8a1b5e7e6ce296f1e5372e12e1"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdaterService.charge_user! (cyclomatic 28): UpdaterService.charge_user! has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb2884b4d07579b25fc1d2a0fd8a97b7c6c8933111d779cb730ecfeb7435506"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleWorkflowInstallmentJob.perform (cyclomatic 28): ScheduleWorkflowInstallmentJob.perform has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/schedule_workflow_installment_job.rb"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3f809ed0a59939b84ba13c872d798b2706228705e3619890a726d0228285c4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.CurrencyPicker (cyclomatic 28): index.CurrencyPicker has cyclomatic complexity 28 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a5c0e4a99c7596ff0caa5dad26734a0779c98e3e0552dd5359dcab5c940438"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageList.ChatMessageList (cyclomatic 28): ChatMessageList.ChatMessageList has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 104, 47, 167, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessageList.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0568ea217d3721d8321f05f7fb63fb138068c1a4a4e36618e8775b8f56e440b"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.PiracyReportsShow (cyclomatic 28): Show.PiracyReportsShow has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/PiracyReports/Show.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d823e3248591b35b94254d94da59ed147b82f2ae29dccc1c58da0279e14c6bc1"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeMerchantAccountManager.update_person (cyclomatic 27): StripeMerchantAccountManager.update_person has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d4a1f7461b94523f1cd207789e37c72208f9593fb4bc30f88cd9603e0e6d4d"}},{"ruleId":"D1","level":"warning","message":{"text":"LinksController.search (cyclomatic 27): LinksController.search has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c830102f6c7e9c48678b2c844565f61f2cdb0135cff7da4f737a15a18fc767"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileController.update (cyclomatic 27): ProfileController.update has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/settings/profile_controller.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"614c8a47d10aedf112ab41348a03ed63564622225c8298e2e55ecef5506bb9c5"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.later_charge_presentment_processor_args (cyclomatic 27): Purchase.later_charge_presentment_processor_args has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":5077}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bad0e0f66702bd82dc2643d39c2e9ffe0c3964c2c8d2e506006e6b2e3b2a0f"}},{"ruleId":"D1","level":"warning","message":{"text":"StoreAgentService.write_fields (cyclomatic 27): StoreAgentService.write_fields has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_service.rb"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc4ad511a1d3eb0ef0f7e5d6f1943dd64c7344300ac28050def2b92e2f1c3a8"}},{"ruleId":"D1","level":"warning","message":{"text":"BuyerCurrencyQuote.charge_quote_for (cyclomatic 27): BuyerCurrencyQuote.charge_quote_for has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6031145fe74b66a64e04fe012ab3c4faaab29e6000ed824762650333fd417d"}},{"ruleId":"D1","level":"warning","message":{"text":"SalesChart.SalesChart (cyclomatic 27): SalesChart.SalesChart has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 161, 192, 235, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/SalesChart.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64bdabc75d316b91fa6e2fe524e60d12b2b8f8c99202e825c0c079ae84ed5fc"}},{"ruleId":"D1","level":"warning","message":{"text":"UpsellsPage.UpsellsPage (cyclomatic 27): UpsellsPage.UpsellsPage has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 127, 215, 273, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69c8e9fd204c0de20624dcef08735982f59e81a8691feb21ed2bdb8122f27d5"}},{"ruleId":"D1","level":"warning","message":{"text":"UpsellsPage.Form::handleSubmit (cyclomatic 27): UpsellsPage.Form::handleSubmit has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (UpsellsPage.Form) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cd23717f6f5fcbb08f251a93ce595c37879ec595eb59e6d7e60e2d6a302dbd"}},{"ruleId":"D1","level":"warning","message":{"text":"FileList.MobileAppAudioFileRow (cyclomatic 27): FileList.MobileAppAudioFileRow has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6eb19ec7a779018f67204d6e481481123d9263bebc5e41c7eff86a83e21dea"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigurationSelector.CallDateAndTimeSelector (cyclomatic 27): ConfigurationSelector.CallDateAndTimeSelector has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 12 of the 27 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 456, getAvailableStartTimesByDate, a function literal at line 584, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"df33fc70a2f15a140aeadf14a97116f1714160fc55bdcb847f0d13e2e2bac668"}},{"ruleId":"D1","level":"warning","message":{"text":"CircleIntegrationEditor.CircleIntegrationEditor (cyclomatic 27): CircleIntegrationEditor.CircleIntegrationEditor has cyclomatic complexity 27 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CircleIntegrationEditor.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9385bbfaffd00e939fd9259dfb10cfc01fb03ed690be69351c2188c4279dfe0"}},{"ruleId":"D1","level":"warning","message":{"text":"New.LoginPage (cyclomatic 27): New.LoginPage has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 81, 148, 152). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Logins/New.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"202c906bdfd2636203ce20c6ccc3d32d76fbcd11e6e688aac22a5caa826346f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Read.PdfReader (cyclomatic 27): Read.PdfReader has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 273, a function literal at line 218, a function literal at line 292, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d46396e3185454bd957ce38929a473643d6a088851cda43be1f216a821e713"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductController.update (cyclomatic 26): ProductController.update has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/bundles/product_controller.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"31370eed79f2b2d9b01c0261eb3c2b5217684b41a110784d7a5a34e38e94914a"}},{"ruleId":"D1","level":"warning","message":{"text":"BalanceTransaction.find_or_create_balance (cyclomatic 26): BalanceTransaction.find_or_create_balance has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/balance_transaction.rb"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf6e0fbda7e4a1476992a585a6e3befdabe05aac3a2bf50cd4c392f0ab14ec6"}},{"ruleId":"D1","level":"warning","message":{"text":"ChargeEventsHandler.promote_confirmed_setup_intents_for_client_confirmed_charge! (cyclomatic 26): ChargeEventsHandler.promote_confirmed_setup_intents_for_client_confirmed_charge! has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/purchase/charge_events_handler.rb"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6372e148e5f1c3bfaade3753ff1d2b8040a44d6102aa434b1aabf8c686e19d24"}},{"ruleId":"D1","level":"warning","message":{"text":"Link.description_scrubber (cyclomatic 26): Link.description_scrubber has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cb317b5518b529a846098890ba369a68f3cc89c17b493f12e7a272355d4d6b"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.process_without_charging! (cyclomatic 26): Purchase.process_without_charging! has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":4730}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf08584c4ef2f3971c13916f048d9ac3586612e47b98fa3faa3fa350d81a724"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicClient.stream_messages (cyclomatic 26): AnthropicClient.stream_messages has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/anthropic_client.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47281c43137e26cfbbe88b421650642fa76955c41fe88c0cd34eefbb9d2479e"}},{"ruleId":"D1","level":"warning","message":{"text":"TriageUnlinkedStripeBankAccounts.classify (cyclomatic 26): TriageUnlinkedStripeBankAccounts.classify has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/triage_unlinked_stripe_bank_accounts.rb"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dc63128080965b59ae896777ab43a91a1705ad66c55dcfb4195113291df864"}},{"ruleId":"D1","level":"warning","message":{"text":"ChargeService.register_india_mandate_for_off_session_cart! (cyclomatic 26): ChargeService.register_india_mandate_for_off_session_cart! has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc76f28db241c67e8031cac414f78f01cf1fdb088c2df2d6e2196bd1d8084e1"}},{"ruleId":"D1","level":"warning","message":{"text":"ReassignByEmailService.perform (cyclomatic 26): ReassignByEmailService.perform has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/reassign_by_email_service.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e1e073d3e052ab1914aed21326eba3ddd3161574201ea917c98c3e734a8040"}},{"ruleId":"D1","level":"warning","message":{"text":"FileEmbedGroup.FileEmbedGroupNodeView (cyclomatic 26): FileEmbedGroup.FileEmbedGroupNodeView has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"de616f2cf45f53d34f308e0294bc574ba62bbb5d6b72c4a6da0ca7cba15563a7"}},{"ruleId":"D1","level":"warning","message":{"text":"product_edit.applyRichContentPageSaveResponse (cyclomatic 26): product_edit.applyRichContentPageSaveResponse has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_edit.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd77b56ef8aee21a36a3767819b53882fe9a655478121cd7f6fb6065e9a924c"}},{"ruleId":"D1","level":"warning","message":{"text":"prepareImageForUpload.prepareImageForUpload (cyclomatic 26): prepareImageForUpload.prepareImageForUpload has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/prepareImageForUpload.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d628abeb61ecdd107b4b11f619af50421fbe8c7cd290d623008d1e520a91429"}},{"ruleId":"D1","level":"warning","message":{"text":"AffiliatesController.process_affiliate_params (cyclomatic 25): AffiliatesController.process_affiliate_params has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/affiliates_controller.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"791eacf762855e679e5a1b0f55f54060131bc35e19d41e53cac70142d17a8e9b"}},{"ruleId":"D1","level":"warning","message":{"text":"PurchasesController.refund (cyclomatic 25): PurchasesController.refund has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/purchases_controller.rb"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9122feb12ce994f9b01ab51c3c1f66a9c81727559159a5b67b922ea01ce44c1a"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutController.update (cyclomatic 25): CheckoutController.update has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/checkout_controller.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7721b8ccd91b417e80e88e412d14e34f7b5cc3b9c4ac494a6941db921c400e"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.minimum_paid_price_cents (cyclomatic 25): Purchase.minimum_paid_price_cents has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"db63b9d184729a619b56a67a1d005ffb447d0ac8c35a0a64d6681400e81efe1b"}},{"ruleId":"D1","level":"warning","message":{"text":"PostSendgridApi.build_personalization_for_recipient (cyclomatic 25): PostSendgridApi.build_personalization_for_recipient has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_sendgrid_api.rb"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2dd64c0faaaa95f1a767c44729fb61e45de8a10828275da8c6e2746ab75861"}},{"ruleId":"D1","level":"warning","message":{"text":"ReconcileClientConfirmedChargeJob.promote_confirmed_setup_intents! (cyclomatic 25): ReconcileClientConfirmedChargeJob.promote_confirmed_setup_intents! has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/reconcile_client_confirmed_charge_job.rb"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08ada20b2b6d8a1cecbd4e8a6f1f7ecafb65b0c99b8593f6017c5e6c4949ccb"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductPreview.ProductPreview (cyclomatic 25): ProductPreview.ProductPreview has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductPreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73e58b55b2ef0cc64f10c670d61104753223ea43d467883047514a7982efd8d"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductEditPage.ProductEditPage::performSave (cyclomatic 25): ProductEditPage.ProductEditPage::performSave has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ProductEditPage.ProductEditPage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8bb62ea7d35cec3e652805059cbfb7617c38b06c7fa7cff52d22876155d376"}},{"ruleId":"D1","level":"warning","message":{"text":"Edit.AffiliatesEdit (cyclomatic 25): Edit.AffiliatesEdit has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 8 function items inside it that branch (handleSubmit, a function literal at line 119, a function literal at line 51, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Edit.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16e1b2fa66cd616d9db4482ed1664198c1e06cdc7376eba06abe522a89d915f"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.CheckoutIndexPage (cyclomatic 25): Show.CheckoutIndexPage has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Show.CheckoutIndexPage::pay) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bebdaacfc542db8581de01a3ae6a14efa97634fb9b55d5dd938e5e808e5dd7d"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.PasswordPage (cyclomatic 25): Show.PasswordPage has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Password/Show.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e0c6e01cc900725b33b105cdd92e997a781e832f1c2ffea07310a443c79cfa"}},{"ruleId":"D1","level":"warning","message":{"text":"ContactingCreatorMailer.notify (cyclomatic 24): ContactingCreatorMailer.notify has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/contacting_creator_mailer.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"309527bb99e05af3fcd78c1c3a8c0473335b335402506a67816e565d94844f72"}},{"ruleId":"D1","level":"warning","message":{"text":"Subscription.resume_held_indian_card_mandate! (cyclomatic 24): Subscription.resume_held_indian_card_mandate! has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"696aa6fcfa21f6165eef0d2cc37b65103609eae07ef1dd3331b11bcf3757fdf3"}},{"ruleId":"D1","level":"warning","message":{"text":"Subscription.indian_card_mandate_terms (cyclomatic 24): Subscription.indian_card_mandate_terms has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"098388fda755020cbcde66623b7b8340ca6cff874836e833c2c9a00777ca6b10"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparePaymentIntentService.create_unconfirmed_intent (cyclomatic 24): PreparePaymentIntentService.create_unconfirmed_intent has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/prepare_payment_intent_service.rb"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ef76f47f433ff504d0ec1578203fe10768f925231aaf520790ea90f86d6a16"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateProductFilesArchiveWorker.build_archive (cyclomatic 24): UpdateProductFilesArchiveWorker.build_archive has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/update_product_files_archive_worker.rb"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea652afeb0f591c9a846e2b52144582e5a2e3b41fc22b345ce05d20ead865095"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.MainPage (cyclomatic 24): Show.MainPage has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"509b544f2ab0013e9c4a7e59b9399dc3bb792427457e492705154fed5e61e68c"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.TwoFactorAuthentication (cyclomatic 24): Show.TwoFactorAuthentication has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/TwoFactorAuthentication/Show.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7c0531d9174ae8757a229a93ee33f3b1f811e3382fbdaaba108be17dbebf41"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeChargeProcessor.debit_stripe_account_for_australia_backtaxes (cyclomatic 23): StripeChargeProcessor.debit_stripe_account_for_australia_backtaxes has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17a4b37aa711c126e03173276a8f827e6084c44777751c7a5585fbbfdb8437a"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchProducts.normalize_search_param_values! (cyclomatic 23): SearchProducts.normalize_search_param_values! has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/search_products.rb"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e3f5b29c71f231125f745ccfc1babae2d986bfde04d7460af13ddc53b32981"}},{"ruleId":"D1","level":"warning","message":{"text":"CreditCard.create_from_client_confirmed_intent! (cyclomatic 23): CreditCard.create_from_client_confirmed_intent! has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/credit_card.rb"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b1cfaa637d46f0ac4df92b9d605de2eb6ceed24894d3140976a23fdcb18150"}},{"ruleId":"D1","level":"warning","message":{"text":"Installment.download_url (cyclomatic 23): Installment.download_url has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2e32f30e158fa18c74b7a81a800105fa7df5bc215f30250c5f6e9f88f5afcf"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.refund_gumroad_taxes! (cyclomatic 23): Purchase.refund_gumroad_taxes! has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/refundable.rb"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c2f6be94f6e6ebd8f6f9a577a827c02c3e702b0c992f1954405aed55052387"}},{"ruleId":"D1","level":"warning","message":{"text":"Posts.visible_posts_for (cyclomatic 23): Posts.visible_posts_for has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/user/posts.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a72ed7da88eec99bed3f619ab89789192e919c244bcb22292de31e90b54ea8"}},{"ruleId":"D1","level":"warning","message":{"text":"BuyerCurrencyEligibility.direct_listed_line_items_eligible? (cyclomatic 23): BuyerCurrencyEligibility.direct_listed_line_items_eligible? has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_eligibility.rb"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9c858d13bdc150a9cdcb8afb0d72af6d5ff41f940c7cd3058789546e6ea7af"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassifierStrategy.perform (cyclomatic 23): ClassifierStrategy.perform has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/strategies/classifier_strategy.rb"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc78a6be8b41d0ae350c11b2782b040f251e06094e859abe221d244ab2f7a922"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChat.AgentChat::send (cyclomatic 23): AgentChat.AgentChat::send has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AgentChat.AgentChat) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a68db77b9401d75961f92d9de472986194637d9fdf89ba2a0cce120a4fe66a"}},{"ruleId":"D1","level":"warning","message":{"text":"payment.validatePaymentMethodIndependentFields (cyclomatic 23): payment.validatePaymentMethodIndependentFields has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"121cdda9b61ac458c0283bf51e9179ec19819a7a6d1e74ccdb8a5eef48142232"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessage.ChatMessage (cyclomatic 23): ChatMessage.ChatMessage has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessage.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e0f4e91b224798dce6fee1220aabaa6292097c9922675f6cc29de232c0ae30"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailForm.EmailForm::validate (cyclomatic 23): EmailForm.EmailForm::validate has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (EmailForm.EmailForm) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c99d8ca5d69404381a610585c76ad18df58c285912cb2cd9defb1629123837"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionsPopover.ActionsPopover (cyclomatic 23): ActionsPopover.ActionsPopover has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/ActionsPopover.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9969da14e456c986957e033fbb2aa2889c484a497c1bb25e5891f5bb70d79e52"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewVideoRecorderClientOnly.ReviewVideoRecorderClientOnly (cyclomatic 23): ReviewVideoRecorderClientOnly.ReviewVideoRecorderClientOnly has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 8 function items inside it that branch (renderUiState, a function literal at line 210, a function literal at line 223, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b865f14c1b02c9fdeb979a5a34be5fd7f50094eaa2578babcd8ec8eb15693332"}},{"ruleId":"D1","level":"warning","message":{"text":"RichTextEditor.RichTextEditorToolbar (cyclomatic 23): RichTextEditor.RichTextEditorToolbar has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"041fae60770d983c3752bd62054ecfaeda47a3c2dc306a2d16967e3badbe0c3d"}},{"ruleId":"D1","level":"warning","message":{"text":"Posts.PostsNodeView (cyclomatic 23): Posts.PostsNodeView has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Posts.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98d898bc72c79e6619c35546ebcb1a2b3ef5a898c27e9f0db31c5b44aad8d7f"}},{"ruleId":"D1","level":"warning","message":{"text":"Edit.BundlesProductEdit (cyclomatic 23): Edit.BundlesProductEdit has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Product/Edit.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac70dbc8933b9d8d65f7f0484a980845df2d9967b0caa909eac0414dd6e2c78"}},{"ruleId":"D1","level":"warning","message":{"text":"AsJson.as_json_for_api (cyclomatic 22): AsJson.as_json_for_api has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/product/as_json.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b54578ae4ec1895df5e84430646d02f9b30848ec76ea442b5595a6823ea395"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.json_data_for_mobile (cyclomatic 22): Purchase.json_data_for_mobile has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d605e89337ef3399cde53150c793b330ee1c1f27a598512af74f2e0a7ae064a"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.indian_card_charge_intent_matches_subscription_terms? (cyclomatic 22): Purchase.indian_card_charge_intent_matches_subscription_terms? has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":4024}}}],"partialFingerprints":{"codehealthFindingId/v1":"a956f63c7fb73fe56361825015ef1e42033db3e3f707b68d4e9382c8ada5ebb0"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.calculate_taxes (cyclomatic 22): Purchase.calculate_taxes has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":5568}}}],"partialFingerprints":{"codehealthFindingId/v1":"486ba531aac6753415cfcd8a562a3a0cd4c7caded6b4fbf568f4b4e2f48b27fc"}},{"ruleId":"D1","level":"warning","message":{"text":"Subscription.update_renewal_for_indian_card_mandate! (cyclomatic 22): Subscription.update_renewal_for_indian_card_mandate! has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7880bf476435303b8070c516bf3f0b014bd1cd5d54776d0e043024a69d17e816"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductProps.props (cyclomatic 22): ProductProps.props has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/product_presenter/product_props.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"73247101cc8cf5fcf255a6a449e214c146a4f0661722872052754961dbd2e111"}},{"ruleId":"D1","level":"warning","message":{"text":"StoreAgentService.respond_streaming (cyclomatic 22): StoreAgentService.respond_streaming has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_service.rb"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bebd45fa61c35e467c1793ed750a388197cb7565b4b32753b0083a2e5c63d7"}},{"ruleId":"D1","level":"warning","message":{"text":"BackfillLegacyFeatureAnnouncementPreferences.process (cyclomatic 22): BackfillLegacyFeatureAnnouncementPreferences.process has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_legacy_feature_announcement_preferences.rb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5184b0987d8e41240a878aaeb593b6d0222a33447369f5eb86e7722e27fdf6e3"}},{"ruleId":"D1","level":"warning","message":{"text":"BackfillSelfAffiliateDroppedProceeds.check_eligibility (cyclomatic 22): BackfillSelfAffiliateDroppedProceeds.check_eligibility has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_self_affiliate_dropped_proceeds.rb"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b481a270303bcaa0651803bd8ca878f1444e713164ae52cb5f02c0cc541951"}},{"ruleId":"D1","level":"warning","message":{"text":"ChargeService.setup_for_future_charges_without_charging (cyclomatic 22): ChargeService.setup_for_future_charges_without_charging has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf3c2834130757c18ce58e838860b0b2c9ef719f6ddcc0e30e9a35ab648abc2"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateUsStateMonthlySalesReportsJob.perform (cyclomatic 22): CreateUsStateMonthlySalesReportsJob.perform has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/create_us_state_monthly_sales_reports_job.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4dc43c633a595a68613e97c5bd83671a016865e43a70c6552f133094e8653f"}},{"ruleId":"D1","level":"warning","message":{"text":"SendWorkflowEmailsToPastCanceledMembersJob.perform (cyclomatic 22): SendWorkflowEmailsToPastCanceledMembersJob.perform has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_emails_to_past_canceled_members_job.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0868b4265e1f381008939d1cf485d43ece51a42f6f5d444181f12ec594aa4072"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChat.ProposedActionCard (cyclomatic 22): AgentChat.ProposedActionCard has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c66a7bd025630398df83878dcccb8c5f88ffcaaed2249a63a9f45093ba215de"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentForm.PaymentForm (cyclomatic 22): PaymentForm.PaymentForm has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2053, 2035, 2065). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f642b3ce78d75207ad566871b3c0954e52001af84c190189bb528cd1cbf0d4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.TipSelector (cyclomatic 22): index.TipSelector has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"a551ce6bfdad5e6730a8798057a18b0a2be698b1c26e79d25795f163caaef9d0"}},{"ruleId":"D1","level":"warning","message":{"text":"PostCommentsSection.CommentContainer (cyclomatic 22): PostCommentsSection.CommentContainer has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa145cc2eec7452a3604ac210eb930b9ffd0ed28d684ea2da05dc1c7f300668"}},{"ruleId":"D1","level":"warning","message":{"text":"Layout.CtaBar (cyclomatic 22): Layout.CtaBar has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Layout.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7389e9907e9154f03cd83af157499a512723adcda75b77d270504cffef75b46f"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.UtmLinksIndex (cyclomatic 22): Index.UtmLinksIndex has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 109, 143, 196, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"31727492ac84ad87737f9be2a656cabe3f1f54317d0612db87835436d48e4f8d"}},{"ruleId":"D1","level":"warning","message":{"text":"StripePayoutProcessor.handle_stripe_event (cyclomatic 21): StripePayoutProcessor.handle_stripe_event has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"013e47edd64af6311c6f9d9ad41913af1689d15b958266a1716552f46ccc679d"}},{"ruleId":"D1","level":"warning","message":{"text":"SalesController.update (cyclomatic 21): SalesController.update has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/sales_controller.rb"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea39463b387db5e403325772e81b7a5b8962b7d9ee3bfffa6d3e7f5c81736c9"}},{"ruleId":"D1","level":"warning","message":{"text":"LinksController.update_sections (cyclomatic 21): LinksController.update_sections has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc806bfd1808efa68451906db98b404a06eab86b580d56b5e71f98df606666ae"}},{"ruleId":"D1","level":"warning","message":{"text":"LinksController.sanitized_price_check_overrides (cyclomatic 21): LinksController.sanitized_price_check_overrides 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":"app/controllers/links_controller.rb"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"884ba5749dc8f3894a09bdbbb04e5f4efde144ba8df28f8c2efb61c59323337e"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.not_double_charged (cyclomatic 21): Purchase.not_double_charged has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":6001}}}],"partialFingerprints":{"codehealthFindingId/v1":"0591cf51ac913f74a5e1296ef5f7d4d655786d9644403c5e36960538c77249c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Subscription.unsubscribe_and_fail! (cyclomatic 21): Subscription.unsubscribe_and_fail! 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":"app/models/subscription.rb"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9bffb52e7313384a1844b9461959617a65d6e1fe5bb4812020362a7545b9a9"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailAttachments.filesReducer (cyclomatic 21): EmailAttachments.filesReducer has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 10 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailAttachments.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4e3dfa49466965a33d776c05d9b0dd420986e29283f14879ac568e82f0f649"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigurationSelector.applySelection (cyclomatic 21): ConfigurationSelector.applySelection has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"09883cb825a00e5df9dc0b934325f1574805e143f610ef879c3231f1fc2f0a79"}},{"ruleId":"D1","level":"warning","message":{"text":"PurchaseButton.PurchaseButton (cyclomatic 21): PurchaseButton.PurchaseButton has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (validate, a function literal at line 73). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/PurchaseButton.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5607e637b57b95e2d38eff4ae827a7a819728a15e1611998b9ddf3b8cbd891e9"}},{"ruleId":"D1","level":"warning","message":{"text":"selectionDiscounts.useSelectionDiscounts (cyclomatic 21): selectionDiscounts.useSelectionDiscounts has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/selectionDiscounts.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"643fb824d9a0c98fd875551de564645884b66423d131d0c591dd28c84a4d04b4"}},{"ruleId":"D1","level":"warning","message":{"text":"CartRecoveryCard.CartRecoveryCard (cyclomatic 21): CartRecoveryCard.CartRecoveryCard has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/CartRecoveryCard.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e66fbfaafe14926511d33103e912351b0058899259c850f43c001978a38137a"}},{"ruleId":"D1","level":"warning","message":{"text":"PublicFileEmbed.NodeView (cyclomatic 21): PublicFileEmbed.NodeView has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/PublicFileEmbed.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"307fac747986cbf5caeb94c15d04cea5744b18ade6ab92a754cae13f5e312280"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.Churn (cyclomatic 21): Show.Churn has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 222, 250, 188, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Churn/Show.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d74b79878480647e56e398fe35ef839a0ac9b52f50b3134173830ce271a398"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.HelpCenterArticle (cyclomatic 21): Show.HelpCenterArticle has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 152, 210, 237, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/HelpCenter/Articles/Show.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26640dceadd6d43086adf3b2144b95e33a78a3103400cabec82efec0867d9f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.SocialConnectionsPage (cyclomatic 21): Show.SocialConnectionsPage has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/SocialConnections/Show.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed60e42e302675dba4ff67120d1b0777595f3ee1733471e51ff69fc2af4d649"}},{"ruleId":"D1","level":"warning","message":{"text":"Show.TeamMembersSection (cyclomatic 21): Show.TeamMembersSection has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 4 function items inside it that branch (handleOptionChange, a function literal at line 306, a function literal at line 278, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Team/Show.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6f838d5bd4cc5236f976cf127b386a88a60d22cef7ac31f18558f043170241"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeChargeProcessor.refund! (cyclomatic 20): StripeChargeProcessor.refund! has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84e596fb662e736e7a9a7fd422c914001a63b074bdf1bb3212b3b9ba48cd389"}},{"ruleId":"D1","level":"warning","message":{"text":"PaypalPayoutProcessor.topup_amount_in_transit (cyclomatic 20): PaypalPayoutProcessor.topup_amount_in_transit 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":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7b13cb04f962767e2007972f7f402be6899171cfb342fab35608a9a41da01f"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCustomHtmlPreviewsController.resulting_custom_html (cyclomatic 20): AgentCustomHtmlPreviewsController.resulting_custom_html has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_custom_html_previews_controller.rb"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f95ff66bbce1baa2a5bd8b9fdcfae9a408baae572f28ad48c1481a64178cb6"}},{"ruleId":"D1","level":"warning","message":{"text":"Risk.add_user_comment (cyclomatic 20): Risk.add_user_comment has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/user/risk.rb"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11d01106b980aa42839d628106dd40706be95c49e2df62b1bb84809b6e3f358"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsPresenter.billing_props (cyclomatic 20): SettingsPresenter.billing_props has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/settings_presenter.rb"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"474035f5a0318119712eb4ce6bb2b8141fb0e61491661f70348c0745f49f1141"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlRedirectPresenter.download_page_layout_props (cyclomatic 20): UrlRedirectPresenter.download_page_layout_props has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/url_redirect_presenter.rb"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ffc7552a39207bde1cb8bd4dd8a8d698ca105e77cc23e02c19713f6d622b8e"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicClient.parse_buffered_fallback (cyclomatic 20): AnthropicClient.parse_buffered_fallback has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/anthropic_client.rb"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edff7019f344a9938d1123ba4ef996122cb43a2dfdf0d2c170be5adfcf655e8"}},{"ruleId":"D1","level":"warning","message":{"text":"ManageService.process (cyclomatic 20): ManageService.process has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/workflow/manage_service.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"412ecab2e371b3186e34d9f135545392cbc0aaaaf01f4af19452349920eb1aad"}},{"ruleId":"D1","level":"warning","message":{"text":"SubmitPaypalDisputeEvidenceJob.perform (cyclomatic 20): SubmitPaypalDisputeEvidenceJob.perform 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":"app/sidekiq/submit_paypal_dispute_evidence_job.rb"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d220e9f1cd8386b52d7097405d26e774e069f247ced156a32e5dbf6ac0db3d"}},{"ruleId":"D1","level":"warning","message":{"text":"ComboBox.ComboBox (cyclomatic 20): ComboBox.ComboBox has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 68, toggle, moveCursor, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ComboBox.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1695568c480377d4a9b7f62ad087eb4b6d2aaed5bc6b5323a88723f47f22057b"}},{"ruleId":"D1","level":"warning","message":{"text":"PostCommentsSection.PostCommentsSection (cyclomatic 20): PostCommentsSection.PostCommentsSection has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06b2e5c5bc1d34750746f74865ffd645cf19d1a401d37e91abb5220fb062d8c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEmails.EmailRow (cyclomatic 20): WorkflowEmails.EmailRow has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b93266808d9704a403a37c8dbab8771ed0129823942ab0ae32d4cdc73465135"}},{"ruleId":"D1","level":"warning","message":{"text":"manual-chunks.manualChunks (cyclomatic 20): manual-chunks.manualChunks has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/vite/manual-chunks.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb7d37d88de2ea1f2f4a15d38670c6b9e84bb5c5fe210208e861308047eb58f"}},{"ruleId":"D1","level":"warning","message":{"text":"PaypalPayoutProcessor.is_user_payable (cyclomatic 19): PaypalPayoutProcessor.is_user_payable has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"565a5df3fc4fa008acfbc02bae8b1826b461d06ab18123c9d178652466d582c9"}},{"ruleId":"D1","level":"warning","message":{"text":"SalesTaxCalculator.calculate_with_lookup_table (cyclomatic 19): SalesTaxCalculator.calculate_with_lookup_table has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/sales_tax/sales_tax_calculator.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecb5ad1aca329c0beebaee040e1ff201e17abfbf78f05ceda22086aeafa1e2c"}},{"ruleId":"D1","level":"warning","message":{"text":"SalesController.index (cyclomatic 19): SalesController.index has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/sales_controller.rb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"beccd864dc7f7a195901f759ea8fa5de8881857ebd15ac52e65b40f7cf54c5d9"}},{"ruleId":"D1","level":"warning","message":{"text":"PayoutsHelper.payout_method_details (cyclomatic 19): PayoutsHelper.payout_method_details has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/payouts_helper.rb"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7672b73de523a04c5960f721a95fbf77242723380cd6c1379003122ad28265fa"}},{"ruleId":"D1","level":"warning","message":{"text":"AbandonedCartProducts.abandoned_cart_products (cyclomatic 19): AbandonedCartProducts.abandoned_cart_products has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/workflow/abandoned_cart_products.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52ac9dec82138764deb805078f286091ab6119f6f7ccfcd85db1ca4acb22ba3"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.set_price_and_rate (cyclomatic 19): Purchase.set_price_and_rate has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7af3cdc28e4fab2b7c3939aec9fdf8826a7d9b70e7cd41e7ef689a66987139"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.mandate_options_for_stripe (cyclomatic 19): Purchase.mandate_options_for_stripe has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":4127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f53b6ceef2cd6845eb3158db6e09ef1e821e0f7f89db480d01838514f874f6b"}},{"ruleId":"D1","level":"warning","message":{"text":"Subscription.build_purchase (cyclomatic 19): Subscription.build_purchase has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"db42325aac52ddcffb05e92acaeeecd1ac3169b37a419e2fda707c6809a96554"}},{"ruleId":"D1","level":"warning","message":{"text":"Subscription.process_purchase! (cyclomatic 19): Subscription.process_purchase! has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"413365fef358d7ee5674f74c63ec930ea0904390b639a9773c3bf302eb2f3aea"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.reverse_excess_amount_from_stripe_transfer (cyclomatic 19): Purchase.reverse_excess_amount_from_stripe_transfer has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/refundable.rb"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"df42c86ee4ce5659dd957a53624ff8d14dc86b4e64a1741dcf59ddcde0d610a0"}},{"ruleId":"D1","level":"warning","message":{"text":"StripePaymentPresenter.client_confirm_props (cyclomatic 19): StripePaymentPresenter.client_confirm_props has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout/stripe_payment_presenter.rb"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83a93d204ae098568419255677c1bbcd4e1a9f08799ac61c22aafafd8dc6945"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileSectionsPresenter.section_props (cyclomatic 19): ProfileSectionsPresenter.section_props has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/profile_sections_presenter.rb"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"835c030fa20c875810d650a3e47c01e2fe9a0c3877fb50d1d4db9d053dde9777"}},{"ruleId":"D1","level":"warning","message":{"text":"BuyerCurrencyEligibility.method_forced_decision (cyclomatic 19): BuyerCurrencyEligibility.method_forced_decision has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_eligibility.rb"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb7041ee054e72a2ea0e20ac6734504051048fefa00416a0d3351caf173a90d"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentExtractor.self_contained_svg? (cyclomatic 19): ContentExtractor.self_contained_svg? has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/content_extractor.rb"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"798ffae38b5c829845107f85046667d540588e6d4d3737b9e0a36a22e5584cdd"}},{"ruleId":"D1","level":"warning","message":{"text":"Base.payout_data (cyclomatic 19): Base.payout_data has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/payouts/base.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d234760695ff5c446e070941df714fd9490cb34979b7d91f4b0ba69044dbb7"}},{"ruleId":"D1","level":"warning","message":{"text":"RepairCapitalDeduction.validate_records! (cyclomatic 19): RepairCapitalDeduction.validate_records! has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/repair_capital_deduction.rb"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aac0bd19ec1a60057e44a361a7c9bb0e8db112743fc074e43b7939241492e2"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparePaymentIntentService.recurring_upi_registration_shape_value (cyclomatic 19): PreparePaymentIntentService.recurring_upi_registration_shape_value has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/prepare_payment_intent_service.rb"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec00807f9ad27a51ef75a018d17dd2b853e05ad96931e3676b1acf1a38bce9ab"}},{"ruleId":"D1","level":"warning","message":{"text":"PostBlastSending.partition_members_that_left_the_audience (cyclomatic 19): PostBlastSending.partition_members_that_left_the_audience has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/concerns/post_blast_sending.rb"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f021aba8b9391b5463976bf07ba9efce6d1e93059baf1b55d10eed0233b90e"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleMembershipPriceUpdatesJob.perform (cyclomatic 19): ScheduleMembershipPriceUpdatesJob.perform has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/schedule_membership_price_updates_job.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f0e179ea6fe75a319a0014c37caa0c5e90b8557ec4214031a8571c9c5bd468"}},{"ruleId":"D1","level":"warning","message":{"text":"cartState.getDiscountedPriceForItem (cyclomatic 19): cartState.getDiscountedPriceForItem has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/cartState.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ec8b87f3de2ea3bf64bf0567ac7039f82b839c9cd5d25298c700fafa6332c0"}},{"ruleId":"D1","level":"warning","message":{"text":"UpsellsPage.UpsellDrawer (cyclomatic 19): UpsellsPage.UpsellDrawer has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73858bc2cad375552e0246798621809a19078f3c5bca22326704aa81a8631bf"}},{"ruleId":"D1","level":"warning","message":{"text":"CardGrid.useSearchReducer (cyclomatic 19): CardGrid.useSearchReducer has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 106, 75). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CardGrid.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2586a7ad263f158441e17424835662a77952bf4ebd97df2ca460492181df683"}},{"ruleId":"D1","level":"warning","message":{"text":"DescriptionEditor.DescriptionEditor (cyclomatic 19): DescriptionEditor.DescriptionEditor has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 168, 231, 273, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7ce9019d3543e96d14e42cf6984f24be441284638cee2e3014b3e445275fc2"}},{"ruleId":"D1","level":"warning","message":{"text":"UpsellSelectModal.UpsellSelectModal (cyclomatic 19): UpsellSelectModal.UpsellSelectModal has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 7 function items inside it that branch (fetchProducts, a function literal at line 156, selectProductOption, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UpsellSelectModal.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff9de444e95bcd0f8872fbd1fcc1d287d6ba1556986a9af6b8663061a41797f"}},{"ruleId":"D1","level":"warning","message":{"text":"product_save_contract.buildDeletionOperations (cyclomatic 19): product_save_contract.buildDeletionOperations has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_save_contract.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"33adf2f624f75df381ec70ba2c103213688b7d808db3888bd2f07518bb264881"}},{"ruleId":"D1","level":"warning","message":{"text":"UtmLinkTracking.track_utm_link_visit (cyclomatic 18): UtmLinkTracking.track_utm_link_visit has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/utm_link_tracking.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fb53520d64f56130f008b0e3fb7f46a7d41ea3ac63c36c5063fac5f60c644f"}},{"ruleId":"D1","level":"warning","message":{"text":"SubscriptionsController.check_can_manage (cyclomatic 18): SubscriptionsController.check_can_manage has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/subscriptions_controller.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7b3d280fa842168475faab86b9610f55e776e7fd26893ea8fc6e79c3ed54fd"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.fail_if_payment_intent_failed! (cyclomatic 18): Purchase.fail_if_payment_intent_failed! has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":2511}}}],"partialFingerprints":{"codehealthFindingId/v1":"689cd02185daef349093598a4f4d929faecf2eeb5459ed473c072a13c1c2e087"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.retrieve_indian_card_mandate (cyclomatic 18): Purchase.retrieve_indian_card_mandate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":3960}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f66f214bce434f8b16723a8c9d66a0ec0a1ec0bece0a289b79b04e243003a44"}},{"ruleId":"D1","level":"warning","message":{"text":"Risk.chargeback_payment_identity (cyclomatic 18): Risk.chargeback_payment_identity has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/risk.rb"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"215d22d26ac2b976d0dbe18a7724d03a6bd1897fc8948461c178911ac9e64010"}},{"ruleId":"D1","level":"warning","message":{"text":"BuyerCurrencyQuote.verify! (cyclomatic 18): BuyerCurrencyQuote.verify! has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"598460be2f013668d396356697e2db90c4bb0dadcb5251863bd2e808b3899ed5"}},{"ruleId":"D1","level":"warning","message":{"text":"ModerateRecordService.check (cyclomatic 18): ModerateRecordService.check has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/moderate_record_service.rb"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4ffe39d193b21782bd40bcc6b309a390d4091e17dabdce08c49e4c8547a351"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeCartsService.process (cyclomatic 18): MergeCartsService.process has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/merge_carts_service.rb"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6025fb558087fe6a5e7144c844334590acafb0bf32379fa556837126283c84"}},{"ruleId":"D1","level":"warning","message":{"text":"ChargeService.setup_intent_covers_mandate_options? (cyclomatic 18): ChargeService.setup_intent_covers_mandate_options? has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a55791388292e666e3fe6d64f0c7e6982b710a5c796a8a74c5c8ba7952eec9"}},{"ruleId":"D1","level":"warning","message":{"text":"OfferCodeRecoveryService.sanitize_retry_candidates (cyclomatic 18): OfferCodeRecoveryService.sanitize_retry_candidates has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/offer_code_recovery_service.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2ffc59fb451f0984ae8c98a507e1b1000a952cc3794f073320baa66ac624fa"}},{"ruleId":"D1","level":"warning","message":{"text":"VariantCategoryUpdaterService.perform (cyclomatic 18): VariantCategoryUpdaterService.perform has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/variant_category_updater_service.rb"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf4d60b916870e7808483f7c5d89d04cfd9e3f0aeb89ca0ef6ff1d0bddbc8c2"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutService.result (cyclomatic 18): CheckoutService.result has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/recommended_products/checkout_service.rb"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5010dd79e567fbcee4b8fb9498136091dfb4ba310edbfad32bb3422da3a3bf5a"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdaterService.validate_saved_indian_card_mandate! (cyclomatic 18): UpdaterService.validate_saved_indian_card_mandate! has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e72c4d36caead230fb10cdec8530eaa96df4ef023ffbd4038f31d26058470e0"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdatePayoutMethod.process (cyclomatic 18): UpdatePayoutMethod.process has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/update_payout_method.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"183d19eb4e87c7f7cd1269079c393a2a413303428c65a01938ceee30d4aa8e69"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckIndianCardMandateRegistrationJob.perform (cyclomatic 18): CheckIndianCardMandateRegistrationJob.perform has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/check_indian_card_mandate_registration_job.rb"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a7269db7b0a8eeac60bb56f2fe3b2c448ceec2761b8c94dfa1684ea27f0afa"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChat.AgentChat (cyclomatic 18): AgentChat.AgentChat has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AgentChat.AgentChat::send) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bc02f290276fd65466194f5a8e2782208465f85188baaacebd72ce37217a9a"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomerDetailPage.ColumnLayout (cyclomatic 18): CustomerDetailPage.ColumnLayout has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2386, 2363, 2371, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":2362}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1e554ee6769fdd3ede1c9f12398c4d97997be5f3632faebbe30b16ccafb4d3"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentElementInput.PaymentElementControllerInput (cyclomatic 18): PaymentElementInput.PaymentElementControllerInput has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 283, 265, 270). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentElementInput.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a6ef592b6ce0f8ea2c45c1cf5031483e5909b28d2c6a53a848f42737013cd8"}},{"ruleId":"D1","level":"warning","message":{"text":"FileList.VideoEmbedPreview (cyclomatic 18): FileList.VideoEmbedPreview has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 8 function items inside it that branch (startPlaying, a function literal at line 684, a function literal at line 696, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"e748c6b45d574c2de3f0083b37560c52cf6c341693c7c2b96062cbbe5f776809"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareSection.ShareSection (cyclomatic 18): ShareSection.ShareSection has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 45, a function literal at line 99, a function literal at line 120, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ShareSection.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"76402d598986a597927a009b555efb57f84d94c8f8ce81e8b63b9287700ed002"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributesEditor.AttributesEditor (cyclomatic 18): AttributesEditor.AttributesEditor has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 47, moveCustomAttribute, a function literal at line 105, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/AttributesEditor.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d451fca8bf991a2cd48821f46dade2a7aeda7706ae35156716fb4a05d456a745"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthenticatorSetup.AuthenticatorSetup (cyclomatic 18): AuthenticatorSetup.AuthenticatorSetup has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/AuthenticatorSetup.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6e3664df8d847a6ce9f7b1ddcefadb5775159adae0e4e6c5dad7b0ccd23147"}},{"ruleId":"D1","level":"warning","message":{"text":"TestimonialSelectModal.TestimonialSelectModal (cyclomatic 18): TestimonialSelectModal.TestimonialSelectModal has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TestimonialSelectModal.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe1c47decfb86e35106f4c840cf97b6c033d5cb7a21edf0ceb10b884dca8778"}},{"ruleId":"D1","level":"warning","message":{"text":"Link.LinkNodeView (cyclomatic 18): Link.LinkNodeView has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 8 function items inside it that branch (handleSave, a function literal at line 147, handleKeyPress, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Link.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb9300181f1cc9fe4171a3f85e5a2dbe8e5938192ea05bf83adc9d8dba77890"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Wishlist (cyclomatic 18): index.Wishlist has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Wishlist/index.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2e9e099ba54b95802dc9ac1762d9223e15181785b824746a52219ce0e59da6"}},{"ruleId":"D1","level":"warning","message":{"text":"google_analytics.trackProductEvent (cyclomatic 18): google_analytics.trackProductEvent has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/google_analytics.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"894172e2ba07c914faf4f595b7ccc30137b3f8fa49ae098dd539eb3a69858a0c"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.FollowersPage (cyclomatic 18): Index.FollowersPage has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Followers/Index.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c1ea7a418e030c235acf5491d8f90ee28e94e063fcd4ce8c2c23319b252493"}},{"ruleId":"D1","level":"warning","message":{"text":"Stream.Stream (cyclomatic 18): Stream.Stream has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 97, 160, 66, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Stream.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6471e4ee42ffaebf35c193fa034fb57f90b7583f0e572eae10ba523447b4b968"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeChargeProcessor.handle_stripe_capital_loan_event (cyclomatic 17): StripeChargeProcessor.handle_stripe_capital_loan_event has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3514c5adc1296dd9c8b8619100a9ec145fac191386dd3017ccc2de54eb72ef3"}},{"ruleId":"D1","level":"warning","message":{"text":"PaypalPayoutProcessor.search_payment_on_paypal (cyclomatic 17): PaypalPayoutProcessor.search_payment_on_paypal has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01ce16873882ea2b7540b1c323c965b1a3488927480affbc3b9144c118fab3a"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentController.create (cyclomatic 17): AgentController.create has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/agent_controller.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a97ba971d027c027202bcde87d512df48348240834aff2fd80420ce2af05641"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailsController.valid_write_params? (cyclomatic 17): EmailsController.valid_write_params? has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/workflows/emails_controller.rb"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"afce96d804caaf51c078abed2b5d205f6e3283421e33e0b3d6d3c7a758086b4a"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomersController.fetch_sales (cyclomatic 17): CustomersController.fetch_sales has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/customers_controller.rb"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9cfda6b592250e1d57aec30c616dd981955d9656c42b2f2f52d5425338dd4e"}},{"ruleId":"D1","level":"warning","message":{"text":"OrdersController.release_failed_client_confirmation (cyclomatic 17): OrdersController.release_failed_client_confirmation has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/orders_controller.rb"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e034ac90104f38377812701601abf787ca766491f33fe8270843ea9c77c002e1"}},{"ruleId":"D1","level":"warning","message":{"text":"OmniauthCallbacksController.failure (cyclomatic 17): OmniauthCallbacksController.failure has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/user/omniauth_callbacks_controller.rb"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1bd7fb1afbb9e9c024298f30a347030565f4eed79fd4bc584ed6c50184a851"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardNav.earned_items (cyclomatic 17): DashboardNav.earned_items has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/dashboard_nav.rb"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3482c027b9f2cc9a5486bd330f6437ecbe15d5ca70f7491e0ad900e550a9162a"}},{"ruleId":"D1","level":"warning","message":{"text":"Installment.audience_members_filter_params (cyclomatic 17): Installment.audience_members_filter_params has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"9210951df024b5f16404bd8fe37de5867163a5355dbc4eb029559f28014cd463"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.product_installments (cyclomatic 17): Purchase.product_installments has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":3189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f55660edc365a7eb7ecfa41c865a64a9cf486f7a11b51d2166f949bd673c9e"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.validate_offer_code (cyclomatic 17): Purchase.validate_offer_code has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":5716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ce1544472eeb23b1c88922b7293ec807f79cf91416cc87b4d24b39d1c7ec2a"}},{"ruleId":"D1","level":"warning","message":{"text":"Refund.collect_pending_fee_retention! (cyclomatic 17): Refund.collect_pending_fee_retention! has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/refund.rb"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f388680abf8d3533b0e25d4367ae795bef228372ed094fdf030cbcb47662ce5"}},{"ruleId":"D1","level":"warning","message":{"text":"UserComplianceInfo.has_completed_compliance_info? (cyclomatic 17): UserComplianceInfo.has_completed_compliance_info? has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user_compliance_info.rb"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb662c19c2fe6030d1ddb67d97ab569b009ab4974d3bdfc34b033689767937c7"}},{"ruleId":"D1","level":"warning","message":{"text":"StripePaymentPresenter.fallback_reason_for (cyclomatic 17): StripePaymentPresenter.fallback_reason_for has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout/stripe_payment_presenter.rb"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afa60ec8804f10ea9039e1e55ddf9463bce7176715d9fdfd52fbafd16c71218"}},{"ruleId":"D1","level":"warning","message":{"text":"StripePaymentPresenter.recurring_upi_registration_shape? (cyclomatic 17): StripePaymentPresenter.recurring_upi_registration_shape? has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout/stripe_payment_presenter.rb"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2041323717dc12d56cd3c34bc5ba8c14373f8adf4b886fcd314dd10aab3598"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlRedirectPresenter.map_file (cyclomatic 17): UrlRedirectPresenter.map_file has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/url_redirect_presenter.rb"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5befcab866b6e41314dd414b85578f5c3081bc504cc8776fc6bd26349e6d5b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"PageSanitizer.scrub_node (cyclomatic 17): PageSanitizer.scrub_node has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/page_sanitizer.rb"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b7b2c8bbdf91f7ed1e64420d81a9d1ab8aff58a2116eaf75363e1c5c969636"}},{"ruleId":"D1","level":"warning","message":{"text":"CreatePublicMediaService.process (cyclomatic 17): CreatePublicMediaService.process has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/create_public_media_service.rb"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01d2f60a87f53de6023282c382bd72b58deac31af9000c3914921decf663bb2"}},{"ruleId":"D1","level":"warning","message":{"text":"ReconcileNonUsRefundFees.process (cyclomatic 17): ReconcileNonUsRefundFees.process has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/reconcile_non_us_refund_fees.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"736b896b8f1ecb41afd52e292a9c49a94c94e0d749a9fbd3d283a5339f1b8759"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateService.handle_existing_subscription (cyclomatic 17): CreateService.handle_existing_subscription has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1306ad7f1a49b97dfa869943932b13339b40560c7a92d314399dff925e869acb"}},{"ruleId":"D1","level":"warning","message":{"text":"LaterChargePresentmentService.perform (cyclomatic 17): LaterChargePresentmentService.perform has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/later_charge_presentment_service.rb"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f55f6069474e4c463d00e8e0d2d6fb0ee17939e94a09ff3eef13425ab59ba8c"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoTopUpNegativeDestinationBalancesJob.valid_transfer_request? (cyclomatic 17): AutoTopUpNegativeDestinationBalancesJob.valid_transfer_request? has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/auto_top_up_negative_destination_balances_job.rb"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2271ee4bb84d3579de7f22a5be8f7e0a55895062df9e33736b0abfe678ab68f"}},{"ruleId":"D1","level":"warning","message":{"text":"FailAbandonedPurchaseWorker.perform (cyclomatic 17): FailAbandonedPurchaseWorker.perform has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/fail_abandoned_purchase_worker.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef5ece3624aaac8264403800fd2a943a63a984b447d484d38d9845ee0f7938b"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomFields.CustomField (cyclomatic 17): CustomFields.CustomField has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/CustomFields.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c7013f242190977d10f413460cf3639e5c66a36c6e83bb555f270a810c130b"}},{"ruleId":"D1","level":"warning","message":{"text":"buyerCurrencyDisplay.getCheckoutListedCurrencyDisplay (cyclomatic 17): buyerCurrencyDisplay.getCheckoutListedCurrencyDisplay has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/buyerCurrencyDisplay.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"770cc4bfe54dc0b0e4619ff5307d27e40997f122550b3686759e388b24ff6996"}},{"ruleId":"D1","level":"warning","message":{"text":"payment.createReducer (cyclomatic 17): payment.createReducer has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 2094, 2012, 2115, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d55c81e38d2c25ede4ea7bdab90b33ec5b57f9cf249fb1e954b63e250b656d7"}},{"ruleId":"D1","level":"warning","message":{"text":"DateRangePicker.DateRangePicker (cyclomatic 17): DateRangePicker.DateRangePicker 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 5 function literals inside it that branch (lines 155, 105, 133, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DateRangePicker.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b91020bdf2bdc8817c3c09ea8a0b965b5114e97e62f05cabe01585222e5a9eb"}},{"ruleId":"D1","level":"warning","message":{"text":"NestedMenu.MenubarItem (cyclomatic 17): NestedMenu.MenubarItem has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (handleToggleMenu, a function literal at line 214, a function literal at line 259, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/NestedMenu.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e4da97b91138f5d8f67469bdc27531c305c91400189bbd6b5a4ec7ec99a34c"}},{"ruleId":"D1","level":"warning","message":{"text":"NestedMenu.ItemsList (cyclomatic 17): NestedMenu.ItemsList has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 394, a function literal at line 427, a function literal at line 423, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/NestedMenu.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e94a68659ebd6d58195766e3784e7963a78400beb0b10a9d0e1110ad0ea0667"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportPayoutsPopover.ExportPayoutsPopoverContent (cyclomatic 17): ExportPayoutsPopover.ExportPayoutsPopoverContent has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Payouts/ExportPayoutsPopover.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9d7495ae44f5b6a4f8c7e2bf3b66a91eb6be65c442119c5aaa0ca3fd179700"}},{"ruleId":"D1","level":"warning","message":{"text":"CoverEditor.CoverUploader (cyclomatic 17): CoverEditor.CoverUploader has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 199, saveCover, a function literal at line 238, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CoverEditor.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc639acbd92d2b9fa6cbdabb2db2809758bfd9dbca7350d488cd9708efabec9"}},{"ruleId":"D1","level":"warning","message":{"text":"TiersEditor.TierEditor (cyclomatic 17): TiersEditor.TierEditor has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9f92385cd7dfccfbebb59a86f159cd23d13180cf1677822c75d0b4add0ffe2"}},{"ruleId":"D1","level":"warning","message":{"text":"FollowForm.FollowForm (cyclomatic 17): FollowForm.FollowForm has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/FollowForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9cb99e51a7f6ba068e446e6501c81dcf53f82431d4109a69202087572315e6"}},{"ruleId":"D1","level":"warning","message":{"text":"Layout.Layout (cyclomatic 17): Layout.Layout has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/Layout.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0f1d189a5886588d7239ea9771424e37cc615d28e58d911d0f432fa1d022a1"}},{"ruleId":"D1","level":"warning","message":{"text":"Link.LinkDialog (cyclomatic 17): Link.LinkDialog has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (onAddLink, a function literal at line 46, a function literal at line 38, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Link.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"af01990d4b2f572320b172ed11800fb7697feaa6ea893c4c111b4c4029a3cb3a"}},{"ruleId":"D1","level":"warning","message":{"text":"product_edit.scalarSettingsForSave (cyclomatic 17): product_edit.scalarSettingsForSave has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_edit.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"283637dac3bf2c241389020fcca884aa6b74653b3736637e0b51d42780e39327"}},{"ruleId":"D1","level":"warning","message":{"text":"price.parseLocaleAwareCurrencyString (cyclomatic 17): price.parseLocaleAwareCurrencyString has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/price.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b3bc1e9f492ef74070c2cdcaff164b419a0d333918efc575fc782cc30fd251"}},{"ruleId":"D1","level":"warning","message":{"text":"PaypalChargeProcessor.refund_purchase (cyclomatic 16): PaypalChargeProcessor.refund_purchase has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/paypal/paypal_charge_processor.rb"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"74065bd5b91d8d1b8e5cbdddbd7aac4a3e7f95d3e5ae9daa4f26136c80aad211"}},{"ruleId":"D1","level":"warning","message":{"text":"StripePayoutProcessor.destination_balance_drift_error (cyclomatic 16): StripePayoutProcessor.destination_balance_drift_error has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27da525ae49b52e90889509a2c9496ef73728fe652f2f6851eeea0adb992e20"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConversationPersistence.action_payload_values_match? (cyclomatic 16): AgentConversationPersistence.action_payload_values_match? has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/agent_conversation_persistence.rb"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"952e0d2cb0e373acbb04116d64c5735e14a8bcbbb51dfbb2fcd5726550c534e4"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordMediaLocation.record_media_location (cyclomatic 16): RecordMediaLocation.record_media_location has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/record_media_location.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"84838fc241b60b6d4eb03746dcb5e9125137211fff231efd282bbf5fa9b9186a"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductEligibilityController.development_product (cyclomatic 16): ProductEligibilityController.development_product has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/global_affiliates/product_eligibility_controller.rb"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6311ee37175cf7847b9a410d83cf0879c1e7e1b99ae36bd789b7ab21d876e8b3"}},{"ruleId":"D1","level":"warning","message":{"text":"LinksController.increment_views (cyclomatic 16): LinksController.increment_views has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5fec0d37710e59b5949544eac0ebd9a6ce32bd692bcfa0ee62d0105e5d6402"}},{"ruleId":"D1","level":"warning","message":{"text":"PurchasesController.unsubscribe (cyclomatic 16): PurchasesController.unsubscribe has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/purchases_controller.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"70196761a6585420ef5114d0c20d4c798ab180245d880620eb52f44924b40109"}},{"ruleId":"D1","level":"warning","message":{"text":"PurchasesController.update (cyclomatic 16): PurchasesController.update has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/purchases_controller.rb"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebf4eddab040bb98946362b0c25e8b171e0196f792e550224fd63b326980e72"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentsController.newly_submitted_details_discarded_by_country_change? (cyclomatic 16): PaymentsController.newly_submitted_details_discarded_by_country_change? has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/settings/payments_controller.rb"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bb0063e16e855e7b97d52b477c5e356b523376514ff8005016f9ad97349b6d"}},{"ruleId":"D1","level":"warning","message":{"text":"InvitationsController.accept (cyclomatic 16): InvitationsController.accept has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/settings/team/invitations_controller.rb"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80c4377b0d421b5368adce0572fa34470a88d4f453cd972705ca0f800cf52e6"}},{"ruleId":"D1","level":"warning","message":{"text":"PayoutsHelper.current_payout_period_data (cyclomatic 16): PayoutsHelper.current_payout_period_data has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/payouts_helper.rb"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1b67a1ae20051a127bf6b0f066733007a5da4ab81f8f0760743de2f281f824"}},{"ruleId":"D1","level":"warning","message":{"text":"Blockable.processor_rule_refusal (cyclomatic 16): Blockable.processor_rule_refusal has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/purchase/blockable.rb"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90bfbd9ba1e109264e440b17f6b4d940633859a2cad8bc5ad251b1205f00e9b"}},{"ruleId":"D1","level":"warning","message":{"text":"FeatureAnnouncementDelivery.ineligibility_reason (cyclomatic 16): FeatureAnnouncementDelivery.ineligibility_reason has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/feature_announcement_delivery.rb"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fee656a2bb0835ff3cae0e7ca263f839f0e6246d939846090357fc1a67a4d3c"}},{"ruleId":"D1","level":"warning","message":{"text":"Preorder.charge! (cyclomatic 16): Preorder.charge! has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/preorder.rb"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a51e8925f28de059580e7ac4010b300758fb3c29a4c09496fbee0a08934475c"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.free_trial_purchase_set_correctly (cyclomatic 16): Purchase.free_trial_purchase_set_correctly has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":6226}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc69ff7d5ae4a9f1acd3559f279ca142d05ed9d419e45b828e94504f0f7a7807"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchase.tax_location_valid? (cyclomatic 16): Purchase.tax_location_valid? has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":6323}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d17a6e77c6eb00eec10bc218da6171ce6b28ac8b21b911fc4016d75402ffbf"}},{"ruleId":"D1","level":"warning","message":{"text":"Subscription.indian_card_mandate_for (cyclomatic 16): Subscription.indian_card_mandate_for has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"51050db57acbaf6e55c25541792cdd5aa25c21738a7fa81b874c1a73a2834724"}},{"ruleId":"D1","level":"warning","message":{"text":"FormInfo.data (cyclomatic 16): FormInfo.data has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/invoice_presenter/form_info.rb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc5cea411615227427c1d4fb4557d4b271ac98d12fc0f108aa91ca7c419f3ae"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateService.with_charge_processor_error_handler (cyclomatic 16): CreateService.with_charge_processor_error_handler has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/charge/create_service.rb"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8b8018ab3870a587bea377a66b3883f6d6c78da4c1358ff84d4d47ee60f5a4"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplySourcelessCapitalDeductions.verify_stripe_source_is_absent! (cyclomatic 16): ApplySourcelessCapitalDeductions.verify_stripe_source_is_absent! has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/apply_sourceless_capital_deductions.rb"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba39239e25f4464b4a1a1ee9ff094fcdf361bb6976e04c809db6d516c53f99fa"}},{"ruleId":"D1","level":"warning","message":{"text":"BackfillMembershipAdvanceRenewalReminders.process (cyclomatic 16): BackfillMembershipAdvanceRenewalReminders.process has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_membership_advance_renewal_reminders.rb"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad77c50c07eeeebad65ae6b26baffa50996783ce0e88c6defec2bad4ff66f1ef"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfirmService.charge_seller_groups_awaiting_setup_confirmation! (cyclomatic 16): ConfirmService.charge_seller_groups_awaiting_setup_confirmation! has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/confirm_service.rb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9382a8850e7c7ee24592ade2f542d1f548b82f0db629687e0a96d305cf76cc"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparePaymentIntentService.perform (cyclomatic 16): PreparePaymentIntentService.perform has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/prepare_payment_intent_service.rb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edcd576f205742b91358a56dfd197b30a2ff823971f7cf2de7a3f0a86435d0d"}},{"ruleId":"D1","level":"warning","message":{"text":"LaterChargePresentmentService.refix_required_currency_presentment (cyclomatic 16): LaterChargePresentmentService.refix_required_currency_presentment has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/later_charge_presentment_service.rb"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30738f435d7fbab52c5d576046abe868f1d7fa8236c4d9236b88fa5fcc72948"}},{"ruleId":"D1","level":"warning","message":{"text":"RestoreBankPayoutRail.process (cyclomatic 16): RestoreBankPayoutRail.process has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/restore_bank_payout_rail.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"202d18f8707bb7c9e4bbbc7148f47b01e1549d6dad50163f05c11a615e3f711c"}},{"ruleId":"D1","level":"warning","message":{"text":"AlertOnStalledPostEmailBlastsJob.resolve_action (cyclomatic 16): AlertOnStalledPostEmailBlastsJob.resolve_action has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/alert_on_stalled_post_email_blasts_job.rb"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bb2b409534d0feb7b23df17237e78f05dd5b018f92790f8aec62f14f963f22"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleWorkflowInstallmentJob.reschedule_pending_resubscribed_memberships (cyclomatic 16): ScheduleWorkflowInstallmentJob.reschedule_pending_resubscribed_memberships has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/schedule_workflow_installment_job.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7eb1b2ffc645fb81805613af76b73aeb5cd4ceca28c62fcfe8e112ac8a8c8c"}},{"ruleId":"D1","level":"warning","message":{"text":"DateInput.DateInput (cyclomatic 16): DateInput.DateInput has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (formatDate, a function literal at line 60, a function literal at line 47). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DateInput.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f888db1ded6a790a26d960832c1cb509a16638990d14b63087085575b69b463"}},{"ruleId":"D1","level":"warning","message":{"text":"shared.ResendToNonOpenersButton (cyclomatic 16): shared.ResendToNonOpenersButton has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/shared.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe537e8c48519226ef5f059ada0ca5777acfc9058215616e7a6d4b14f88ac9c"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigurationSelector.OptionRadioButton (cyclomatic 16): ConfigurationSelector.OptionRadioButton has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"528fad985df64670d46f7c29ab02137e5ca14223216238d62f21eb6439cf8ea1"}},{"ruleId":"D1","level":"warning","message":{"text":"FollowUserForm.FollowUserForm (cyclomatic 16): FollowUserForm.FollowUserForm has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/FollowUserForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a479c491e317a041b8e32b0a9bd6d109ae5b1988021f2d7af7d22fcfd4054a"}},{"ruleId":"D1","level":"warning","message":{"text":"useReviewVideoUploader.useReviewVideoUploader (cyclomatic 16): useReviewVideoUploader.useReviewVideoUploader has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm/useReviewVideoUploader.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be08efcc55c2accbd4a1b1468285aa90bfb48526bdb56efe2de9f6441d6e5b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductEditPage.ProductEditPage (cyclomatic 16): ProductEditPage.ProductEditPage has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ProductEditPage.ProductEditPage::performSave) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"745761834905cccb889e581988eaab37761d34029082180b52baf133b9459d9a"}},{"ruleId":"D1","level":"warning","message":{"text":"New.AffiliatesNew::handleSubmit (cyclomatic 16): New.AffiliatesNew::handleSubmit has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/New.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9568ab83a2ae99cfdf7a10fc1f62a2ff90723b8c904e6ff0dca579da1f0d6338"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.PeriodBankAccount (cyclomatic 16): Index.PeriodBankAccount has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d4a482f1f12dad2c48fe736d4405411d3b76a3bab15a59081153aa1936bc09"}},{"ruleId":"D2","level":"warning","message":{"text":"BankAccountSection.BankAccountSection (cognitive 4622): BankAccountSection.BankAccountSection has cognitive complexity 4622 (threshold 15). Drivers by points: ternaries 175 (4594 pts), boolean chains 21, if/else 6, match/switch 1 (nesting depth added 4419). Of this number, 4613 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"67838ce31f14d7eadad40bdfa67da99a2ac94d14ad8f927029324a19ca65cacf"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountDetailsSection.AccountDetailsSection (cognitive 277): AccountDetailsSection.AccountDetailsSection has cognitive complexity 277 (threshold 15). Drivers by points: ternaries 93 (202 pts), boolean chains 64, if/else 7 (8 pts), match/switch 2, loops 1 (nesting depth added 110). Of this number, 249 points are the body\u0027s own statements and 28 belong to 13 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb17c00fd25f24fb3d6afa02e2c583c6cea2678114b8a097d2ee70297612d74"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailForm.EmailForm (cognitive 255): EmailForm.EmailForm has cognitive complexity 255 (threshold 15). Drivers by points: ternaries 67 (120 pts), if/else 47 (83 pts), boolean chains 50, error handling 2 (nesting depth added 89). Of this number, 116 points are the body\u0027s own statements and 139 belong to 24 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"66194d18b39632cedbca4ba902c4fb8530bca0dddf9cccb6d83a616879fc98d2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Product (cognitive 225): index.Product has cognitive complexity 225 (threshold 15). Drivers by points: ternaries 75 (158 pts), boolean chains 56, if/else 11 (nesting depth added 83). Of this number, 189 points are the body\u0027s own statements and 36 belong to 13 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/index.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6d94da465d83c045e4711f0b4d59be98786ccda642a1eeaaae78956dd74068"}},{"ruleId":"D2","level":"warning","message":{"text":"payment.applyCheckoutAction (cognitive 203): payment.applyCheckoutAction has cognitive complexity 203 (threshold 15). Drivers by points: if/else 63 (146 pts), boolean chains 35, loops 4 (12 pts), ternaries 4 (9 pts), match/switch 1 (nesting depth added 96). 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/javascript/components/Checkout/payment.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec0674d4ba98804066b785931068f465686a6f9da91a34cb1d4c63381f98ced"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ContentTabContent (cognitive 191): index.ContentTabContent has cognitive complexity 191 (threshold 15). Drivers by points: ternaries 47 (95 pts), if/else 56 (65 pts), boolean chains 25, error handling 3 (4 pts), loops 2 (nesting depth added 58). Of this number, 57 points are the body\u0027s own statements and 134 belong to 56 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"78628e05ac916b0dd43f0d155c14a94c6453cbef8ebe7b44dda449f4d9f2de5f"}},{"ruleId":"D2","level":"warning","message":{"text":"FileEmbed.FileEmbedNodeView (cognitive 185): FileEmbed.FileEmbedNodeView has cognitive complexity 185 (threshold 15). Drivers by points: ternaries 60 (105 pts), boolean chains 43, if/else 31 (36 pts), loops 1 (nesting depth added 50). Of this number, 131 points are the body\u0027s own statements and 54 belong to 33 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72d70d5acae6492eb974d6d76d6a4d4716cc9d560e0a18a31310cb39a3613a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.PaymentsPage::validateBankAccountFields (cognitive 184): Show.PaymentsPage::validateBankAccountFields has cognitive complexity 184 (threshold 15). Drivers by points: if/else 97 (101 pts), boolean chains 83 (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. This shape REPEATS in the file: 2 other methods here (Show.PaymentsPage, Show.PaymentsPage::validateComplianceInfoFields) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e7e893b6134def5203dd432d3fcba63c87c177152e3bf46c11e4a3d56d66e7"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Checkout (cognitive 176): index.Checkout has cognitive complexity 176 (threshold 15). Drivers by points: ternaries 47 (133 pts), boolean chains 33, if/else 7 (10 pts) (nesting depth added 89). Of this number, 146 points are the body\u0027s own statements and 30 belong to 16 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccfc287d659a6e739b2afacabd859a097fbaaa2088c3e41bbdb9e92a77d91d3"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscountsPage.DiscountsPage (cognitive 172): DiscountsPage.DiscountsPage has cognitive complexity 172 (threshold 15). Drivers by points: ternaries 43 (123 pts), boolean chains 20, if/else 8 (15 pts), error handling 5 (13 pts), loops 1 (nesting depth added 95). Of this number, 72 points are the body\u0027s own statements and 100 belong to 14 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6704734f759ffd880856438a16d3dc0667aed2ea65cd9d90d7b73c6b991fce"}},{"ruleId":"D2","level":"warning","message":{"text":"order.startOrderCreation (cognitive 168): order.startOrderCreation has cognitive complexity 168 (threshold 15). Drivers by points: if/else 39 (107 pts), loops 9 (21 pts), ternaries 6 (19 pts), boolean chains 17, error handling 2 (4 pts) (nesting depth added 95). Of this number, 147 points are the body\u0027s own statements and 21 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/order.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e7d3c947973eeb025cc98d3abfe2f3d60acf2fd54f81dc356f2d163c7bb5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"LinksController.update (cognitive 164): LinksController.update has cognitive complexity 164 (threshold 15). Drivers by points: if/else 83 (121 pts), boolean chains 27, error handling 4 (10 pts), ternaries 3 (6 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"393fedca40c2e21c01c08a278d5dc99b0ccba4692950082ac42da739a32b55a7"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerDetailPage.CustomerDetailPage (cognitive 120): CustomerDetailPage.CustomerDetailPage has cognitive complexity 120 (threshold 15). Drivers by points: ternaries 68 (95 pts), boolean chains 17, if/else 5 (7 pts), error handling 1 (nesting depth added 29). Of this number, 77 points are the body\u0027s own statements and 43 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa321a12de3f26dd8ca75128adf956af680b9c32598340f15858942098a7e22c"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdaterService.perform (cognitive 119): UpdaterService.perform has cognitive complexity 119 (threshold 15). Drivers by points: if/else 49 (70 pts), boolean chains 48, error handling 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02e1f4ccb874b34ab096ddeaa782a377dec64a9358d688bc7e847bd7c851c06"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.PaymentsPage::validateComplianceInfoFields (cognitive 118): Show.PaymentsPage::validateComplianceInfoFields has cognitive complexity 118 (threshold 15). Drivers by points: if/else 52 (91 pts), boolean chains 26, ternaries 1 (nesting depth added 39). 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 shape REPEATS in the file: 2 other methods here (Show.PaymentsPage, Show.PaymentsPage::validateBankAccountFields) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dcccee1c0b78dde7d42a2692caa57fe3bfc87639cfec3986f4230add370078"}},{"ruleId":"D2","level":"warning","message":{"text":"AudienceMember.filter (cognitive 117): AudienceMember.filter has cognitive complexity 117 (threshold 15). Drivers by points: if/else 54 (95 pts), boolean chains 17, match/switch 2 (5 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/audience_member.rb"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"905c454bb51a3bf1c27cab143726b854bd15d7a39d1f25b20860368b314f59c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ChargeService.create_charge_for_seller_purchases (cognitive 116): ChargeService.create_charge_for_seller_purchases has cognitive complexity 116 (threshold 15). Drivers by points: if/else 31 (88 pts), boolean chains 26, ternaries 1 (2 pts) (nesting depth added 58). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b5a2d931ad186ebc1b1093b52d24eaa9dc34343b45d570e56a6f98641c068a"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.update_bank_account (cognitive 109): StripeMerchantAccountManager.update_bank_account has cognitive complexity 109 (threshold 15). Drivers by points: if/else 32 (80 pts), boolean chains 18, error handling 5 (11 pts) (nesting depth added 54). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"89aa312718fdeb2e736fbf9cf9027d955040fce10dc08af0780e87262ce9b4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowForm.WorkflowForm (cognitive 109): WorkflowForm.WorkflowForm has cognitive complexity 109 (threshold 15). Drivers by points: ternaries 51 (80 pts), boolean chains 15, if/else 13 (14 pts) (nesting depth added 30). Of this number, 64 points are the body\u0027s own statements and 45 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41cf68b95587cab89c8f811498b9498757dd9d326b3e0a5cd07c57dd0130e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"LinksController.update (cognitive 105): LinksController.update has cognitive complexity 105 (threshold 15). Drivers by points: error handling 9 (38 pts), if/else 28 (36 pts), boolean chains 26, ternaries 2 (5 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b350c6343386b06003f4edb169cc7fa3eda0cb3aa8983d393361d8bf4bd65b"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.Layout (cognitive 104): Layout.Layout has cognitive complexity 104 (threshold 15). Drivers by points: ternaries 28 (97 pts), boolean chains 6, error handling 1 (nesting depth added 69). Of this number, 103 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/Layout.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddd6e218779bdca786de8225a18c38bf2c61e3cdf123eec1870c88aa58f8aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentsController.update (cognitive 102): PaymentsController.update has cognitive complexity 102 (threshold 15). Drivers by points: if/else 39 (60 pts), boolean chains 27, error handling 4 (10 pts), ternaries 2 (5 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/settings/payments_controller.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b5e39fa588969f73ce39b3c7ee7e742044d814fd743aa56f65e980322a9327"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.CommunitiesIndex (cognitive 98): Index.CommunitiesIndex has cognitive complexity 98 (threshold 15). Drivers by points: if/else 45 (54 pts), ternaries 12 (29 pts), boolean chains 15 (nesting depth added 26). Of this number, 20 points are the body\u0027s own statements and 78 belong to 26 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Communities/Index.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5007ac094d78214e9e4633187d319db1a33461e514b9a9d308b134523c2d20ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.PayoutsIndex (cognitive 98): Index.PayoutsIndex has cognitive complexity 98 (threshold 15). Drivers by points: ternaries 36 (90 pts), boolean chains 6, if/else 2 (nesting depth added 54). Of this number, 97 points are the body\u0027s own statements and 1 belongs to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb81f707147bef11232d4b77bfda998089beab2ce0a3e7254200d8989f951781"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateService.with_charge_processor_error_handler (cognitive 97): CreateService.with_charge_processor_error_handler has cognitive complexity 97 (threshold 15). Drivers by points: error handling 12 (78 pts), if/else 3 (19 pts) (nesting depth added 82). 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/services/charge/create_service.rb"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2aceed743b25b0f2caaee651eae4cbebfc58433d2a15f0931fb559865890e70"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.Layout (cognitive 96): Layout.Layout has cognitive complexity 96 (threshold 15). Drivers by points: ternaries 28 (52 pts), if/else 15 (27 pts), boolean chains 16, error handling 1 (nesting depth added 36). Of this number, 62 points are the body\u0027s own statements and 34 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/Layout.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e65c2fe0bfa9e04b6066fda2c126889677aee9238515c9d0e56ee4bad930dc"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateService.perform (cognitive 95): CreateService.perform has cognitive complexity 95 (threshold 15). Drivers by points: if/else 42 (68 pts), boolean chains 16, ternaries 3 (8 pts), error handling 2 (3 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f00f708b8cb6bff9896a50aec8c8160c89d2dcb497778f37ea8565bc8cffeb"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.SettingsPage (cognitive 89): Show.SettingsPage has cognitive complexity 89 (threshold 15). Drivers by points: ternaries 25 (47 pts), boolean chains 22, if/else 15 (19 pts), error handling 1 (nesting depth added 26). Of this number, 35 points are the body\u0027s own statements and 54 belong to 16 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Profile/Show.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4c7dc307b8919c28ad083cb973dbf051aee34d5d4a8f9d4add20c585a54802"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentForm.CreditCardContent (cognitive 88): PaymentForm.CreditCardContent has cognitive complexity 88 (threshold 15). Drivers by points: if/else 29 (43 pts), boolean chains 26, ternaries 14 (19 pts) (nesting depth added 19). Of this number, 18 points are the body\u0027s own statements and 70 belong to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"6735c669659c57f14658311588c76c82cc904a44711c61bd4379cbd7e2795b02"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.handle_stripe_info_requirements (cognitive 86): StripeMerchantAccountManager.handle_stripe_info_requirements has cognitive complexity 86 (threshold 15). Drivers by points: if/else 50 (61 pts), boolean chains 22, ternaries 1 (2 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f466bc5a5c3b5f23c9c1fce5c3d8a5ad87aba1af5d3ae235334f921bdaaa2b"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomersPage.CustomersPage (cognitive 83): CustomersPage.CustomersPage has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 36 (60 pts), boolean chains 12, if/else 7 (10 pts), error handling 1 (nesting depth added 27). Of this number, 20 points are the body\u0027s own statements and 63 belong to 10 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3b4af00455e6fff337caa8762b22af9d8b6c148ec4e08744355e0a02ce14ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Manage.SubscriptionsManage (cognitive 83): Manage.SubscriptionsManage has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 31 (38 pts), boolean chains 26, if/else 16 (19 pts) (nesting depth added 10). Of this number, 63 points are the body\u0027s own statements and 20 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Subscriptions/Manage.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfca6d5e1462a2bca3d193ce986880f352ae8ee70bbe980df10d073d065a12f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Published.EmailsPublished (cognitive 82): Published.EmailsPublished has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 29 (72 pts), boolean chains 4, if/else 4, match/switch 2 (nesting depth added 43). Of this number, 36 points are the body\u0027s own statements and 46 belong to 8 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Published.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"54df9f141fa2d05008a6596d986fae0d2f041e7553b55658554876d053c19212"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeChargeProcessor.handle_stripe_charge_event (cognitive 81): StripeChargeProcessor.handle_stripe_charge_event has cognitive complexity 81 (threshold 15). Drivers by points: if/else 34 (54 pts), match/switch 3 (10 pts), boolean chains 9, ternaries 3 (8 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"9698479cb4fbcca54a82bc7dd54e77d326d8358e6c2d99f6ffe74902d2483003"}},{"ruleId":"D2","level":"warning","message":{"text":"Edit.PagesEdit (cognitive 80): Edit.PagesEdit has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 33 (55 pts), boolean chains 15, if/else 10 (nesting depth added 22). Of this number, 64 points are the body\u0027s own statements and 16 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Pages/Edit.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9a89bf3523944fa0f7d46ff0b2c86c30d3f3503e37ae86333a77b3c8127932"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.LibraryPage (cognitive 77): Index.LibraryPage has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 23 (46 pts), if/else 16 (18 pts), boolean chains 11, error handling 1, loops 1 (nesting depth added 25). Of this number, 40 points are the body\u0027s own statements and 37 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Library/Index.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"759079c3e6544e118a33a04e0b01e1eb65508f8ba74b92e51cec02014ec777c7"}},{"ruleId":"D2","level":"warning","message":{"text":"LinksController.create (cognitive 76): LinksController.create has cognitive complexity 76 (threshold 15). Drivers by points: if/else 39 (56 pts), boolean chains 11, error handling 3 (6 pts), ternaries 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"007498ebd075f9ad23707cb4a5bf6cdacab2355ef67e7eb5d63da967d5e32e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.PiracyReportsShow (cognitive 72): Show.PiracyReportsShow has cognitive complexity 72 (threshold 15). Drivers by points: ternaries 20 (66 pts), boolean chains 6 (nesting depth added 46). Of this number, 71 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/PiracyReports/Show.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20f92a0d740db7a5c37ef683a0246d1a295899a9df55a432a3c03e3c57c2cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"Payouts.is_user_payable (cognitive 71): Payouts.is_user_payable has cognitive complexity 71 (threshold 15). Drivers by points: if/else 22 (46 pts), boolean chains 17, ternaries 3 (8 pts) (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/payouts.rb"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b18780faf500d4bcb6414a31e466e2be50470dc65a931256395a89a12005a3f"}},{"ruleId":"D2","level":"warning","message":{"text":"purchase.createPurchasesRequestData (cognitive 71): purchase.createPurchasesRequestData has cognitive complexity 71 (threshold 15). Drivers by points: if/else 24 (46 pts), boolean chains 25 (nesting depth added 22). Of this number, 65 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/purchase.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5598b002140d87f7980afbfc3a55189cf0482690f3b7bc3c551b9d16ef59ad98"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountStatusSection.AccountStatusSection (cognitive 70): AccountStatusSection.AccountStatusSection has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 22 (60 pts), boolean chains 9, if/else 1 (nesting depth added 38). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountStatusSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd475b814d87e845428cc762c6bc2b9b581afb27594b5208089f81f04ede687"}},{"ruleId":"D2","level":"warning","message":{"text":"Refundable.refund_and_save! (cognitive 69): Refundable.refund_and_save! has cognitive complexity 69 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 24, error handling 5 (15 pts), ternaries 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/refundable.rb"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de1216bd570b535c44a41bb4d3b7d7577d65891849824628c2e912e068deb64"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncStatusWithChargeProcessorService.perform (cognitive 69): SyncStatusWithChargeProcessorService.perform has cognitive complexity 69 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 22, error handling 3 (6 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/sync_status_with_charge_processor_service.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3b9425abcc95b1199ea761d258485e56589b1d9c37fa6f78e2acd50c3b2d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.update_account (cognitive 68): StripeMerchantAccountManager.update_account has cognitive complexity 68 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 30, ternaries 4, error handling 3 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1953aa5d27355b908e8fe03c92917ab6ee8618de6be91567e9cde06bdb3a523a"}},{"ruleId":"D2","level":"warning","message":{"text":"StripePayoutProcessor.prepare_payment_and_set_amount (cognitive 68): StripePayoutProcessor.prepare_payment_and_set_amount has cognitive complexity 68 (threshold 15). Drivers by points: if/else 20 (31 pts), error handling 6 (21 pts), boolean chains 15, ternaries 1 (nesting depth added 26). 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/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fc9f5410d9ec956c4fa38176c04b67cf6b7720512920da5a0d06dfc96e4d69"}},{"ruleId":"D2","level":"warning","message":{"text":"FileList.FileRow (cognitive 68): FileList.FileRow has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 34 (42 pts), boolean chains 14, if/else 8 (9 pts), error handling 1 (3 pts) (nesting depth added 11). Of this number, 55 points are the body\u0027s own statements and 13 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f8866b537a1fa784428904d2d57105b718dfc81e9203db958dc02039cb1d09"}},{"ruleId":"D2","level":"warning","message":{"text":"Refundable.handle_event_refund_updated! (cognitive 66): Refundable.handle_event_refund_updated! has cognitive complexity 66 (threshold 15). Drivers by points: if/else 24 (44 pts), boolean chains 12, error handling 3 (5 pts), ternaries 2 (5 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/charge/refundable.rb"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a60aad3a05d51fe2758e55d9f1e4f56a826e52f33fe122f7a71c719a1bed3f"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.with_charge_processor_error_handler (cognitive 66): Purchase.with_charge_processor_error_handler has cognitive complexity 66 (threshold 15). Drivers by points: error handling 10 (55 pts), if/else 2 (11 pts) (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":5267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb2deec327299b027cd8ac31a57e385370f5ce93bb6f853c0ce01dcc237086f"}},{"ruleId":"D2","level":"warning","message":{"text":"WithFiltering.seller_post_passes_filters (cognitive 65): WithFiltering.seller_post_passes_filters has cognitive complexity 65 (threshold 15). Drivers by points: if/else 25 (38 pts), boolean chains 27 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/with_filtering.rb"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82ab0914395ba2af71e5602e74d1e0bdf77c7da314ddbab0595377f56e2a368"}},{"ruleId":"D2","level":"warning","message":{"text":"BeneficialOwnersSection.BeneficialOwnersSection (cognitive 65): BeneficialOwnersSection.BeneficialOwnersSection has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 59 (164 pts), if/else 29 (36 pts), boolean chains 32, error handling 3 (nesting depth added 112). 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 shape REPEATS in the file: one other method here (BeneficialOwnersSection.BeneficialOwnersSection::validateJpKanaFields) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c95efe429f5e29962f180839b5d7d9caf1d2fd1f1e222e49008049f94fedb2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Read.EpubReader (cognitive 64): Read.EpubReader has cognitive complexity 64 (threshold 15). Drivers by points: if/else 32 (35 pts), boolean chains 12, ternaries 11 (12 pts), loops 3, error handling 2 (nesting depth added 4). Most of this is not in the body itself: 4 of the 64 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 639, a function literal at line 716, a function literal at line 809, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f84dd05ff12962a2cca6f280cdf85af998d25519b5d892d9d77cf6e5baef52"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.PaymentsPage (cognitive 63): Show.PaymentsPage has cognitive complexity 63 (threshold 15). Drivers by points: if/else 182 (232 pts), boolean chains 149, ternaries 38 (61 pts), error handling 1 (3 pts), match/switch 1 (nesting depth added 75). 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. This shape REPEATS in the file: 2 other methods here (Show.PaymentsPage::validateBankAccountFields, Show.PaymentsPage::validateComplianceInfoFields) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9631d6e0ed4635d00df223fd3eec82123b842f7b745676ce8e435b3f8a9d65"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.create_account (cognitive 62): StripeMerchantAccountManager.create_account has cognitive complexity 62 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 15, ternaries 2 (7 pts), error handling 3 (nesting depth added 16). 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/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12141a6a5748212a37fd498b6f1555cc1468f8bceaf41e45ef610e6951e27d3"}},{"ruleId":"D2","level":"warning","message":{"text":"WithContent.WithContent (cognitive 62): WithContent.WithContent has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 20 (28 pts), if/else 13 (17 pts), boolean chains 16, loops 1 (nesting depth added 12). Of this number, 37 points are the body\u0027s own statements and 25 belong to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/WithContent.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd8e9b37605d1c0e78405e9792850a3d959643d67603e1c7faf39afb62f8924"}},{"ruleId":"D2","level":"warning","message":{"text":"UtmLinkForm.UtmLinkForm (cognitive 62): UtmLinkForm.UtmLinkForm has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 28 (30 pts), if/else 17 (19 pts), boolean chains 13 (nesting depth added 4). Of this number, 31 points are the body\u0027s own statements and 31 belong to 9 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UtmLinks/UtmLinkForm.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbf11f5b1febd14f7e833de7d8fc170de2a51002932b52c6f478aadc7ab1b7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductEditPage.applyCanonicalIds (cognitive 62): ProductEditPage.applyCanonicalIds has cognitive complexity 62 (threshold 15). Drivers by points: if/else 18 (32 pts), loops 12 (13 pts), ternaries 4 (9 pts), boolean chains 8 (nesting depth added 20). Of this number, 59 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"49608699e1a77ca4860ec1bbd2fbcc07a24da157d07dc81665ad891ffa22f834"}},{"ruleId":"D2","level":"warning","message":{"text":"Payouts.create_payments (cognitive 60): Payouts.create_payments has cognitive complexity 60 (threshold 15). Drivers by points: if/else 27 (37 pts), boolean chains 11, error handling 3 (8 pts), ternaries 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/payouts.rb"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7a323033c3152490c132af15279b24de231f61b6f93a5623a0e71f5becb80e"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewForm.ReviewForm (cognitive 60): ReviewForm.ReviewForm has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 19 (23 pts), boolean chains 18, if/else 14 (15 pts), error handling 2 (3 pts), match/switch 1 (nesting depth added 6). Of this number, 32 points are the body\u0027s own statements and 28 belong to 12 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d79bbfdeabe2054b31f66a449067c8a7c9d6a8f5b9d0949bd4a6a2df8b39ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.CheckoutIndexPage::pay (cognitive 60): Show.CheckoutIndexPage::pay has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (27 pts), ternaries 9 (17 pts), boolean chains 12, loops 2 (3 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Show.CheckoutIndexPage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"7394aa9c6bbb1b9ff17a841c7fb7be39c077f4d59820a1ce2f65c40201d6453f"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsPresenter.account_status_details (cognitive 59): SettingsPresenter.account_status_details has cognitive complexity 59 (threshold 15). Drivers by points: if/else 28 (40 pts), boolean chains 19 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/settings_presenter.rb"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4a476e106117b640629043e590d8d1efba184ec254bbdb4f53671fccf4a378"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateService.perform (cognitive 59): CreateService.perform has cognitive complexity 59 (threshold 15). Drivers by points: if/else 29 (46 pts), boolean chains 12, ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/create_service.rb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eb16c56d05aa4da6291e2d3f30eb40a42996fa194283ad6f386f1ac22e887c"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoTopUpNegativeDestinationBalancesJob.topup (cognitive 59): AutoTopUpNegativeDestinationBalancesJob.topup has cognitive complexity 59 (threshold 15). Drivers by points: if/else 31 (45 pts), error handling 4 (7 pts), boolean chains 4, ternaries 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/auto_top_up_negative_destination_balances_job.rb"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa65e4f9cdf3819e5d411283cac8ba621c589532d1641173d3766431b06f7739"}},{"ruleId":"D2","level":"warning","message":{"text":"New.PurchaseNewInvoicePage (cognitive 59): New.PurchaseNewInvoicePage has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 30 (34 pts), boolean chains 13, if/else 9 (12 pts) (nesting depth added 7). Of this number, 40 points are the body\u0027s own statements and 19 belong to 9 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/Invoices/New.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc1b1cfd80be68973d5e06f061126c9f841290d4c8410d0093cf9386a42c365"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigurationSelector.ConfigurationSelector (cognitive 58): ConfigurationSelector.ConfigurationSelector has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 22 (30 pts), boolean chains 19, if/else 7 (9 pts) (nesting depth added 10). Of this number, 34 points are the body\u0027s own statements and 24 belong to 13 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"42965a291ab99844c734f019a043480bb0fc6ce7a4bd4c9712ca3b302ea9f003"}},{"ruleId":"D2","level":"warning","message":{"text":"index.CartItemComponent (cognitive 57): index.CartItemComponent has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 24 (41 pts), boolean chains 14, if/else 2 (nesting depth added 17). Of this number, 43 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20a9adbed605697fb5e9dc01ef7b7f56f5cdb020b62e903ad6611f6411eed12"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ProductTab (cognitive 57): index.ProductTab has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 24 (53 pts), boolean chains 3, if/else 1 (nesting depth added 29). Of this number, 54 points are the body\u0027s own statements and 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/index.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbd26c2264a472a15efc14331596ba7fcabe7dab3327fc0b90ebe0e4f31919c"}},{"ruleId":"D2","level":"warning","message":{"text":"SendWorkflowInstallmentWorker.perform (cognitive 55): SendWorkflowInstallmentWorker.perform has cognitive complexity 55 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 22, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_installment_worker.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a596bd97e89e8e6776ff4b5875438825676bae3a3ee92ef62b8b6027d93a7aa"}},{"ruleId":"D2","level":"warning","message":{"text":"UpsellsPage.Form (cognitive 55): UpsellsPage.Form has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 39 (66 pts), if/else 12 (20 pts), boolean chains 16 (nesting depth added 35). 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 shape REPEATS in the file: one other method here (UpsellsPage.Form::handleSubmit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afe13a8d1738eb95e5159f2264327e3e9c698f369d65669834bf3e65003a667"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplicationForm.ApplicationForm (cognitive 55): ApplicationForm.ApplicationForm has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 16 (28 pts), if/else 13 (17 pts), boolean chains 7, error handling 1 (3 pts) (nesting depth added 18). Of this number, 22 points are the body\u0027s own statements and 33 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5129376bae3f961e0d2d2ec88865701f4a923b134792402b0b2154900d3177"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.DiscoverIndex (cognitive 55): Index.DiscoverIndex has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 21 (29 pts), boolean chains 13, if/else 9 (11 pts), error handling 1, loops 1 (nesting depth added 10). Of this number, 33 points are the body\u0027s own statements and 22 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Discover/Index.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebfc26100088455c10637bced2456953953b46199728178a69fd9f331309b32"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateUserComplianceInfo.process_locked (cognitive 53): UpdateUserComplianceInfo.process_locked has cognitive complexity 53 (threshold 15). Drivers by points: if/else 24 (47 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 24). 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/services/update_user_compliance_info.rb"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b3bc1dfe4e1daf7b065447d066b94e614573fa30bbc1f66da1186601e87735"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscountsPage.Form (cognitive 53): DiscountsPage.Form has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 60 (66 pts), boolean chains 38, if/else 23 (33 pts), loops 1 (nesting depth added 16). 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. This shape REPEATS in the file: one other method here (DiscountsPage.Form::handleSubmit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"60266a7de9bff61978ea6838676382c8b0ae47141d835b4b3e695c59bc981ba6"}},{"ruleId":"D2","level":"warning","message":{"text":"CircleIntegrationEditor.CircleIntegrationEditor (cognitive 52): CircleIntegrationEditor.CircleIntegrationEditor has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 14 (39 pts), if/else 6, boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 26). Of this number, 40 points are the body\u0027s own statements and 12 belong to 6 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CircleIntegrationEditor.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ad15b999d3153150a3cc86bab15fee23d11e487e3f9ef2c72e7550bdbc9191"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.Period (cognitive 52): Index.Period has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 26 (40 pts), boolean chains 6, if/else 2 (3 pts), match/switch 2, error handling 1 (nesting depth added 15). Of this number, 43 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0877800561e7b5fbddbb3696bae35433312065769a7d30745c37aa8d2b960d97"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeChargeProcessor.create_payment_intent_or_charge! (cognitive 50): StripeChargeProcessor.create_payment_intent_or_charge! has cognitive complexity 50 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 15, ternaries 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a881f4ba6ca543028bc9589b73e2a176650ca66faa2e24e94f86c7a315b10651"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.BundleEditLayout (cognitive 50): Layout.BundleEditLayout has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 21 (43 pts), boolean chains 5, if/else 2 (nesting depth added 22). Of this number, 44 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/BundleEdit/Layout.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f103b67d913fa5b0b2e95fcfe9eb7f57f627631ca357bc2dd76d57f7735d7609"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentForm.useStripePaymentRequest (cognitive 50): PaymentForm.useStripePaymentRequest has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 14, ternaries 9 (13 pts) (nesting depth added 7). Most of this is not in the body itself: 4 of the 50 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 1635, a function literal at line 1681, a function literal at line 1699, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c86fe3c84d3935eeea567134936a16f52cfb53f8d998f63d3cc79669c7c0dc"}},{"ruleId":"D2","level":"warning","message":{"text":"PasskeysSection.PasskeysSection (cognitive 50): PasskeysSection.PasskeysSection has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 14 (27 pts), if/else 8 (14 pts), boolean chains 6, error handling 3 (nesting depth added 19). Most of this is not in the body itself: 10 of the 50 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 38, 52, 82, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97c5388f22f2113c2879eb7b9e1cb983023b9502e0d17c40ad1ff1e8525982e"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.schedule_installment (cognitive 49): Workflow.schedule_installment has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (30 pts), boolean chains 12, ternaries 3 (7 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/workflow.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dda8ed8c949ba6699a305874ed1e23e0e7b7b8fef762c11d350e02bb50d948"}},{"ruleId":"D2","level":"warning","message":{"text":"CardGrid.CardGrid (cognitive 49): CardGrid.CardGrid has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 12 (26 pts), if/else 11 (12 pts), boolean chains 10, loops 1 (nesting depth added 15). Of this number, 33 points are the body\u0027s own statements and 16 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CardGrid.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad335918b390606dc53238b615064aa438ff1290f4a00c826edf23d94ee242ce"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ContentTab (cognitive 49): index.ContentTab has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 12 (19 pts), if/else 9 (15 pts), boolean chains 11, loops 2 (4 pts) (nesting depth added 15). Most of this is not in the body itself: 6 of the 49 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 1580, a function literal at line 1464, setHasSameRichContent, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"370a04e3a609253f677c9819d24a7566525c485f3d773742db6c1efc490a8497"}},{"ruleId":"D2","level":"warning","message":{"text":"CoverEditor.CoverUploader (cognitive 49): CoverEditor.CoverUploader has cognitive complexity 49 (threshold 15). Drivers by points: if/else 7 (24 pts), ternaries 5 (12 pts), error handling 2 (6 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 32). Most of this is not in the body itself: 10 of the 49 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 199, a function literal at line 238, saveCover, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CoverEditor.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"962e7ff0a94bf3cfe202d4d837c526776db74b02879ceac85d197aefbfa47c0d"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduledPayout.execute! (cognitive 48): ScheduledPayout.execute! has cognitive complexity 48 (threshold 15). Drivers by points: if/else 24 (38 pts), boolean chains 6, error handling 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/scheduled_payout.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bdc4361d20c91a2e798efc1cdbe6f98ced93759177e12449d448487ca41a84"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreAgentService.respond_streaming (cognitive 48): StoreAgentService.respond_streaming has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (37 pts), ternaries 2 (5 pts), error handling 1 (2 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 29). 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/services/ai/store_agent_service.rb"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"af33e2718d0a1e369728ddd554ab170bcf07d8e4f2c35fbbfe0cba9b8164bfd1"}},{"ruleId":"D2","level":"warning","message":{"text":"RecurringChargeWorker.perform (cognitive 48): RecurringChargeWorker.perform has cognitive complexity 48 (threshold 15). Drivers by points: if/else 23 (35 pts), boolean chains 11, error handling 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/recurring_charge_worker.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5c25a27c85a3ce2b7bdd609f977d769573cd69f2b48e38c5985a179f194e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"New.NewProductPage (cognitive 48): New.NewProductPage has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 14 (17 pts), if/else 13 (16 pts), boolean chains 13, error handling 2 (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 26 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Products/New.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"537b7f4a1f7f1e436f228b1fe1342128932d81a1e28e10e65e5397588eebf505"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.purchase_info (cognitive 47): Purchase.purchase_info has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 9 (16 pts), boolean chains 9 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b41ad346ef4f85f53a0bc4a4ee12e584dff3e4c36dbe70261554b10e7d5089"}},{"ruleId":"D2","level":"warning","message":{"text":"ChargeService.ensure_all_purchases_processed (cognitive 47): ChargeService.ensure_all_purchases_processed has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 18 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd218d54f24504c30b03ef3b8d9988d1e592706e5e4c0167d2c3b2fa014fcc2"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscountsPage.Form::handleSubmit (cognitive 47): DiscountsPage.Form::handleSubmit has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 18, if/else 9 (16 pts), ternaries 13 (nesting depth added 7). 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. This shape REPEATS in the file: one other method here (DiscountsPage.Form) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d798c21c7058015e2011580d96d79fa067ea6bedce778d57a6d23351e61f9c5"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeBeneficialOwnersManager.build_person_params (cognitive 46): StripeBeneficialOwnersManager.build_person_params has cognitive complexity 46 (threshold 15). Drivers by points: if/else 23 (36 pts), boolean chains 10 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fe17b183cc22b64224665028776cfb3f7d04cb9f98118a550c333ea7b709ba"}},{"ruleId":"D2","level":"warning","message":{"text":"StripePayoutProcessor.perform_payment (cognitive 45): StripePayoutProcessor.perform_payment has cognitive complexity 45 (threshold 15). Drivers by points: if/else 23 (30 pts), error handling 4 (10 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9816e24ca26a42cb37c6230f6550ee761abdd4d4c40a914314a2658853578b1"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Analytics (cognitive 45): index.Analytics has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (23 pts), ternaries 9 (15 pts), boolean chains 6, error handling 1 (nesting depth added 11). Most of this is not in the body itself: 10 of the 45 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 262, 224, 363, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/index.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d663c3c3122e935741778a168c5bc90adde44396c8069f8d889979589a6d167"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareYourLaunchCard.ChannelComposer (cognitive 45): ShareYourLaunchCard.ChannelComposer has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 17 (33 pts), boolean chains 8, if/else 2 (3 pts), error handling 1 (nesting depth added 17). Of this number, 40 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f074e1a86aab675ab8eb046317ece7f8359da926415cc3fbdc045764431a1a44"}},{"ruleId":"D2","level":"warning","message":{"text":"EditPage.EditProfile (cognitive 45): EditPage.EditProfile has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 16 (28 pts), if/else 7 (12 pts), boolean chains 3, error handling 1, match/switch 1 (nesting depth added 17). Of this number, 18 points are the body\u0027s own statements and 27 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditPage.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2881f0a556d91062d9db6f585a53d067c4857e0c6b3e575f5e33bff2e17ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentStreamsController.create (cognitive 44): AgentStreamsController.create has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (22 pts), error handling 7 (12 pts), boolean chains 5, ternaries 3 (4 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/agent_streams_controller.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4f9a85940c7be2f023d55b5aaf601c62573326a64372e743739ef0c65ac746"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.as_json (cognitive 44): Purchase.as_json has cognitive complexity 44 (threshold 15). Drivers by points: if/else 25 (27 pts), ternaries 10 (11 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"86357a4c0395647786b4467c5919e63488359a9f0424919821ed4c0021c638bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Posts.visible_posts_for (cognitive 44): Posts.visible_posts_for has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (34 pts), ternaries 4 (9 pts), boolean chains 1 (nesting depth added 22). 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/modules/user/posts.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a5d4d4b5d91db660bbb5fbfa73657b3ba1473ca59d3dc11df1a1e8729628ae"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminSearchService.search_purchases (cognitive 44): AdminSearchService.search_purchases has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (39 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 20). 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/services/admin_search_service.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca893b797caf8fbca8a6ae1975b879b977b87fa6c0d9f133413cf0d5d3bed442"}},{"ruleId":"D2","level":"warning","message":{"text":"UpsellsPage.UpsellsPage (cognitive 44): UpsellsPage.UpsellsPage has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 10 (24 pts), if/else 8 (11 pts), error handling 5, boolean chains 3, loops 1 (nesting depth added 17). Of this number, 17 points are the body\u0027s own statements and 27 belong to 8 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f2132d8253972904bbb71ee77fbf997b4249e5f6724456b214543c559acd0b"}},{"ruleId":"D2","level":"warning","message":{"text":"LegalGuardianSection.LegalGuardianSection (cognitive 43): LegalGuardianSection.LegalGuardianSection has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18, ternaries 14 (17 pts), boolean chains 7, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 13 of the 43 points are its own statements and the rest belongs to 4 function items inside it that branch (missingRequiredField, handleSubmit, handleKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94ba9c261417ab4e99e9d2bf2dd5433fbce99a2419f3235115c593747bd8874"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentMessageStreamsController.create (cognitive 42): AgentMessageStreamsController.create has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (22 pts), error handling 7 (12 pts), boolean chains 4, ternaries 2 (3 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_message_streams_controller.rb"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f800b8cf3b3869f49ef48cda503b373bc404df25eafcccb08f61de42bbc16e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfirmService.charge_setup_confirmed_purchases_locked! (cognitive 42): ConfirmService.charge_setup_confirmed_purchases_locked! has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (28 pts), ternaries 4 (8 pts), boolean chains 4, error handling 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/confirm_service.rb"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad061d4982249534de7695e9dea1561020410c3b46108e4b66218d58eccf192"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateUserComplianceInfo.assign_compliance_params (cognitive 42): UpdateUserComplianceInfo.assign_compliance_params has cognitive complexity 42 (threshold 15). Drivers by points: if/else 40, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/update_user_compliance_info.rb"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e39342bbd959fd8c76eb4d5ccdb9f02d44cc7b5835cb6fed0401094e35cb590"}},{"ruleId":"D2","level":"warning","message":{"text":"SendWorkflowPostEmailsJob.perform (cognitive 42): SendWorkflowPostEmailsJob.perform has cognitive complexity 42 (threshold 15). Drivers by points: if/else 26 (30 pts), boolean chains 10, match/switch 1, ternaries 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":"app/sidekiq/send_workflow_post_emails_job.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"00740c09e7b8e49b1d088e1ef67fd856022ef32a2b83890bea330f3cb93081f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.AffiliatesIndex (cognitive 41): Index.AffiliatesIndex has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 10 (21 pts), if/else 9 (10 pts), boolean chains 9, loops 1 (nesting depth added 12). Most of this is not in the body itself: 15 of the 41 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 386, onSetSort, a function literal at line 307, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Index.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bf98b0bfdb6a80867d3c0d0172492f156731892052bba1dd18c48c7d90a88c"}},{"ruleId":"D2","level":"warning","message":{"text":"Edit.BundlesContentEdit (cognitive 41): Edit.BundlesContentEdit has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 12, ternaries 6 (10 pts) (nesting depth added 8). Most of this is not in the body itself: 15 of the 41 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 77, a function literal at line 100, loadMore, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Content/Edit.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9af2ab0e6046eba05b76e90dd1eeebc160cb2fc5121026e6ee0132000fb3e2"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeChargeProcessor.debit_stripe_account_for_refund_fee (cognitive 40): StripeChargeProcessor.debit_stripe_account_for_refund_fee has cognitive complexity 40 (threshold 15). Drivers by points: if/else 24 (34 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba74c71f4fc23f8a34398ebe2b54e3fdd6aed0996c61bc3ca73e153893b1a9c"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalMerchantAccountManager.update_merchant_account (cognitive 40): PaypalMerchantAccountManager.update_merchant_account has cognitive complexity 40 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 9 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/paypal/paypal_merchant_account_manager.rb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b0723eff2c98f537572db521802edaa882f631155e5becc38c1942d08ba806"}},{"ruleId":"D2","level":"warning","message":{"text":"BuyerCurrencyQuote.canonical_components_hint (cognitive 40): BuyerCurrencyQuote.canonical_components_hint has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 8, ternaries 3 (7 pts), error handling 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":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c51686ed54b605c0334868b732bbcafd55a1fcd66ea3406838fe7f05c311135"}},{"ruleId":"D2","level":"warning","message":{"text":"SendWorkflowInstallmentWorker.recipient_matches_current_audience? (cognitive 40): SendWorkflowInstallmentWorker.recipient_matches_current_audience? has cognitive complexity 40 (threshold 15). Drivers by points: if/else 20 (31 pts), boolean chains 9 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_installment_worker.rb"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"729f4d41f99b14262e445fa638c16b6c944c60a6f2778629f2eefa3159a72201"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductEditPage.ProductEditPage::performSave (cognitive 40): ProductEditPage.ProductEditPage::performSave has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (28 pts), ternaries 4 (8 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ProductEditPage.ProductEditPage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"b121fa92f0dc6ac737fa044a97de95342e7cf8d442085a617d4a31ba2baa55ef"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlRedirectsController.check_permissions (cognitive 39): UrlRedirectsController.check_permissions has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 20, if/else 15 (19 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/url_redirects_controller.rb"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e9c49b689d35a82acfc1d34b0b02d77da4f6d8e2f88976e0b1da4afc964926"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.refund_purchase! (cognitive 39): Purchase.refund_purchase! has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 16 (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":"app/modules/purchase/refundable.rb"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1a0601e31329eafcd32de5d01c5ae7744fc08af44a67344a211fa0be2ec953"}},{"ruleId":"D2","level":"warning","message":{"text":"BuyerCurrencyEligibility.decision (cognitive 39): BuyerCurrencyEligibility.decision has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 19 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_eligibility.rb"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"27444ea16de2bb3b032ae52df9cee23b88100bbd1e201d21a95730bd9f21cfac"}},{"ruleId":"D2","level":"warning","message":{"text":"SaveInstallmentsService.process (cognitive 39): SaveInstallmentsService.process has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 18, if/else 17 (18 pts), error handling 2 (3 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/workflow/save_installments_service.rb"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffc303714129b99bea577b491e3d3daed7d67b41c01040a7107b3747a5cee3c"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.process_without_charging! (cognitive 38): Purchase.process_without_charging! has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (34 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":4730}}}],"partialFingerprints":{"codehealthFindingId/v1":"5938fd7bc62408ebc32c785ab5264253e8a78075f636b086360fbd96fefe2671"}},{"ruleId":"D2","level":"warning","message":{"text":"WithProductFiles.save_files! (cognitive 38): WithProductFiles.save_files! has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 13, error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/with_product_files.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0bb22cdd1858b04cffda798fe9f6914dc503ddbc7efd3babd115a3765c3baa"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerPresenter.customer (cognitive 38): CustomerPresenter.customer has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 19 (27 pts), boolean chains 9, if/else 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/customer_presenter.rb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"391631264bc460a9c19d1dcb600d030f05a84511164b4dde552a60d5ad815191"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChat.ProposedActionCard (cognitive 38): AgentChat.ProposedActionCard has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 13 (31 pts), boolean chains 6, if/else 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f61fda4a08fdaaadd442f8a24446800187feb294625a332d85f4aad448b1c5"}},{"ruleId":"D2","level":"warning","message":{"text":"FileEmbedGroup.FileEmbedGroupNodeView (cognitive 38): FileEmbedGroup.FileEmbedGroupNodeView has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 11 (21 pts), if/else 7 (10 pts), boolean chains 5, error handling 2 (nesting depth added 13). Of this number, 24 points are the body\u0027s own statements and 14 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"807c75a80a1ddd5cc977aadec97e7377080e88eaa577ab88f9ae120b9e26c5aa"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeBeneficialOwnersManager.validate_required_fields! (cognitive 37): StripeBeneficialOwnersManager.validate_required_fields! has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 11, ternaries 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99ad37131b5fa1cf4c0b04bd03ba8887e8a6986aaf5342fb78a9cc7e6bd37a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfirmService.perform (cognitive 37): ConfirmService.perform has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 12 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/confirm_service.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0380321cdced33c4908b5b7a4504c488b186fdb1a54f257c019455bba696114"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentForm.PaymentMethodsSection (cognitive 37): PaymentForm.PaymentMethodsSection has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 14 (24 pts), boolean chains 11, if/else 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8b1c4fa1c9e4d4a58ea8625da198b8d0c94790cf08f2dcb7234dcb45aaf565"}},{"ruleId":"D2","level":"warning","message":{"text":"FormPage.FormPage (cognitive 37): FormPage.FormPage has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 11 (17 pts), if/else 11 (13 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 5 of the 37 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 124, a function literal at line 143, a function literal at line 223, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/FormPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0b4f652656bb4abe1cb6a2fdb4e851bb0fbf2e0ae3c6232ec403312b70c108"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageList.ChatMessageList (cognitive 37): ChatMessageList.ChatMessageList has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 7, ternaries 4 (6 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 6 of the 37 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 47, 104, 87, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessageList.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea6fbb7ffdefa8752e41594e926b400a0ac79daf3da050d4b8db4f4b50c00b9"}},{"ruleId":"D2","level":"warning","message":{"text":"CartRecoveryCard.CartRecoveryCard (cognitive 37): CartRecoveryCard.CartRecoveryCard has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 11 (27 pts), boolean chains 5, error handling 2 (3 pts), if/else 2 (nesting depth added 17). Of this number, 29 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/CartRecoveryCard.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e055e4421731c55a9a4a67613713ac03c22a659a7ed81396d4c60805f2c6eb94"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCustomHtmlPreviewsController.resulting_custom_html (cognitive 36): AgentCustomHtmlPreviewsController.resulting_custom_html has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 3, ternaries 1 (3 pts), match/switch 1 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_custom_html_previews_controller.rb"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dde35bf93afb36d21350454c08377e9cd5687623609d3fe16495b16539fe730"}},{"ruleId":"D2","level":"warning","message":{"text":"LinksController.show (cognitive 36): LinksController.show has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 13, match/switch 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8814535a020bd9ce74f8a90fe37dc1dbdfe534c952214fbf69f06fcf56182a10"}},{"ruleId":"D2","level":"warning","message":{"text":"InvoicesController.create (cognitive 36): InvoicesController.create has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 13, error handling 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":"app/controllers/purchases/invoices_controller.rb"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14bf47ca33a7f03ea42f09c558459a65deb2a0216ba64dd79f035610c1fc541"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileController.update (cognitive 36): ProfileController.update has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (23 pts), error handling 4 (8 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/settings/profile_controller.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"260f0af4b3830135a8122a32408c4deff9407c86ff73aca49160901c5135da4d"}},{"ruleId":"D2","level":"warning","message":{"text":"Compliance.country_supports_iban? (cognitive 36): Compliance.country_supports_iban? has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 36. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/user/compliance.rb"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0bf245e8bd4d31bcd3d2e46177848cbca9f3c42ff752610ab2e18b93f575c9"}},{"ruleId":"D2","level":"warning","message":{"text":"CtaButton.CtaButton (cognitive 36): CtaButton.CtaButton has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 10, ternaries 8 (10 pts), loops 1 (nesting depth added 4). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CtaButton.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"16725cecc4a7753ffa6314f05b1f2541be2218c4d0adc113293d09a9269e7b6b"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionsForm.ProfileSectionsForm (cognitive 36): SectionsForm.ProfileSectionsForm has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16, ternaries 11 (12 pts), boolean chains 7, match/switch 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 36 points are its own statements and the rest belongs to 18 function items inside it that branch (removePage, duplicateSection, togglePage, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ffe6dccb04c34c20153da89b50c44215e779e46e7fb37eb6ebe55ce559d8ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.UtmLinksIndex (cognitive 36): Index.UtmLinksIndex has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 11 (27 pts), boolean chains 5, if/else 4 (nesting depth added 16). Of this number, 21 points are the body\u0027s own statements and 15 belong to 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3090b87519de43d74fa5cbb63d0129fd89dedbc54a85c34f372259fcca746c3b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChargeService.setup_for_future_charges_without_charging (cognitive 35): ChargeService.setup_for_future_charges_without_charging has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 7, error handling 1 (4 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce64be3a2d454e0f622c02bf16ecc0e4cc6d2bf75fada536353fc9bb41aadcf"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparePaymentIntentService.create_unconfirmed_intent (cognitive 35): PreparePaymentIntentService.create_unconfirmed_intent has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (28 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/prepare_payment_intent_service.rb"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cba8a4222fa1d2fe8dafe4ad8c0e3f70f01add74e1cbf5c4037aba067be637"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateService.build_purchase (cognitive 35): CreateService.build_purchase has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 18, if/else 14 (16 pts), ternaries 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"727773cf7fb59626b74f31595b6ad9592cc53af482a1979c4f00a54f8d2faa09"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChat.AgentChat::send (cognitive 35): AgentChat.AgentChat::send has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (24 pts), ternaries 2 (6 pts), boolean chains 4, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (AgentChat.AgentChat, AgentChat.AgentChat::confirmAction) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f987102b67250c312a57d230b02232caea87c1a2552f8eeb9118794bd3cdcc2e"}},{"ruleId":"D2","level":"warning","message":{"text":"LinksController.search (cognitive 34): LinksController.search has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf70906c44ea9373ac00f5bbda931ef026c029d00575be630c29e4e2ce6f6d89"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlRedirectsController.send_to_kindle (cognitive 34): UrlRedirectsController.send_to_kindle has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 18, if/else 13 (15 pts), error handling 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/url_redirects_controller.rb"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"36068f4f1bd70356d91c652d1e965a8197aab916d407e5784f886158694dd20a"}},{"ruleId":"D2","level":"warning","message":{"text":"Subscription.indian_card_mandate_terms (cognitive 34): Subscription.indian_card_mandate_terms has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 7 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5f3e62eb24cb38e5c02c072faec55d701d0a41b808076fdbc16ad9758e4123"}},{"ruleId":"D2","level":"warning","message":{"text":"ChargeService.perform (cognitive 34): ChargeService.perform has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 20, if/else 9 (11 pts), error handling 2 (3 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba95c8bebb30a27702247032ed0c15425ec48d6312235fdc9ca3dc9468930f1d"}},{"ruleId":"D2","level":"warning","message":{"text":"payment.loadSurcharges (cognitive 34): payment.loadSurcharges has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 22 (26 pts), boolean chains 8 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 14 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"096dad05fd3cf57e3fb8e1323d713c1606b59d8a7306d21db2622a9499082d62"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardPage.DashboardPage (cognitive 34): DashboardPage.DashboardPage has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 14 (25 pts), boolean chains 9 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DashboardPage.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a00414696b94c9f876bfb865cf60bf81c4b129e577f12036f0943236e987ada"}},{"ruleId":"D2","level":"warning","message":{"text":"Posts.PostsNodeView (cognitive 34): Posts.PostsNodeView has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 13 (25 pts), boolean chains 6, if/else 3 (nesting depth added 12). Of this number, 20 points are the body\u0027s own statements and 14 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Posts.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7249fee7b0e75f1284ac73a592674873931c9e3a13ceecd757dd3dfbd96f0cae"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEmails.WorkflowEmails (cognitive 34): WorkflowEmails.WorkflowEmails has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 15 (20 pts), boolean chains 10, if/else 4 (nesting depth added 5). Most of this is not in the body itself: 13 of the 34 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 153, updateEmail, a function literal at line 309, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7b0c0af3751d20f61309e8f0427b8919ce03bf9b91f7fec5e47181970c5610"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.update_person (cognitive 33): StripeMerchantAccountManager.update_person has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 7, error handling 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3456f2457b890d0f4d5b2c241d63574568c4754b53373e548456928bd5551a"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchaseExportService.purchase_data (cognitive 33): PurchaseExportService.purchase_data has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 18, if/else 10, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/purchase_export_service.rb"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f09bddeb8dfc64999e4bab65c448f42741017ec5af0cf52d883ef433070a20"}},{"ruleId":"D2","level":"warning","message":{"text":"New.LoginPage (cognitive 33): New.LoginPage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 7 (11 pts), boolean chains 7, error handling 1 (nesting depth added 9). Most of this is not in the body itself: 9 of the 33 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 81, 148, 152). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Logins/New.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"088cd6b0d9ddb119eb4f1710b0448cad16cdcb57ee0bc56d6642e3ed54440d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeChargeProcessor.debit_stripe_account_for_australia_backtaxes (cognitive 32): StripeChargeProcessor.debit_stripe_account_for_australia_backtaxes has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (27 pts), error handling 1 (2 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6c72f78249a7321a1b87a43fb24f76ea0223dc87f74c61781d33971950ca59"}},{"ruleId":"D2","level":"warning","message":{"text":"Link.description_scrubber (cognitive 32): Link.description_scrubber has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 5, error handling 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7682e293b99e7c822a002134ad65d32c6c109b2e0581fdf6847a5b2fce0a19"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.minimum_paid_price_cents (cognitive 32): Purchase.minimum_paid_price_cents has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 8 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13583ddc5e253b3b65d6bd15bff65eba5494a1d870879d48bd5c7c7f6240a45"}},{"ruleId":"D2","level":"warning","message":{"text":"Subscription.process_purchase! (cognitive 32): Subscription.process_purchase! has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 6, ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dce3a3bcaec6efef28792d27744a836d534582ac5a46a2275d5abc21eb63967"}},{"ruleId":"D2","level":"warning","message":{"text":"Subscription.resume_held_indian_card_mandate! (cognitive 32): Subscription.resume_held_indian_card_mandate! has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 2, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"693a5d8247bcc13f2a622a6870977ed7a1547fa9fcca1e3f12206b505e0e6b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Subscription.unsubscribe_and_fail! (cognitive 32): Subscription.unsubscribe_and_fail! has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"429ba7fbcdb6e1a407b7a6473e14525c7df489cebbd85c6a3cefa523b2b37cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"VariantCategoryUpdaterService.perform (cognitive 32): VariantCategoryUpdaterService.perform has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 3 (7 pts), ternaries 2 (6 pts), boolean chains 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/variant_category_updater_service.rb"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b1f02b730892ce6e451a67812858c4b1006862182e6cb45a1d1d2713cfc3dd"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.update (cognitive 31): ProductController.update has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/bundles/product_controller.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0af50925fabee21298737349346dc5007e4c21a8459466aa2d60e48c714947"}},{"ruleId":"D2","level":"warning","message":{"text":"WithFiltering.add_and_validate_filters (cognitive 31): WithFiltering.add_and_validate_filters has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 9, boolean chains 8 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/with_filtering.rb"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fc76e9b58f2dbc594a7e1829e1f744e79b78b0a5e92cd27edafe4933a60021"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicClient.stream_messages (cognitive 31): AnthropicClient.stream_messages has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 4 (6 pts), boolean chains 4, match/switch 2 (3 pts), ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/anthropic_client.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae89299c82bb8bab2756da1ed79324269122a58b724c3f8f3b89eb65a74ee5c"}},{"ruleId":"D2","level":"warning","message":{"text":"BuyerCurrencyQuote.charge_quote_for (cognitive 31): BuyerCurrencyQuote.charge_quote_for has cognitive complexity 31 (threshold 15). Drivers by points: if/else 25 (26 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f307b534738d8a9b3e46cd4e1a386a1d4f8c922df3ea8538f647c5cee06cc9a"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateProductFilesArchiveWorker.build_archive (cognitive 31): UpdateProductFilesArchiveWorker.build_archive has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 5, error handling 3 (4 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/update_product_files_archive_worker.rb"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a49f8f39f76ecc79b38f2f2654e9180b9dfd5a3b09e9c3b1344c7a5a915419"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigurationSelector.CallDateAndTimeSelector (cognitive 31): ConfigurationSelector.CallDateAndTimeSelector has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 9 (11 pts), boolean chains 5, loops 2 (nesting depth added 5). Most of this is not in the body itself: 12 of the 31 points are its own statements and the rest belongs to 8 function items inside it that branch (getAvailableStartTimesByDate, a function literal at line 456, a function literal at line 505, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"43118e37e51561928b7760c18b4fb72807c7aa22736304c1533c2bd27f39f825"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.Show (cognitive 31): Show.Show has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 25 (37 pts), if/else 8 (9 pts), boolean chains 8, error handling 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Show.Show::handleFileUpload) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8648c8f988801ed7b237be3b68b811aa5802a92c6fdcc9d5721fe734132894c"}},{"ruleId":"D2","level":"warning","message":{"text":"Read.PdfReader (cognitive 31): Read.PdfReader has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15, ternaries 8 (12 pts), boolean chains 4 (nesting depth added 4). Most of this is not in the body itself: 6 of the 31 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 273, a function literal at line 218, a function literal at line 292, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1730bce17fe5f3c671dc3b13b6c6ea34c2603bb669fdb6c02a95fe1b6d7c85c"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchasesController.refund (cognitive 30): PurchasesController.refund has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/purchases_controller.rb"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd18375463a330f3cf87dbb84b3d5c0cefd54af34b88537abe3a499e577e4458"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderInfo.purchase_sales_tax_info_business_vat_id_label (cognitive 30): OrderInfo.purchase_sales_tax_info_business_vat_id_label has cognitive complexity 30 (threshold 15). Drivers by points: if/else 24, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/invoice_presenter/order_info.rb"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"319a48eb42cf4003b9973d313edd47d3eb2654f3f1d105e75f32465bb5719005"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreAgentService.write_fields (cognitive 30): StoreAgentService.write_fields has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 12, ternaries 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_service.rb"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bd59ec4c3cfe525b78e743deb5bb5ce5e0d6fe249bcc393303391512335c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReassignByEmailService.perform (cognitive 30): ReassignByEmailService.perform has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/reassign_by_email_service.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb6b8dc12d15ea4ce6d6c9b4688f3257cd07b23b0211d47a5a660b5c29e1d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"SalesChart.SalesChart (cognitive 30): SalesChart.SalesChart has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (18 pts), boolean chains 7, if/else 5 (nesting depth added 5). Most of this is not in the body itself: 6 of the 30 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 161, 192, 235, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/SalesChart.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceda96d85caedfe0416382282a6c181f5cbe154e017da0cf10b447508d47d345"}},{"ruleId":"D2","level":"warning","message":{"text":"cartState.getDiscountedPriceForItem (cognitive 30): cartState.getDiscountedPriceForItem has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 6 (13 pts), boolean chains 3, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/cartState.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"266020c20181cfadbc6ef86edca6966554862413f772928e2e9cfd5ab449a6c6"}},{"ruleId":"D2","level":"warning","message":{"text":"RichTextEditor.useRichTextEditor (cognitive 30): RichTextEditor.useRichTextEditor has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 6, ternaries 5 (6 pts), error handling 1, loops 1 (nesting depth added 2). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 361, walk, a function literal at line 449, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c9138c0cc6c21d2d87b5944d5e89d4bae5e849d9bfb00947ad887c3a1a8d6d"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.streamAgentMessage (cognitive 30): agent.streamAgentMessage has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 3 (4 pts), error handling 2, ternaries 2, boolean chains 1, match/switch 1 (nesting depth added 9). Of this number, 19 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/agent.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd55a648abaca00dc297a7766f2c8152011e31667af5cf8cfe1f8f62421e84e"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.later_charge_presentment_processor_args (cognitive 29): Purchase.later_charge_presentment_processor_args has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":5077}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c39a564088261d249ee9a10d17678b66c7f8aa3154e857c62e75529ea8e8d06"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutPresenter.checkout_product (cognitive 29): CheckoutPresenter.checkout_product has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 16, ternaries 7 (8 pts), if/else 4 (5 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout_presenter.rb"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2072a670e21de8089e64070f634a775e17c3b6d704d6d0db1827ea6f5a6e46b5"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutPresenter.subscription_manager_props (cognitive 29): CheckoutPresenter.subscription_manager_props has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 18, if/else 6, ternaries 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout_presenter.rb"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8b01801faf610066f22eb0d38cabd6558670f3651fe6bb6e1049dfa22a02e6"}},{"ruleId":"D2","level":"warning","message":{"text":"UpsellsPage.UpsellDrawer (cognitive 29): UpsellsPage.UpsellDrawer has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 14 (25 pts), boolean chains 4 (nesting depth added 11). Of this number, 17 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da47a7f9f8cc2a7c195a82c5edc36be102f7f2772d8efa2bdf30735d6e49cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordIntegrationEditor.DiscordIntegrationEditor (cognitive 29): DiscordIntegrationEditor.DiscordIntegrationEditor has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 7 (22 pts), if/else 4 (6 pts), loops 1 (nesting depth added 17). Of this number, 22 points are the body\u0027s own statements and 7 belong to 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DiscordIntegrationEditor.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"232404aba6c2dac2c33eaa2d67fc0bf6b58d115815d3beeff1a64342e7375626"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.FollowersPage (cognitive 29): Index.FollowersPage has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 11 (23 pts), boolean chains 4, if/else 2 (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Followers/Index.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b146ee762524561ec2e0d220dd326725abd792afe8108a4b44f64adf446b9d5f"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeChargeProcessor.refund! (cognitive 28): StripeChargeProcessor.refund! has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (16 pts), error handling 4 (7 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0dd9e48fdbc14b79e74dbfc4d8331c7cf39581dc2eeec511a906e502f95a0"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerSurchargeController.calculate_all (cognitive 28): CustomerSurchargeController.calculate_all has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 10, ternaries 9, if/else 8, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/customer_surcharge_controller.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed9c77de3c94ecdd9bf50b5abfe420302d78d9edec48d105e69f473bc90928d"}},{"ruleId":"D2","level":"warning","message":{"text":"LinksController.sanitized_price_check_overrides (cognitive 28): LinksController.sanitized_price_check_overrides has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 8 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fe5373cca24da0895956b4a52493a9fd00bb6825afcf3a0dbd6c2ac0a814dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Installment.download_url (cognitive 28): Installment.download_url has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 11, ternaries 1 (2 pts) (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":"app/models/installment.rb"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf3d11275df8926b8355581db5be4e87f3d1626f326f90ff653b65fdbb819b6"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileSectionsPresenter.section_props (cognitive 28): ProfileSectionsPresenter.section_props has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), ternaries 2 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/profile_sections_presenter.rb"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"baadd7aed0d02918ff36b1cc8b440d9494c14a29ee19cf9106fe17ff004d72e2"}},{"ruleId":"D2","level":"warning","message":{"text":"PostSendgridApi.build_personalization_for_recipient (cognitive 28): PostSendgridApi.build_personalization_for_recipient has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_sendgrid_api.rb"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb86b06677a47192b8a3af0053db333e94d5454be8900f8a998672e13b19895a"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentForm.PaymentForm (cognitive 28): PaymentForm.PaymentForm has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 6 (9 pts), boolean chains 7 (nesting depth added 6). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2053, 2035, 2065). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab732ceeca3ca44e93429e5f6b3af45c84ae5bcd222b68bb82cfbc03a802526a"}},{"ruleId":"D2","level":"warning","message":{"text":"UpsellsPage.Form::handleSubmit (cognitive 28): UpsellsPage.Form::handleSubmit has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 10, ternaries 5 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (UpsellsPage.Form) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46157b238ff0e111a380d9480e6514922278d46204592800eb7ca3415980df9"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEmails.EmailRow (cognitive 28): WorkflowEmails.EmailRow has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 12 (21 pts), boolean chains 4, if/else 3 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafb9e99031f0f27f5f7cebd5bd9b21da9feea8ba07941ed5843f7f8866d723f"}},{"ruleId":"D2","level":"warning","message":{"text":"SalesTaxCalculator.calculate_with_lookup_table (cognitive 27): SalesTaxCalculator.calculate_with_lookup_table has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 3 (8 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/sales_tax/sales_tax_calculator.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cdeaf7a0c40a2c224f0735c64c1663520f808ea6c9faade561497aac068166"}},{"ruleId":"D2","level":"warning","message":{"text":"Subscription.update_renewal_for_indian_card_mandate! (cognitive 27): Subscription.update_renewal_for_indian_card_mandate! has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97d0e45f2e6645853ad3ac14ad4a1a5b371402aa462b77907682be0ec7bf54f"}},{"ruleId":"D2","level":"warning","message":{"text":"PingNotification.payload_for_ping_notification (cognitive 27): PingNotification.payload_for_ping_notification has cognitive complexity 27 (threshold 15). Drivers by points: if/else 25 (26 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/ping_notification.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ea5c7c79c0f61c0dfb4352593c30d51b73f96c25cf31086bbf25e2a240e487"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.refund_gumroad_taxes! (cognitive 27): Purchase.refund_gumroad_taxes! has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 4 (10 pts), boolean chains 3, ternaries 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/refundable.rb"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d5623ba91ef0612b80164ddc16591b3e40333126ec7199365eef44900839f0"}},{"ruleId":"D2","level":"warning","message":{"text":"CreatePublicMediaService.process (cognitive 27): CreatePublicMediaService.process has cognitive complexity 27 (threshold 15). Drivers by points: error handling 6 (16 pts), if/else 6, boolean chains 4, ternaries 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":"app/services/create_public_media_service.rb"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec7f8a591268e5a1689daab6279b47cff648a60ea1d821b8478bc12b858c05a"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillLegacyFeatureAnnouncementPreferences.process (cognitive 27): BackfillLegacyFeatureAnnouncementPreferences.process has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 10, loops 1, ternaries 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":"app/services/onetime/backfill_legacy_feature_announcement_preferences.rb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"481f27eb60708eae57e7e173b46ef05dfdd1378f759444c4b0364e430c6c5eb1"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomFields.CustomField (cognitive 27): CustomFields.CustomField has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 13 (26 pts), match/switch 1 (nesting depth added 13). Of this number, 23 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/CustomFields.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1076ffd0c212af8f868b981b7ee88feccf5ab27961f3b8dad33936591337831b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.TipSelector (cognitive 27): index.TipSelector has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (18 pts), boolean chains 8, if/else 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7be5919d5edadfc76bbb8811f1cf821ac132c2796be024325658d7ba328d478"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductPreview.ProductPreview (cognitive 27): ProductPreview.ProductPreview has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 18 (22 pts), boolean chains 3, if/else 2 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 13 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductPreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb52c8a5f800dbdb0f33b303ef588a02e2b610273fcc020b73457d154d32cc93"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionsPopover.ActionsPopover (cognitive 27): ActionsPopover.ActionsPopover has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 14 (19 pts), boolean chains 4, error handling 4 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/ActionsPopover.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5a1909e6b655d4f1eeb914cee091868f0547a2b4faf5e61061f4f8d8b219d4"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.CheckoutIndexPage (cognitive 27): Show.CheckoutIndexPage has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 38 (58 pts), if/else 45 (54 pts), boolean chains 43, loops 5 (7 pts), error handling 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Show.CheckoutIndexPage::pay) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bde7b14a78da2fe207ec19bb3ef018d14b888e1445d22a7c3c08983ab997f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.PeriodBankAccount (cognitive 27): Index.PeriodBankAccount has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 13 (25 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb32befb23e9880a781f7fa98191fa7149fd6cd839474aba31d77dae34a1890"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.PasswordPage (cognitive 27): Show.PasswordPage has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 6, if/else 6, error handling 2 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Password/Show.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23d540249f9d7b1ec108b286ae037f3c828659939042251109c2ebd839427e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.TeamMembersSection (cognitive 27): Show.TeamMembersSection has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 3 (5 pts), boolean chains 3, error handling 2 (3 pts), match/switch 1 (nesting depth added 9). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 4 function items inside it that branch (handleOptionChange, a function literal at line 306, a function literal at line 278, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Team/Show.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcf43efaf7ca38e05332dfcb94b7e257263a4db8a8af8c448d6be68ec989cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeChargeProcessor.get_refund (cognitive 26): StripeChargeProcessor.get_refund has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b285e41fb25d9bfe07cc9f43f0a396da4d27a97a2d670326e65d28cb7b7355e"}},{"ruleId":"D2","level":"warning","message":{"text":"AffiliatesController.process_affiliate_params (cognitive 26): AffiliatesController.process_affiliate_params has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 9, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/affiliates_controller.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead4a65c8117b05ff61d8f9ce58051f3a32080f8fc0707fdb7c3465ebc9d78a4"}},{"ruleId":"D2","level":"warning","message":{"text":"PayoutsHelper.payout_method_details (cognitive 26): PayoutsHelper.payout_method_details has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/payouts_helper.rb"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5b1095675c8894c08650a8c5d950f00c7b9c07278a5597301d01a77deefe15"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.set_price_and_rate (cognitive 26): Purchase.set_price_and_rate has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 6 (8 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1701cf86331658d30e083ca62540ef506a6de1b6b0737f8606a71cccbc6ff01c"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.json_data_for_mobile (cognitive 26): Purchase.json_data_for_mobile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"7641476c32841e14dcf50b00760ea71241b5193f64e605e04b09ef9c33bb9761"}},{"ruleId":"D2","level":"warning","message":{"text":"Subscription.update_current_plan! (cognitive 26): Subscription.update_current_plan! has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14, boolean chains 8, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d8a5698b66ef0f76ae4c6cbe8d39f7b204a346165eeefb0f226f72a8e0b551"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductPresenter.edit_props (cognitive 26): ProductPresenter.edit_props has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 11, ternaries 8 (9 pts), if/else 5 (6 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/product_presenter.rb"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3bac6f58505beb54994897cf15b60f5b633c0f57308996e58f1237f2defc24"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdaterService.charge_user! (cognitive 26): UpdaterService.charge_user! has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, if/else 9 (11 pts), ternaries 1 (2 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcab8d79db6afd82af156de6a9688817c9eb750ed211db262d15666a1b6f6494"}},{"ruleId":"D2","level":"warning","message":{"text":"ManageService.process (cognitive 26): ManageService.process has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, ternaries 2 (4 pts), error handling 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/workflow/manage_service.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af13aa042711679117e5a8118c5651528c21480ef2e1cc8cc14a4fb85e7bb0b"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateSalesReportJob.perform (cognitive 26): GenerateSalesReportJob.perform has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, boolean chains 5, ternaries 3 (5 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/generate_sales_report_job.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d46d13f9d293f64f8275c0a88258e96e4c4ce7d97967982bd149ad2d1814a63"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleWorkflowInstallmentJob.perform (cognitive 26): ScheduleWorkflowInstallmentJob.perform has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 10, match/switch 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":"app/sidekiq/schedule_workflow_installment_job.rb"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a2b84c82e74d2aa81db5a023dddd55e205c7a55e0acf74ddbfb0ff1ef71050"}},{"ruleId":"D2","level":"warning","message":{"text":"PostCommentsSection.CommentContainer (cognitive 26): PostCommentsSection.CommentContainer has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 12 (17 pts), boolean chains 5, error handling 2, if/else 2 (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc198968f81d4fccadfc5494dc0a14a4498a7bd11e42a894c14b55ccdff704ba"}},{"ruleId":"D2","level":"warning","message":{"text":"TiersEditor.TierEditor (cognitive 26): TiersEditor.TierEditor has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 12 (21 pts), if/else 2 (3 pts), boolean chains 2 (nesting depth added 10). Of this number, 14 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6405974d98532fbd23eda3bf2f14a77f5054fdf0541e4afc24f356e4bf927731"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionsForm.SectionRow (cognitive 26): SectionsForm.SectionRow has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (23 pts), boolean chains 1, error handling 1, if/else 1 (nesting depth added 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f424b6ba05925c5133e788973a85917c727eb062f19890f3e0529b073dc1eb1"}},{"ruleId":"D2","level":"warning","message":{"text":"TestimonialSelectModal.TestimonialSelectModal (cognitive 26): TestimonialSelectModal.TestimonialSelectModal has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 9 (10 pts), boolean chains 4, error handling 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TestimonialSelectModal.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0111b97275ceb82e2a380cd7bd6a7856112f0da10ccd9bcdf112815723e7ea12"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.MainPage (cognitive 26): Show.MainPage has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 9, if/else 4 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6627b6cf9bb7955334d4d7855693d123971e66952fed890e8487c971b9fdfd"}},{"ruleId":"D2","level":"warning","message":{"text":"styles.getAppliedStyles (cognitive 26): styles.getAppliedStyles has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (11 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 16). 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/javascript/utils/styles.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbee99a2254292e5ef8b82d6477cf10c8017f6386dcacf33049990a63b4f9ea"}},{"ruleId":"D2","level":"warning","message":{"text":"StripePayoutProcessor.handle_stripe_event (cognitive 25): StripePayoutProcessor.handle_stripe_event has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 3 (7 pts), boolean chains 2, ternaries 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"927e16838f97ff1e413a4a978f3645c7a1c68e350dbe322ba17477a86fca4e92"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutController.update (cognitive 25): CheckoutController.update has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8, ternaries 3, 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":"app/controllers/checkout_controller.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6fc9fb9c6c076d1cc173a02ddb62a0182eff4eabed8b1c961cc78016149c5e"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.calculate_taxes (cognitive 25): Purchase.calculate_taxes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 10 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":5568}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bca0cc4373a24f0bda5b30fb313f8b034110965d559d71eced0e352396c58bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentExtractor.self_contained_svg? (cognitive 25): ContentExtractor.self_contained_svg? has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/content_extractor.rb"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b1b66d79d12409717df3b58ef05818409454eb1e0a4729b501d5f285d78671"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassifierStrategy.perform (cognitive 25): ClassifierStrategy.perform has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/strategies/classifier_strategy.rb"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c961418b3c8c2198e463f1c146dc05808928cd00c8dd1053e8a3a86653a0077"}},{"ruleId":"D2","level":"warning","message":{"text":"index.CurrencyPicker (cognitive 25): index.CurrencyPicker has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 11, if/else 2 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0100aaa4cf54ff5cf65902f5af7de5d0e0c3b74ba05ae2959e22cbc1db4fdaa0"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessage.ChatMessage (cognitive 25): ChatMessage.ChatMessage has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 7 (8 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 12 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessage.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a14cffffec4e132e434f303761d0fea6c32c90cc20dfc3d85e5d4c15fd64bc"}},{"ruleId":"D2","level":"warning","message":{"text":"shared.ResendToNonOpenersButton (cognitive 25): shared.ResendToNonOpenersButton has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (18 pts), boolean chains 4, error handling 2, if/else 1 (nesting depth added 11). Of this number, 21 points are the body\u0027s own statements and 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/shared.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e6f34cd1d82b5ef66dd67545d01c50555fa688548173cf370db5eeee2fe864"}},{"ruleId":"D2","level":"warning","message":{"text":"Edit.BundlesProductEdit (cognitive 25): Edit.BundlesProductEdit has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 8, if/else 5 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Product/Edit.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2e14cb38efccf27c981fcb87faba3fd57a6b46163608c6b1d33647e1f3ac2e"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.Churn (cognitive 25): Show.Churn has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (17 pts), if/else 6, boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 222, 250, 188, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Churn/Show.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba368185abc7994cc78d2477998eb82bc62acb440d9aa22af7fe279bf145aac2"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.person_hash (cognitive 24): StripeMerchantAccountManager.person_hash has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2e20f397c6d847c6b7ad4498718560ca2ed49723f34da9c235d1963e6c51fa"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalPayoutProcessor.is_user_payable (cognitive 24): PaypalPayoutProcessor.is_user_payable has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8cfb397c620453c0bb6efe5731a2cd18f3e082a2c570fe4869fa79c92c93f1"}},{"ruleId":"D2","level":"warning","message":{"text":"LinksController.update_sections (cognitive 24): LinksController.update_sections has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6, ternaries 1 (2 pts), error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"73603983eada458534a2cdba46cf9fa18d68b558af88804a9581ccf0def03cd5"}},{"ruleId":"D2","level":"warning","message":{"text":"SalesController.index (cognitive 24): SalesController.index has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 5 (7 pts), ternaries 4 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/sales_controller.rb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afbfd3a715bc9ec1a5129909a1ae2974ce8d883d9d1f388ced1d826664a53d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Link.cart_item (cognitive 24): Link.cart_item has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 14, ternaries 6, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb53ceb52e9a3ec5f9d987babafa344c6e291e9bb4385b2c996da4276dc7be4"}},{"ruleId":"D2","level":"warning","message":{"text":"BuyerCurrencyEligibility.direct_listed_line_items_eligible? (cognitive 24): BuyerCurrencyEligibility.direct_listed_line_items_eligible? has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_eligibility.rb"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bb18229340b73a4d243e44ba5939d1c8783e71c6ae19a66c1202c4757f46d3"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeCartsService.process (cognitive 24): MergeCartsService.process has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, error handling 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":"app/services/merge_carts_service.rb"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"197f80f6576f0885eb6ffa67b167bdb0185428fe9b87ff76434392500ea3e070"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillMembershipAdvanceRenewalReminders.process (cognitive 24): BackfillMembershipAdvanceRenewalReminders.process has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 2 (3 pts), boolean chains 2, ternaries 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_membership_advance_renewal_reminders.rb"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7a4145e9417861b8b2b316ae76c21cdf1a225a14886008a22074dbcd01c9e5"}},{"ruleId":"D2","level":"warning","message":{"text":"TriageUnlinkedStripeBankAccounts.classify (cognitive 24): TriageUnlinkedStripeBankAccounts.classify has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/triage_unlinked_stripe_bank_accounts.rb"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"269bc907e25d8c6f5ddabfa8185b9e279dae7faec5adf36b375ef14b69d5233b"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentForm.SharedInputs (cognitive 24): PaymentForm.SharedInputs has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 8, if/else 2, match/switch 1 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"42644e8ae8adcaa1744543f9228775995d596dfe5c5a2ed53ea9f5fc97d5f913"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedMenu.MenubarItem (cognitive 24): NestedMenu.MenubarItem has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 7 (nesting depth added 5). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (handleToggleMenu, a function literal at line 259, a function literal at line 214, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/NestedMenu.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e033167e2434e5b40d42d5fd5e74f32425d2efc2a34270a306627a0cdb02d3"}},{"ruleId":"D2","level":"warning","message":{"text":"CardGrid.useSearchReducer (cognitive 24): CardGrid.useSearchReducer has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 4 (9 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 9). None of this is in the body itself: all 24 points belong to 2 function literals inside it that branch (lines 106, 75). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CardGrid.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db98d683738dc79c01218919215c614ff65b05d81a2ea0e4b9f50dccdbe1974"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.CtaBar (cognitive 24): Layout.CtaBar has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 14 (17 pts), if/else 4, boolean chains 3 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Layout.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97633d3d40112df2503e7760c57ff971c64d6b0320c7d675123471ccecadf1b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ExistingPurchaseCard (cognitive 24): index.ExistingPurchaseCard has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (22 pts), boolean chains 1, if/else 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/index.tsx"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6c671ca0222abae2cf64d7b165af70ca1ee1b321bcffab33ebca2f5132c0ed"}},{"ruleId":"D2","level":"warning","message":{"text":"FollowForm.FollowForm (cognitive 24): FollowForm.FollowForm has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 7 (9 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to one function item inside it that branches (submit). 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":"app/javascript/components/Profile/FollowForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"23423b275f0aafa7e3b31da720359c012fc13354a1848fbc4561d3da45843010"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthenticatorSetup.AuthenticatorSetup (cognitive 24): AuthenticatorSetup.AuthenticatorSetup has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4 (8 pts), boolean chains 4, error handling 2 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/AuthenticatorSetup.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"029170852fda9ad46805d92c1fb7800b26cb826b4736d2e55039fa78603167ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductEditPage.ProductEditPage (cognitive 24): ProductEditPage.ProductEditPage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 29 (38 pts), ternaries 22 (37 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 24). 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 shape REPEATS in the file: one other method here (ProductEditPage.ProductEditPage::performSave) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0723fddced25e5768129c8f3681db973ccf22b80bdb475ec944896178f936f"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.HelpCenterArticle (cognitive 24): Show.HelpCenterArticle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4, error handling 1 (2 pts), loops 2, ternaries 2 (nesting depth added 3). None of this is in the body itself: all 24 points belong to 7 function literals inside it that branch (lines 152, 210, 237, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/HelpCenter/Articles/Show.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"240f36e5734773a7e786ec8cff8fae1748a2d26c5561ff74b4d5aa87988a2cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.SocialConnectionsPage (cognitive 24): Show.SocialConnectionsPage has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 15 (19 pts), boolean chains 4, error handling 1 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 12 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/SocialConnections/Show.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c611e10540838e6a2bf1b4d50d78eb44aee4e36f4e461632d0de8b7d15ee48f"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.TwoFactorAuthentication (cognitive 24): Show.TwoFactorAuthentication has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 5, if/else 4, match/switch 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/TwoFactorAuthentication/Show.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dd1e814ca57ff73e59b362fde030f0c3c1d20ee3013dda7fce4f1d0ab5172f"}},{"ruleId":"D2","level":"warning","message":{"text":"prepareImageForUpload.prepareImageForUpload (cognitive 24): prepareImageForUpload.prepareImageForUpload has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, ternaries 4, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/prepareImageForUpload.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c36f0025b82429dd456e0c872bd9f1c1a6cdb843df8963b8bc514f2a589ba4"}},{"ruleId":"D2","level":"warning","message":{"text":"BraintreeChargeProcessor.create_payment_intent_or_charge! (cognitive 23): BraintreeChargeProcessor.create_payment_intent_or_charge! has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (17 pts), error handling 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/braintree/braintree_charge_processor.rb"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"499d9274a5078967fe5c19844dbf1415d2623a7339774898b79b89cfeeacb7db"}},{"ruleId":"D2","level":"warning","message":{"text":"SignupController.create (cognitive 23): SignupController.create has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 2 (7 pts), boolean chains 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":"app/controllers/signup_controller.rb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc88f3291954bc116947ffd3184f5b54bd26c7e87137cc4d520f154514038b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.not_double_charged (cognitive 23): Purchase.not_double_charged has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 2, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":6001}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b03586f7b88312190d991e196139df584d87940f5fbed84900e6847903eace"}},{"ruleId":"D2","level":"warning","message":{"text":"Base.payout_data (cognitive 23): Base.payout_data has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/payouts/base.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a5dd9c2d91ce5c31f20dcbec745234ea5bab52b79fcce5ddcf8cd8f00ee3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChargeService.register_india_mandate_for_off_session_cart! (cognitive 23): ChargeService.register_india_mandate_for_off_session_cart! has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13cdef2f7c9b7af6b49bae67c66c6342efb1a25e4bc0280741b5bb8ebed34d9"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdaterService.validate_indian_card_mandate! (cognitive 23): UpdaterService.validate_indian_card_mandate! has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 10, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29721ebf13808afa875247acc6f3797c65db5ce8550680626dd9158120ae4fb"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateUsStateMonthlySalesReportsJob.perform (cognitive 23): CreateUsStateMonthlySalesReportsJob.perform has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, error handling 2 (3 pts) (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":"app/sidekiq/create_us_state_monthly_sales_reports_job.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4eb51d8ed699921d8db7b043cb4c96818456bbd7bfe337ea01d59ee07a8684"}},{"ruleId":"D2","level":"warning","message":{"text":"FileList.MobileAppAudioFileRow (cognitive 23): FileList.MobileAppAudioFileRow has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 7, if/else 3 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"d861817fcda57971ea6405d7a383bb6ebda462f8d8f237c60971cc12ad08d132"}},{"ruleId":"D2","level":"warning","message":{"text":"selectionDiscounts.useSelectionDiscounts (cognitive 23): selectionDiscounts.useSelectionDiscounts has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9 (12 pts), boolean chains 7, if/else 4 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/selectionDiscounts.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5406ccb807567fd297fb4c21704f5dad32a5068d8599dd61d21527de24242314"}},{"ruleId":"D2","level":"warning","message":{"text":"product_edit.applyRichContentPageSaveResponse (cognitive 23): product_edit.applyRichContentPageSaveResponse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6, ternaries 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_edit.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"605b26218aa8cd1534e20dc8a92320861c9857bc44efbbfff0934fa2c5623110"}},{"ruleId":"D2","level":"warning","message":{"text":"Edit.AffiliatesEdit (cognitive 23): Edit.AffiliatesEdit has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 4 (5 pts) (nesting depth added 1). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 8 function items inside it that branch (handleSubmit, a function literal at line 119, toggleAllProducts, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Edit.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f693ead4fe8cc70d6c7ae549c3976fe6f2d41cd9c6fb473496a09d74ea707e"}},{"ruleId":"D2","level":"warning","message":{"text":"New.AffiliatesNew (cognitive 23): New.AffiliatesNew has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 9, if/else 8, ternaries 5 (6 pts) (nesting depth added 1). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (handleSubmit, a function literal at line 117, toggleAllProducts, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/New.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fa8b6b7bb599c1af5e071f0508cd03b036850342f56ad1e819e2ce3703268f"}},{"ruleId":"D2","level":"warning","message":{"text":"StripePayoutProcessor.is_user_payable (cognitive 22): StripePayoutProcessor.is_user_payable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"583427ae68160023269d953f3788a6c05c77c6f664cca142d8536a173e88d5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"BalanceTransaction.find_or_create_balance (cognitive 22): BalanceTransaction.find_or_create_balance has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/balance_transaction.rb"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0901756a82d646a5f00a40444323c6376c60ea4fdaea5539b1cddb3691faf73c"}},{"ruleId":"D2","level":"warning","message":{"text":"OfferCode.validate_default_discount_remains_applicable (cognitive 22): OfferCode.validate_default_discount_remains_applicable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 4 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/offer_code.rb"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"e393d645f47ab0c5eb010eecfca7868031fd272b652cff2fd3dd6686572aea19"}},{"ruleId":"D2","level":"warning","message":{"text":"Payment.terminal_paypal_failure_seller_solution (cognitive 22): Payment.terminal_paypal_failure_seller_solution has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17 (21 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":"app/models/payment.rb"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3ffd01f522dd96ba637b80962fa8c778f980bcea115060a6b15e3f7ede5f55"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassifierStrategy.moderate (cognitive 22): ClassifierStrategy.moderate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (8 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/strategies/classifier_strategy.rb"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a7d998b3cf68d731d8c0905723cab8346edf8ea692934200eebfe5f9f224fb"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdatePayoutMethod.process (cognitive 22): UpdatePayoutMethod.process has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/update_payout_method.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8916d825df399b90add5e07e917c2d1cc86290ac8fcfd6222d4a5e0404bbb64"}},{"ruleId":"D2","level":"warning","message":{"text":"FailAbandonedPurchaseWorker.perform (cognitive 22): FailAbandonedPurchaseWorker.perform has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/fail_abandoned_purchase_worker.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73bdd0f3af99b8c83637f6a05b71483bc56bd3462c0f8080e2de706b95ecda4"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryStripeRejectedPayoutSetupForSellerJob.attempt_remediation (cognitive 22): RetryStripeRejectedPayoutSetupForSellerJob.attempt_remediation has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/retry_stripe_rejected_payout_setup_for_seller_job.rb"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"592b632faaa557c2739b6f892ac264306312c5431ab0f0a5d635fa1eeaf4c712"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleMembershipPriceUpdatesJob.perform (cognitive 22): ScheduleMembershipPriceUpdatesJob.perform has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, ternaries 3, error handling 1 (2 pts), loops 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/schedule_membership_price_updates_job.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f24473eab25c53aca0d273ff78c3ff017f6db87dda3003fef4015e1ae221a0d"}},{"ruleId":"D2","level":"warning","message":{"text":"buyerCurrencyDisplay.getCheckoutListedCurrencyDisplay (cognitive 22): buyerCurrencyDisplay.getCheckoutListedCurrencyDisplay has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/buyerCurrencyDisplay.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"732c69cdd6a4b3032cc2df6d22ab172da03a802b9a247d2f20fba95c41f093d2"}},{"ruleId":"D2","level":"warning","message":{"text":"PostCommentsSection.PostCommentsSection (cognitive 22): PostCommentsSection.PostCommentsSection has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 5, boolean chains 3, error handling 3 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e65052dc631347ff0ad88a8142f7e694a97ccb285b328e98af1c34304c6a854"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareSection.ShareSection (cognitive 22): ShareSection.ShareSection has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (13 pts), if/else 4 (6 pts), boolean chains 2, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 120, a function literal at line 99, a function literal at line 169, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ShareSection.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"76710c21870768dd7e03852082deba9cb15b4907afc7b53c6b068770975eb342"}},{"ruleId":"D2","level":"warning","message":{"text":"AvailabilityEditor.AvailabilityEditor (cognitive 22): AvailabilityEditor.AvailabilityEditor has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 6 (9 pts), boolean chains 3 (nesting depth added 7). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 93, a function literal at line 62, a function literal at line 128, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/AvailabilityEditor.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b47a8f73ada20ce73158876e00581f8546efb0370daaf2db973fb587422b51"}},{"ruleId":"D2","level":"warning","message":{"text":"WishlistsSectionView.WishlistsSectionView (cognitive 22): WishlistsSectionView.WishlistsSectionView has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (18 pts), boolean chains 2, error handling 1, if/else 1 (nesting depth added 8). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 51, 93, 30, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditSections/WishlistsSectionView.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c3cb402442b45570f9f35786121c03c94e6f74c723e44abed9094f709ca60b"}},{"ruleId":"D2","level":"warning","message":{"text":"FollowUserForm.FollowUserForm (cognitive 22): FollowUserForm.FollowUserForm has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 5 (7 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). Of this number, 11 points are the body\u0027s own statements and 11 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/FollowUserForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"479120001bc08e48912016952df2891e048e30bcdd042b4a17a1ffbde0ea60de"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewVideoRecorderClientOnly.ReviewVideoRecorderClientOnly (cognitive 22): ReviewVideoRecorderClientOnly.ReviewVideoRecorderClientOnly has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, boolean chains 6, ternaries 2 (3 pts), match/switch 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 8 function items inside it that branch (renderUiState, a function literal at line 210, clearRecordedVideo, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d10689e06f3f712e85a5b6c954084d69ad21c271a77aa4cfa3fd0427ead5c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicFileEmbed.NodeView (cognitive 22): PublicFileEmbed.NodeView has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (15 pts), boolean chains 6, if/else 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/PublicFileEmbed.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf1d25f8021067449e1dde2895ee333ed3177d4690e28f7e40273453a558dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeChargeProcessor.handle_stripe_capital_loan_event (cognitive 21): StripeChargeProcessor.handle_stripe_capital_loan_event has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11df1a69d0a81103c79980b95434b0639771368feddec8e97923e42231043b3"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalPayoutProcessor.search_payment_on_paypal (cognitive 21): PaypalPayoutProcessor.search_payment_on_paypal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6 (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":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51c61a2a9a763c1dae5bb8405329d02335cb61f14f7d41d5997136cdf3b08a3"}},{"ruleId":"D2","level":"warning","message":{"text":"SalesController.update (cognitive 21): SalesController.update has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 3, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/sales_controller.rb"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b38d32c69bec9dafa3db2fd70d4b36273267f0f4eff947054ababfcf0250ad"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactingCreatorMailer.notify (cognitive 21): ContactingCreatorMailer.notify has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/contacting_creator_mailer.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64d04ce21618ff0d121253f7cf2b7e9df0fb0fca4763fa2cc4ce1327d661b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"CreditCard.create_from_client_confirmed_intent! (cognitive 21): CreditCard.create_from_client_confirmed_intent! has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, ternaries 6, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/credit_card.rb"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"77601297aada694e50471d083f9ba3d14465a3603e68ff2385596ccfdf967bb1"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.confirm_charge_intent! (cognitive 21): Purchase.confirm_charge_intent! has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 4 (10 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":2434}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20186c8374a1a7bbba6f7957322254076f4be35cb38e5ed81212fa9ec963a17"}},{"ruleId":"D2","level":"warning","message":{"text":"Subscription.build_purchase (cognitive 21): Subscription.build_purchase has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd65506e145606eced2b1c59be195ce7bddb87f5967cd780ebd85675b5ec7f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillSelfAffiliateDroppedProceeds.check_eligibility (cognitive 21): BackfillSelfAffiliateDroppedProceeds.check_eligibility has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_self_affiliate_dropped_proceeds.rb"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6954205f685bbf9dffa62e45a0558b45f3cd7aa741ad6a8a6c6a85b4b69504bd"}},{"ruleId":"D2","level":"warning","message":{"text":"SubmitPaypalDisputeEvidenceJob.perform (cognitive 21): SubmitPaypalDisputeEvidenceJob.perform has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/submit_paypal_dispute_evidence_job.rb"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"23abed1183343f7061ad7359b09e09635c85722eb05153044657334be62c9f0c"}},{"ruleId":"D2","level":"warning","message":{"text":"PayPalConnectSection.PayPalConnectSection (cognitive 21): PayPalConnectSection.PayPalConnectSection has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (17 pts), if/else 4 (nesting depth added 10). Of this number, 17 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/PayPalConnectSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b685e14b0f2752477735589ef92b1d7e953aad5f184b24c6391d3b30abdacdef"}},{"ruleId":"D2","level":"warning","message":{"text":"FileList.VideoEmbedPreview (cognitive 21): FileList.VideoEmbedPreview has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, ternaries 5 (7 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 8 function items inside it that branch (startPlaying, a function literal at line 684, a function literal at line 696, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7cc10cae053dd113d0f67ed394fc630c8dcc052445474ebc85dcf92c898242"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailAttachments.filesReducer (cognitive 21): EmailAttachments.filesReducer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 1 (nesting depth added 10). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 412, 428, 444, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailAttachments.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b83051dce83c829746ea31ff8b11cfe99d65cf28c396f32cfc689110f363b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigurationSelector.OptionRadioButton (cognitive 21): ConfigurationSelector.OptionRadioButton has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 14 (20 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efe14353843ffe3ecaa6a49f60f4e90cf190fef03467c16e8318b89a3994f9c"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.update_account_attributes (cognitive 20): StripeMerchantAccountManager.update_account_attributes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f523ffd80a2410e4311ad621cad7118721319614fd0969ff8954d6c27ab2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalPayoutProcessor.topup_amount_in_transit (cognitive 20): PaypalPayoutProcessor.topup_amount_in_transit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 9 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2958acba55d181277834588d1de082de1de43294696dffd04bc7d66f84ead8"}},{"ruleId":"D2","level":"warning","message":{"text":"ThumbnailsController.create (cognitive 20): ThumbnailsController.create has cognitive complexity 20 (threshold 15). Drivers by points: error handling 4 (10 pts), if/else 7 (8 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/thumbnails_controller.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83ea09f56b32f0c62ae6d335db8da39862944ca879c8b5907f2b444b33c482e"}},{"ruleId":"D2","level":"warning","message":{"text":"VariantsController.update (cognitive 20): VariantsController.update has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 3 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/variants_controller.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"081474a39b4671922f9687069f129d831bc82d298b07d567880af01012b32242"}},{"ruleId":"D2","level":"warning","message":{"text":"UtmLinkTracking.track_utm_link_visit (cognitive 20): UtmLinkTracking.track_utm_link_visit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), error handling 3 (5 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/utm_link_tracking.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d887d60951d3dc85c051f34f7aaa1a14ccbc030d3b68630827822d0c575ec563"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateService.handle_existing_subscription (cognitive 20): CreateService.handle_existing_subscription has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 3, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"03751ff30e8cf172cdde95bf6eaafd326eec7722f94eb4f9d6ac518621442225"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdaterService.validate_saved_indian_card_mandate! (cognitive 20): UpdaterService.validate_saved_indian_card_mandate! has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"a148a8340e4bca33c9ff1909b29ab112489beb8a257f8c1b6a253e42531e8463"}},{"ruleId":"D2","level":"warning","message":{"text":"SendWorkflowEmailsToPastCanceledMembersJob.perform (cognitive 20): SendWorkflowEmailsToPastCanceledMembersJob.perform has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 8, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_emails_to_past_canceled_members_job.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41433a3ca3b6758926616c6fb8ca21d15f5c0114ea82b826b6b4d8f515e6b8e"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomFields.getCustomFields (cognitive 20): CustomFields.getCustomFields has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (7 pts), boolean chains 5 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/javascript/components/Checkout/CustomFields.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"14241c50c7811aaa3564adb73aa54cbfab8f56d866bc5b80f11022ac3219646f"}},{"ruleId":"D2","level":"warning","message":{"text":"payment.createReducer (cognitive 20): payment.createReducer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 2 (3 pts), error handling 1, ternaries 1 (nesting depth added 4). None of this is in the body itself: all 20 points belong to 5 function literals inside it that branch (lines 2012, 2094, 2115, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50559789952020c6a242dca25e9eaf2467e0f829d39a607c607de215d12fa3b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigurationSelector.applySelection (cognitive 20): ConfigurationSelector.applySelection has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, ternaries 7 (9 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5195aa9ed191109872d1e73019b5a4128a94cf2b9d264a805f4187570e8572"}},{"ruleId":"D2","level":"warning","message":{"text":"DescriptionEditor.DescriptionEditor (cognitive 20): DescriptionEditor.DescriptionEditor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (16 pts), ternaries 3, boolean chains 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 168, 273, 231, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf3cba824a07f7daea2b275d60d2aaf99736a8aec2f0d6c7a4a7a9d2a8b0aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewResponseForm.ReviewResponseForm (cognitive 20): ReviewResponseForm.ReviewResponseForm has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (17 pts), error handling 2, if/else 1 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewResponseForm.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d763a45f5753d55daab38d3803d3a3f500654b8c21f7287802b0d2479794c4"}},{"ruleId":"D2","level":"warning","message":{"text":"UpsellSelectModal.UpsellSelectModal (cognitive 20): UpsellSelectModal.UpsellSelectModal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 5 (6 pts), boolean chains 4, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 7 function items inside it that branch (fetchProducts, a function literal at line 156, selectProductOption, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UpsellSelectModal.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8fe7d5627d18558f67d9a2620c022a88dcc589baa79690bf45719dc8048b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Wishlist (cognitive 20): index.Wishlist has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (14 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Wishlist/index.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1b3ceaaf450ffe0a16c6cdeded4627e7fa33a3174c871a1ed411304d7fbaf5"}},{"ruleId":"D2","level":"warning","message":{"text":"product_save_contract.buildDeletionOperations (cognitive 20): product_save_contract.buildDeletionOperations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, loops 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_save_contract.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f0bab44e24572b35e0766fa5ff6d6a01154470abaf6ea14b47ce1109050774"}},{"ruleId":"D2","level":"warning","message":{"text":"Stream.Stream (cognitive 20): Stream.Stream has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 97, 106, 160, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Stream.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba8e1118cd48652381da130337810383e1ca50dc0352c534db05bbf6eca00d8"}},{"ruleId":"D2","level":"warning","message":{"text":"epub.removeRemoteEpubResources (cognitive 20): epub.removeRemoteEpubResources has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 6 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/epub.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0fa7506e6245242a39189407c878ed624ef0326c11ee06be9b8e3296798832"}},{"ruleId":"D2","level":"warning","message":{"text":"email.sift3Distance (cognitive 20): email.sift3Distance has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/email.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfc0e4e647ac7312f41875da03d00d90f586d4e0bf7c7f2468e7aa0392e8f0e"}},{"ruleId":"D2","level":"warning","message":{"text":"price.parseLocaleAwareCurrencyString (cognitive 20): price.parseLocaleAwareCurrencyString has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), ternaries 2 (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":"app/javascript/utils/price.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"171cc4e669cd5286ac1539c7e8e1b32e4353da0343a3ba74f3c0b2504f49e8af"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConversationPersistence.claim_agent_action (cognitive 19): AgentConversationPersistence.claim_agent_action has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/agent_conversation_persistence.rb"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"90611a2757ca54347ce0b3f2446707d672a50bc6ad61a96d6b0dc25aed3fa02e"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomersController.fetch_sales (cognitive 19): CustomersController.fetch_sales has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/customers_controller.rb"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f2ec0c3f44723be0106a1aebe69b09c4738166293077ec3b3b0b557b241e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"FollowersController.from_embed_form (cognitive 19): FollowersController.from_embed_form has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/followers_controller.rb"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f3286b4d081cb115d1b5e06bcc27fe0eac08bc3debea52fcabd13d9da303c2"}},{"ruleId":"D2","level":"warning","message":{"text":"OrdersController.release_failed_client_confirmation (cognitive 19): OrdersController.release_failed_client_confirmation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 3, boolean chains 2, 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":"app/controllers/orders_controller.rb"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0910b6be1e9aeeb7a6a95397dececde4dfcfa23ea35a45cd54a6c2b56acc898"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.prepare_chargeable_for_charge! (cognitive 19): Purchase.prepare_chargeable_for_charge! has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 3 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":4957}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a7d479a284b4b45c810e1a86af1fcae0cb60269b59428c38174e167c5f739e"}},{"ruleId":"D2","level":"warning","message":{"text":"Variant.recurrence_price_values (cognitive 19): Variant.recurrence_price_values has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/variant.rb"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d007fe0cedebef35ce096d3d8f5b2f30caa1610fd16a8b0ceffb6282dc6f07e"}},{"ruleId":"D2","level":"warning","message":{"text":"StripePaymentPresenter.client_confirm_props (cognitive 19): StripePaymentPresenter.client_confirm_props has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout/stripe_payment_presenter.rb"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"02453657a0d243681219b65d660262bf5e461da66b2de34effd13101192a5957"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicClient.parse_buffered_fallback (cognitive 19): AnthropicClient.parse_buffered_fallback has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 6, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/anthropic_client.rb"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbecc6cfc374be451d6075de7bb5a30ccd7e26bc18ad8f56de252f6d1941379c"}},{"ruleId":"D2","level":"warning","message":{"text":"ModerateRecordService.seller_message (cognitive 19): ModerateRecordService.seller_message has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 7, 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/services/content_moderation/moderate_record_service.rb"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb9d3b4077b8c71850452e844143dc2ea9ad0e94a5d5237b9b68f90e906d388"}},{"ruleId":"D2","level":"warning","message":{"text":"ModerateRecordService.check (cognitive 19): ModerateRecordService.check has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 4, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/moderate_record_service.rb"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8d8b1acdcd7cc1ff634f9a1bcc70f00432b9517ef65b6290cb9cfeb66c48e6"}},{"ruleId":"D2","level":"warning","message":{"text":"LowBalanceProbationRecovery.bind_comment (cognitive 19): LowBalanceProbationRecovery.bind_comment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/low_balance_probation_recovery.rb"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ff2ece66701d7e8e6bcc26f8e241d7c2fccf4d3179eab754a9a09d14b678b4"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillSelfAffiliateDroppedProceeds.process_one (cognitive 19): BackfillSelfAffiliateDroppedProceeds.process_one has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_self_affiliate_dropped_proceeds.rb"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd7c438e0b012553f8cdfbfd077232c7fc0e663e9a1daa74a708a3dd2ff2e69"}},{"ruleId":"D2","level":"warning","message":{"text":"PostBlastSending.enrich_with_gathered_records (cognitive 19): PostBlastSending.enrich_with_gathered_records has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/concerns/post_blast_sending.rb"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9afa2da9ef07977b54486507c08f100833465cdba479bb41386e2b3bee3936"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateTaxRatesJob.perform (cognitive 19): UpdateTaxRatesJob.perform has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/update_tax_rates_job.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a092497da01dcab4b94bd93a7abf68d4890393fcf0183ba20a219ab95e0fa1e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChat.AgentChat::confirmAction (cognitive 19): AgentChat.AgentChat::confirmAction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (AgentChat.AgentChat, AgentChat.AgentChat::send) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7a8c4ad157def79a0a76eb52d95d995051b7ddb2499f5c14a0beddc7bfc45c"}},{"ruleId":"D2","level":"warning","message":{"text":"DateRangePicker.DateRangePicker (cognitive 19): DateRangePicker.DateRangePicker has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 3 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 105, 133, 145, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DateRangePicker.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6e315374861d804ebb4026b6405a3eced98dbfd77bee5f3fee2847e44397ac"}},{"ruleId":"D2","level":"warning","message":{"text":"RichContent.FileGroupDownloadAllButton (cognitive 19): RichContent.FileGroupDownloadAllButton has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (6 pts), error handling 2 (5 pts), boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 483, 502, 418, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/RichContent.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1b415cab44a5493980b53702da9c499f9dd3bdafb87b0d0643c5dafed81317"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareYourLaunchCard.EmailChannelRow (cognitive 19): ShareYourLaunchCard.EmailChannelRow has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (17 pts), boolean chains 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1078c11689629972b94b08aad952a5d57ffee7d0e292679cbb0f98bf326f7b42"}},{"ruleId":"D2","level":"warning","message":{"text":"Link.LinkNodeView (cognitive 19): Link.LinkNodeView has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (handleSave, a function literal at line 147, a function literal at line 190, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Link.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae2a3b8b2f714d6f211c38386d7335e5f8fd96d1c4b2943471d7bce51bb0019"}},{"ruleId":"D2","level":"warning","message":{"text":"google_analytics.trackProductEvent (cognitive 19): google_analytics.trackProductEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/google_analytics.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c60c379e14600a0a63c4a57ab8aba17e74b0105f4a54aa5dda479be6f82f330"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeChargeProcessor.find_or_create_external_refund_reversal (cognitive 18): StripeChargeProcessor.find_or_create_external_refund_reversal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"237a0d4309c6f9dbe8d4d7e43082e8edb535d8ac86a243883b56e89dca0cb420"}},{"ruleId":"D2","level":"warning","message":{"text":"SalesTaxCalculator.is_vat_exempt? (cognitive 18): SalesTaxCalculator.is_vat_exempt? has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/sales_tax/sales_tax_calculator.rb"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eaeee613d9fde434036b5d0d0878b004b905d83452389e6068ff6da0d11a2f"}},{"ruleId":"D2","level":"warning","message":{"text":"LinksController.validate_product_refund_policy_params (cognitive 18): LinksController.validate_product_refund_policy_params has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"13000fa67deae55af2c50ad1866ce54157888b2bd2a0d93b8d97fe43e94b9041"}},{"ruleId":"D2","level":"warning","message":{"text":"UpsellsController.backfill_absent_associations (cognitive 18): UpsellsController.backfill_absent_associations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (7 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/upsells_controller.rb"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a4354ae05b31713ea48bbd8c34bc39135a525755c910ad45c3fda57f2c018a"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchProducts.normalize_search_param_values! (cognitive 18): SearchProducts.normalize_search_param_values! has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/search_products.rb"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e7b248eaa012d7223da266261d449c1021e1199f05d46f881a3157f4f7345d"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionsController.check_can_manage (cognitive 18): SubscriptionsController.check_can_manage has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/subscriptions_controller.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e229cd85f7c47ce1675bef9523efc7f678024b00affa34e3473ee888568a98"}},{"ruleId":"D2","level":"warning","message":{"text":"Installment.installment_mobile_json_data (cognitive 18): Installment.installment_mobile_json_data has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6 (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":"app/models/installment.rb"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"269d1d900ffa227931ccab958162e942905b8474e6c89df58d0a976b4404790a"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.indian_card_charge_intent_matches_subscription_terms? (cognitive 18): Purchase.indian_card_charge_intent_matches_subscription_terms? has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":4024}}}],"partialFingerprints":{"codehealthFindingId/v1":"f355c99a04c402a8c3ab1b9a126c48af42855cc6082cd21c0b50f74677678071"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.free_trial_purchase_set_correctly (cognitive 18): Purchase.free_trial_purchase_set_correctly has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":6226}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccb88ec042d639f26b8eaab0a491e9085d3a7298c8f3013a785ccf0753380e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Refund.collect_pending_fee_retention! (cognitive 18): Refund.collect_pending_fee_retention! has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), error handling 2 (3 pts) (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/refund.rb"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"560675a2e9b512e8288d29e1461216ab607f3cde1db11a2749e7242eb4ca1a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"Risk.chargeback_payment_identity (cognitive 18): Risk.chargeback_payment_identity has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 13, if/else 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/risk.rb"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"34955b01f845b0c0c0bf33db7940f1b9c1924eecffa21974dffe3590b7164101"}},{"ruleId":"D2","level":"warning","message":{"text":"StripePaymentPresenter.fallback_reason_for (cognitive 18): StripePaymentPresenter.fallback_reason_for has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout/stripe_payment_presenter.rb"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c5865f25161543ffe1284fa697779444227349f8b4f6cf0ac571db23d344e2"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlRedirectPresenter.map_file (cognitive 18): UrlRedirectPresenter.map_file has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/url_redirect_presenter.rb"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d726182d7c248858a6574dcb5cac8bea465fb81b338caab3d004ac9737a18b56"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodForcedPresentment.perform (cognitive 18): MethodForcedPresentment.perform has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/charge/method_forced_presentment.rb"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98719c75e467fc4eff4fb18928e9a72eaf39f4e88777b82b72bc700cb5115d8"}},{"ruleId":"D2","level":"warning","message":{"text":"BuyerCurrencyQuote.verify! (cognitive 18): BuyerCurrencyQuote.verify! has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a06831bf77a1ba7806c4ae1cf291ccb598bc805a9a3123f15ac0e6163c0203e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChargeService.setup_intent_covers_mandate_options? (cognitive 18): ChargeService.setup_intent_covers_mandate_options? has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts), error handling 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bdaa17ca98ce9b6ea7b15b7605d0a96a20fae97a1a884035ca1bf53dd1327b"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparePaymentIntentService.recurring_upi_registration_shape_value (cognitive 18): PreparePaymentIntentService.recurring_upi_registration_shape_value has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/prepare_payment_intent_service.rb"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e0ef28ceb4e3a2e38a8ac0110ee16bd28a296143c448303095516c54c20d47"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertOnStaleBlocksHoldingEstablishedBuyersJob.scan_for_stale_blocks (cognitive 18): AlertOnStaleBlocksHoldingEstablishedBuyersJob.scan_for_stale_blocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/alert_on_stale_blocks_holding_established_buyers_job.rb"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c42b55e3528bbd4599c0885698e6065924774b46268105fa461ec3feb8fad42"}},{"ruleId":"D2","level":"warning","message":{"text":"PostBlastSending.partition_members_that_left_the_audience (cognitive 18): PostBlastSending.partition_members_that_left_the_audience has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/concerns/post_blast_sending.rb"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be6ce46e672dd43e83e59f31b2b2cba44d7dbbefe1a1491cda5c29c8ce9413a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChat.AgentChat (cognitive 18): AgentChat.AgentChat has cognitive complexity 18 (threshold 15). Drivers by points: if/else 59 (89 pts), ternaries 33 (54 pts), boolean chains 33, error handling 5 (7 pts), loops 4, match/switch 1 (2 pts) (nesting depth added 54). 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 shape REPEATS in the file: 2 other methods here (AgentChat.AgentChat::send, AgentChat.AgentChat::confirmAction) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce72f1ef27957f5f23bb112fd5cf4687ad5270980189ea321c3c8aaf896e114"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerDetailPage.ColumnLayout (cognitive 18): CustomerDetailPage.ColumnLayout has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (5 pts), boolean chains 2, loops 2 (nesting depth added 3). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2386, 2363, 2371, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":2362}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac4521a59f7331cae949ab7857e334ce33806b8936231c2a6b066d90433bbbd"}},{"ruleId":"D2","level":"warning","message":{"text":"Form.CollaboratorForm::submitForm (cognitive 18): Form.CollaboratorForm::submitForm has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Collaborators/Form.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1ae9c7fa25175e610d1ab85ba2421b68247e01e31164a08448393b3836ccac"}},{"ruleId":"D2","level":"warning","message":{"text":"ComboBox.ComboBox (cognitive 18): ComboBox.ComboBox has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, ternaries 3, loops 1, match/switch 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 68, moveCursor, toggle, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ComboBox.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3120d5e44da4265c86b6f53aa85287762feddc9226fff374a97870b592b60251"}},{"ruleId":"D2","level":"warning","message":{"text":"Search.Search (cognitive 18): Search.Search has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 5, boolean chains 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 101, a function literal at line 34, a function literal at line 38, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Discover/Search.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb66249e9772dd1e3e3569ce34f0a5f93d681e2a98f99f56bac0f691495af1e"}},{"ruleId":"D2","level":"warning","message":{"text":"Interactions.NativeAppLink (cognitive 18): Interactions.NativeAppLink has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 3 (6 pts), boolean chains 5 (nesting depth added 4). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 66). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/Interactions.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"14889997423273f6a2346a84001946dcb28387bc9c0b29c9cc8201a9eededcde"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedMenu.ItemsList (cognitive 18): NestedMenu.ItemsList has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 5 (nesting depth added 2). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 427, a function literal at line 423, a function literal at line 394, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/NestedMenu.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"99da52e940f04f863c570a7afac9ebf66819c6db25c1bea2ca47ce7db39cd38f"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchaseButton.PurchaseButton (cognitive 18): PurchaseButton.PurchaseButton has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7, ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 2 function items inside it that branch (validate, a function literal at line 73). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/PurchaseButton.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ab5d7d47d0d09cc39e9a6d06676ed19da03524e829e6c860e495599fc15a19"}},{"ruleId":"D2","level":"warning","message":{"text":"index.PriceCheckerCard (cognitive 18): index.PriceCheckerCard has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 4 (5 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 4). Of this number, 10 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/PriceChecker/index.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"69340804b5d5ed9ba4d96d271877dbf3ceeadc744a876a3a130b3b52d6517253"}},{"ruleId":"D2","level":"warning","message":{"text":"Sections.Section (cognitive 18): Sections.Section has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (16 pts), boolean chains 1, if/else 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/Sections.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14c066336ae44eb64c9309226fb7424dcfbd5761e9f9456c576237b17f23cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.Layout (cognitive 18): Layout.Layout has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/Layout.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b741de84c8b5fc7ae75e877c631f7a32180cb31452ef2c36e0a45d1f78619f"}},{"ruleId":"D2","level":"warning","message":{"text":"RichTextEditor.RichTextEditorToolbar (cognitive 18): RichTextEditor.RichTextEditorToolbar has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (11 pts), if/else 4, boolean chains 1, loops 1, match/switch 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 8 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e3db731dd0fd7b2b417a9dfec0ec8b87113ad02d580904dbfae3ac28acf079"}},{"ruleId":"D2","level":"warning","message":{"text":"BeneficialOwnersSection.BeneficialOwnersSection::validateJpKanaFields (cognitive 18): BeneficialOwnersSection.BeneficialOwnersSection::validateJpKanaFields has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (BeneficialOwnersSection.BeneficialOwnersSection) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bddad2a5c4c62fb652ef808d2d3b606602ca3709dd4d3e5aebf4b86734047f"}},{"ruleId":"D2","level":"warning","message":{"text":"UpsellCard.UpsellCardNodeView (cognitive 18): UpsellCard.UpsellCardNodeView has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (15 pts), boolean chains 2, error handling 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/UpsellCard.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fe454405dd223198a295b1648ead769572e1199d00e3c57cfa68c75bf2dd01"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductEditPage.scopedConfirmedPageIdMappings (cognitive 18): ProductEditPage.scopedConfirmedPageIdMappings has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3, boolean chains 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e53be73263aee42a793c00b424bb87f1b7ef68af11050ac6efccc68a07e8075"}},{"ruleId":"D2","level":"warning","message":{"text":"order.startClientConfirmOrderCreation (cognitive 18): order.startClientConfirmOrderCreation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (4 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":"app/javascript/data/order.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb85b78c88117950866fb1ee4f86ced27c34a0f534da2aa90beb793b053e2a9"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeErrorHandler.with_stripe_error_handler (cognitive 17): StripeErrorHandler.with_stripe_error_handler has cognitive complexity 17 (threshold 15). Drivers by points: error handling 5 (15 pts), if/else 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/helpers/stripe_error_handler.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbc994f0b6a772a4082be42a8ea1fe90d5adc18b1dd8b5b0993ddfbc2a4f33b"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.account_hash (cognitive 17): StripeMerchantAccountManager.account_hash has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":2856}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e8dde1b51d8971f0c0d544cbfae5c525cf3c3e814852071a640bbe07256460"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentController.create (cognitive 17): AgentController.create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6, error handling 3 (4 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/agent_controller.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce18215a8c6b590f16bbd9157f76f0666300947a430b4eb7fdbf3944f451e43"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailsController.valid_write_params? (cognitive 17): EmailsController.valid_write_params? has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/workflows/emails_controller.rb"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80c55ab742c1bb1f81c8be63e3833f536e0c9d184ed767092ff0592518ad3f8"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchasesController.unsubscribe (cognitive 17): PurchasesController.unsubscribe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/purchases_controller.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a82995578872138f029ff59a1b010ad326676a07ecf3c2aea4477d4c99437f7"}},{"ruleId":"D2","level":"warning","message":{"text":"InvitationsController.accept (cognitive 17): InvitationsController.accept has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/settings/team/invitations_controller.rb"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d640e32406c56b3d7cf7cc1b8d4d2717b993f48cb7e35d5ce01bc9c4da4aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"OmniauthCallbacksController.twitter (cognitive 17): OmniauthCallbacksController.twitter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/user/omniauth_callbacks_controller.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc97bf8445fea2d014618ddf33ff3b5c73be33b621e96bae05829a98c8bf4c2"}},{"ruleId":"D2","level":"warning","message":{"text":"UsersController.add_purchase_to_library (cognitive 17): UsersController.add_purchase_to_library has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/users_controller.rb"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6624dbddf3051dbdad0e5657d3d81dc21833ad00565d6455d46704fdfcc3bd99"}},{"ruleId":"D2","level":"warning","message":{"text":"PayoutsHelper.current_payout_period_data (cognitive 17): PayoutsHelper.current_payout_period_data has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/payouts_helper.rb"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9103212e9e038289e92b3bb0bce5c6a4dd2e305b09a9d0fc2ffd4ff2c9d1c095"}},{"ruleId":"D2","level":"warning","message":{"text":"NotifyOfSaleHeaders.set_notify_of_sale_headers (cognitive 17): NotifyOfSaleHeaders.set_notify_of_sale_headers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/concerns/notify_of_sale_headers.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66c41236d4c8e81dd9c0481dae11cecab9fe01797b449e294f37a462f885516"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerMailer.abandoned_cart (cognitive 17): CustomerMailer.abandoned_cart has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, error handling 1 (2 pts), ternaries 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/customer_mailer.rb"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"c114a8145231a800931f3dda4e9d443bed0985266b60fbc87612b4f863397c96"}},{"ruleId":"D2","level":"warning","message":{"text":"AbandonedCartProducts.abandoned_cart_products (cognitive 17): AbandonedCartProducts.abandoned_cart_products has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/workflow/abandoned_cart_products.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"418ad14e51d2c8a5393c55f07585d0affb3f61b3b3c9c81fe6712b7f4ece2dc4"}},{"ruleId":"D2","level":"warning","message":{"text":"Installment.send_installment_from_workflow_for_purchase (cognitive 17): Installment.send_installment_from_workflow_for_purchase has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1c68bebc4d33e17c3eac2c6f0275ca3b7e1fcdce022e31d9ab5ce84af7630b"}},{"ruleId":"D2","level":"warning","message":{"text":"Link.publish! (cognitive 17): Link.publish! has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"54907c529f1c2c2713b90fef1f2e426b6d7b4ea477e391f0452c3c55f32d835f"}},{"ruleId":"D2","level":"warning","message":{"text":"Preorder.charge! (cognitive 17): Preorder.charge! has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 3, ternaries 3, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/preorder.rb"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cf5ca94d1ee42dbff79f2a98adbe106a37cca8ae11aca41f28361e165cdcc4"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.product_installments (cognitive 17): Purchase.product_installments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":3189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1133ae6bcc235b50a7af8819dbf01452c08605a3ee9a235289ea9b42c167fd2e"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.calculate_fees (cognitive 17): Purchase.calculate_fees has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":5470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2eb9f4f4458a2925a55646e98e62510b40bd2c079aa2347e821f1e837c107e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.reverse_excess_amount_from_stripe_transfer (cognitive 17): Purchase.reverse_excess_amount_from_stripe_transfer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/refundable.rb"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"a467091a8cc913a35b082141529ab6032aa6186299edbb06de7c7e4799eb21c8"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreAgentObjectFormatter.discounts (cognitive 17): StoreAgentObjectFormatter.discounts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_object_formatter.rb"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f267045f5012e8158fd56ec409b6ec552301ad984de1ee97a393c09a1c8c9b9"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreAgentService.final_turn_decision (cognitive 17): StoreAgentService.final_turn_decision has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_service.rb"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27165bee997ef02af80fc6e6547a23b0abc0c0b62a1f3277b572710c63a0b45"}},{"ruleId":"D2","level":"warning","message":{"text":"BuyerCurrencyEligibility.method_forced_decision (cognitive 17): BuyerCurrencyEligibility.method_forced_decision has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_eligibility.rb"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7554b00caaede5d3710d69ea0a6a209d3f9c80f2a082c4e4ccd3c5f06f1d3cf"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptStrategy.perform (cognitive 17): PromptStrategy.perform has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/strategies/prompt_strategy.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8243ebf6ed109df7dc31b574d2981920feb968f182ac98be81b20480f35075"}},{"ruleId":"D2","level":"warning","message":{"text":"BackfillTaxonomyAttributeClassification.cleanup_orphaned_inferred_values (cognitive 17): BackfillTaxonomyAttributeClassification.cleanup_orphaned_inferred_values has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, ternaries 1 (2 pts), 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":"app/services/onetime/backfill_taxonomy_attribute_classification.rb"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"547cd34f38f6202babdac8a079046650f38bd7824ffc4455374251fea3d864f9"}},{"ruleId":"D2","level":"warning","message":{"text":"RepairCapitalDeduction.validate_records! (cognitive 17): RepairCapitalDeduction.validate_records! has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/repair_capital_deduction.rb"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd456ae81e697e306002a00a34f3cf3794bd3b03657f3e0ab132f9c71bcf5e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfirmService.charge_seller_groups_awaiting_setup_confirmation! (cognitive 17): ConfirmService.charge_seller_groups_awaiting_setup_confirmation! has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/confirm_service.rb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed86d10fe2bb3b5ca5b76207880b1726403add8d62a45cb8c3f34435d017ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"OfferCodeRecoveryService.sanitize_retry_candidates (cognitive 17): OfferCodeRecoveryService.sanitize_retry_candidates has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 8, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/offer_code_recovery_service.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"638be7f521fe46dbe28bee178ca1923276ba816bb17dc1b2b74020e464ed449c"}},{"ruleId":"D2","level":"warning","message":{"text":"Interpolator.interpolate (cognitive 17): Interpolator.interpolate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/pages/interpolator.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b5933785c459aa2d966eaad55b8f85f8e57e91cc90d2b018f9118abc24033b"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertOnStalledPostEmailBlastsJob.resolve_action (cognitive 17): AlertOnStalledPostEmailBlastsJob.resolve_action has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/alert_on_stalled_post_email_blasts_job.rb"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cf8abf58d84c2e8ed45a66c66bba10596cedd4d6415f0fee41b2cf991a9d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchIndexerWorker.perform (cognitive 17): ElasticsearchIndexerWorker.perform has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/elasticsearch_indexer_worker.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"655072ed8222cef16c38b53840d9ac80ce0b03ec6b33718597c987908bde3b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"RetryStripeRejectedPayoutSetupForSellerJob.perform (cognitive 17): RetryStripeRejectedPayoutSetupForSellerJob.perform has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/retry_stripe_rejected_payout_setup_for_seller_job.rb"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"260fd09cfc8417015b22465be3b12f44640a8baf5de9fc9ffdc2192148de293d"}},{"ruleId":"D2","level":"warning","message":{"text":"main.normalizeParams (cognitive 17): main.normalizeParams has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resend_callbacks/event.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea148859a0e6d878589ebbd2003a1671f172bd3028807c40a85fc2dcc399e4df"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentForm.PayPalContent (cognitive 17): PaymentForm.PayPalContent has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6, boolean chains 2 (nesting depth added 4). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1528, 1516). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d838c5e29167e26657e92f82cc02905914fdbc43fa418c5b046d12b75552ac"}},{"ruleId":"D2","level":"warning","message":{"text":"payment.validatePaymentMethodIndependentFields (cognitive 17): payment.validatePaymentMethodIndependentFields has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc0072e8629e8a7fb796fd86692eac622d474c5de21d0ad7b7b7655f859a6eb"}},{"ruleId":"D2","level":"warning","message":{"text":"DateInput.DateInput (cognitive 17): DateInput.DateInput has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 5, boolean chains 4 (nesting depth added 1). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (formatDate, a function literal at line 60, a function literal at line 47). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DateInput.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2484140269ae993604b2edf71e34cfce65845fcbd848663192e027c92d0da12"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageUploader.ImageUploader (cognitive 17): ImageUploader.ImageUploader has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 4 (6 pts), boolean chains 2 (nesting depth added 5). Of this number, 9 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ImageUploader.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"497057dd95bfd6a34b8494e20298df662bf39e42029b783180dbca3db632cda3"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributesEditor.AttributesEditor (cognitive 17): AttributesEditor.AttributesEditor has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 5, boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 47, moveCustomAttribute, a function literal at line 105, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/AttributesEditor.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca2065bfa0ebbc6d42c4305042ed77d26bd380e51fc56fea097cde1ddd067b3"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEmails.AbandonedCartProductListNodeView (cognitive 17): WorkflowEmails.AbandonedCartProductListNodeView has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 12 (17 pts) (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"5974c0fcfcc2c77c7ad19966f931b4027c10e116900ab495aa8bf7dd327d0f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.TaxCenterIndex (cognitive 17): Index.TaxCenterIndex has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 2, boolean chains 1, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 213, a function literal at line 110, handleDownload::handleVisibilityChange). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/TaxCenter/Index.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"55db28dc199d55f33fc11a989dfc0f3186fdb0ba3bb04b450789d4721ebe7973"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalChargeProcessor.refund! (cognitive 16): PaypalChargeProcessor.refund! has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 1 (3 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/paypal/paypal_charge_processor.rb"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"e398348a72c6ef6c0d388b1c5f643151d9f405e00c1f6c0bfbae0f04498d8d06"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeCharge.build_flow_of_funds (cognitive 16): StripeCharge.build_flow_of_funds has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge.rb"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c5a4fb009f9e8ebd8890e14f6442988be3958645062e5e1f2eb4edd43d1887"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.list_matching_uncertain_account (cognitive 16): StripeMerchantAccountManager.list_matching_uncertain_account has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe4c911e673eac403babcdf1127ca99683c5338beaa898fb915e5d437d4c38c"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeMerchantAccountManager.bank_account_hash (cognitive 16): StripeMerchantAccountManager.bank_account_hash has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac5c60437729c24cde18d468deed65151a2e4459e7bc883cee155ce432829e1"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingFormController.update (cognitive 16): OnboardingFormController.update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/affiliate_requests/onboarding_form_controller.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63c97382fb377a13133155219794b7416c67bb5aadc766cb3752bcf2595aadb"}},{"ruleId":"D2","level":"warning","message":{"text":"UsersController.purchases_scope (cognitive 16): UsersController.purchases_scope has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/users_controller.rb"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d57593647c4373c37c62088b12d4c9bf689e2b23824ed2456f67121b5fc394f"}},{"ruleId":"D2","level":"warning","message":{"text":"PagesController.validate_content_params (cognitive 16): PagesController.validate_content_params has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/pages_controller.rb"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d204e1a1a387824d8a7db3c11d21465d721be1328dd53ed48ed00fc8bf6523e0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductEligibilityController.development_product (cognitive 16): ProductEligibilityController.development_product has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/global_affiliates/product_eligibility_controller.rb"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc041922d6ccbd251d5b8df1a98090f45484caeaaa9cdfd76840027dd7ed08a2"}},{"ruleId":"D2","level":"warning","message":{"text":"SecureRedirectController.create (cognitive 16): SecureRedirectController.create has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 2 (4 pts), boolean chains 2 (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":"app/controllers/secure_redirect_controller.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63046622d63c87c362450bb6530b588dc8e1f5d7afbd6e0e1432be631028b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"AsJson.as_json_for_api (cognitive 16): AsJson.as_json_for_api has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (7 pts), if/else 5, boolean chains 2, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/product/as_json.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e2345ba593a0fe7ce308807b18501e2efa47f18c7c8d7bb0f94233c9560a98"}},{"ruleId":"D2","level":"warning","message":{"text":"Blockable.processor_rule_refusal (cognitive 16): Blockable.processor_rule_refusal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 2 (4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/purchase/blockable.rb"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f134ec9f80993936052eaa414bada5e8ffef47f8724af9c5ac00c20ebad09058"}},{"ruleId":"D2","level":"warning","message":{"text":"ChargeEventsHandler.promote_confirmed_setup_intents_for_client_confirmed_charge! (cognitive 16): ChargeEventsHandler.promote_confirmed_setup_intents_for_client_confirmed_charge! has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/purchase/charge_events_handler.rb"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"996c2421da948a6c1c6287d8479d82a59c33acc78b0da133785798e32fbb5bff"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardNav.earned_items (cognitive 16): DashboardNav.earned_items has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/dashboard_nav.rb"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b8b82fd98436a403c68563ae7821a931ec3227a5ecd9c916a6823373f41444"}},{"ruleId":"D2","level":"warning","message":{"text":"OauthDeviceAuthorization.poll! (cognitive 16): OauthDeviceAuthorization.poll! has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 2 (4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/oauth_device_authorization.rb"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf11f772b5f9b45051b3729996a05147c54a94a5b9d8bf82e652eaad82f85f29"}},{"ruleId":"D2","level":"warning","message":{"text":"Payment.sync_with_stripe (cognitive 16): Payment.sync_with_stripe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 1 (2 pts), boolean chains 1, 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":"app/models/payment.rb"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dacc596f077cd3c512f9be4e908100414872ff519f442b186f216b8fc34a46"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.decrement_balance_for_refund_or_chargeback! (cognitive 16): Purchase.decrement_balance_for_refund_or_chargeback! has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f157e5ca2532bf7f02a01ef831225f1698bfce1a03c53cec2bf0654cf8635c"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.retrieve_indian_card_mandate (cognitive 16): Purchase.retrieve_indian_card_mandate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":3960}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c835bce5441e583e8b618b6ce840a0d8acce3c8493dfc04864b4774e243e8cd"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.mandate_options_for_stripe (cognitive 16): Purchase.mandate_options_for_stripe has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":4127}}}],"partialFingerprints":{"codehealthFindingId/v1":"469b0f098f31f0d611e1e0132146f8054bffd7e102116b26266080a748054a3f"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchase.validate_offer_code (cognitive 16): Purchase.validate_offer_code has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":5716}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d6af713afc6c444750cdf7f9337b3612a965a0833c9d73f12631d9fb76ba0d"}},{"ruleId":"D2","level":"warning","message":{"text":"Subscription.indian_card_mandate_for (cognitive 16): Subscription.indian_card_mandate_for 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/models/subscription.rb"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"276f1e0805cb3cfd85c46cd106a9bfa529a718b4251e879fab5bec65358dbd2a"}},{"ruleId":"D2","level":"warning","message":{"text":"UserComplianceInfo.has_completed_compliance_info? (cognitive 16): UserComplianceInfo.has_completed_compliance_info? has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 16. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user_compliance_info.rb"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5795ae555af66f94f130d1ee226a0f5cb6964e81bd8869132ea54e2fcb685a"}},{"ruleId":"D2","level":"warning","message":{"text":"StripePaymentPresenter.recurring_upi_registration_shape? (cognitive 16): StripePaymentPresenter.recurring_upi_registration_shape? has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout/stripe_payment_presenter.rb"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b6369c4a218ed5093d9587e4554666c57496cfd4c36e6b3e14637e64897cae"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallmentPresenter.props (cognitive 16): InstallmentPresenter.props has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/installment_presenter.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16acf895723c6c140f06c80af5f9e01ef070cbc34e98a96760de96174604a36"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryPresenter.ongoing_subscription_label (cognitive 16): LibraryPresenter.ongoing_subscription_label has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/library_presenter.rb"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda604ea0f9dbccc4ce9353b8b9f9a923484fbcffb006caa06ddb7f231b11069"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlRedirectPresenter.download_page_layout_props (cognitive 16): UrlRedirectPresenter.download_page_layout_props has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/url_redirect_presenter.rb"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1d0d0772d6a23a0e6cafb8144d59b0cc249393445549c247f758d599e29203"}},{"ruleId":"D2","level":"warning","message":{"text":"PageSanitizer.scrub_node (cognitive 16): PageSanitizer.scrub_node has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/page_sanitizer.rb"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"865f5667dfafea7e2fc14515473614448dafd1134179bb75ca9a36fa58354d40"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreAgentObjectFormatter.from_response (cognitive 16): StoreAgentObjectFormatter.from_response has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_object_formatter.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb3c69e3eb4a3736580f37067fb5570922dfdb0f587c5f0dd826fc5c296a2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreAgentService.respond (cognitive 16): StoreAgentService.respond has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 2 (5 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_service.rb"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7a4132c453e7560d0747d4d072e67a46379c5f1d2c7089e39cdb46e290d91f"}},{"ruleId":"D2","level":"warning","message":{"text":"Mcp.handle_message (cognitive 16): Mcp.handle_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, ternaries 3 (4 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/muse/mcp.rb"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b1d341d1ff1544fde7a98788c927c46b2ef6231db6d4a32d963d9084d1a453"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolveTerminalPaypalPayoutFailures.process (cognitive 16): ResolveTerminalPaypalPayoutFailures.process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/resolve_terminal_paypal_payout_failures.rb"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3a14c46d7d92617f77b5524d90384acffc4abb45409e178dce4108324409f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfirmService.perform (cognitive 16): ConfirmService.perform has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/confirm_service.rb"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"505c6cccc8a5bae2f44758b157fbcdf2103f94632f64c6a4c179c335b529cb0f"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoTopUpNegativeDestinationBalancesJob.valid_transfer_request? (cognitive 16): AutoTopUpNegativeDestinationBalancesJob.valid_transfer_request? has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 5. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/auto_top_up_negative_destination_balances_job.rb"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce173b59cd62ca08383e76f201c5ff93b1253d965613610237d78940e5d9ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"SendPostBlastEmailsJob.perform (cognitive 16): SendPostBlastEmailsJob.perform has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_post_blast_emails_job.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ca7f28e5bfcd048ed25fc0357a48a6f82b6e0f1ceded9f069e4ea7f44bcd49"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentElementInput.PaymentElementControllerInput (cognitive 16): PaymentElementInput.PaymentElementControllerInput has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 3, if/else 2 (nesting depth added 1). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 283, 265, 270). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentElementInput.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d68d250c06d95b913981b24dbe8ed9b2e74e485b8770b598ff3a0dab2ea023c"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentForm.CustomerDetails (cognitive 16): PaymentForm.CustomerDetails has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 3, if/else 1 (nesting depth added 5). 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 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/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5ed71e49208f8558deb4130b7c8b1af35cb48509a4950b10c1b76cf24a2382"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportPayoutsPopover.ExportPayoutsPopoverContent (cognitive 16): ExportPayoutsPopover.ExportPayoutsPopoverContent has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (6 pts), boolean chains 5, if/else 3, error handling 2 (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Payouts/ExportPayoutsPopover.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1768771211cf47a3af13e752fd5bad94254f7e7c46d202619c1d5411abdb175"}},{"ruleId":"D2","level":"warning","message":{"text":"LookupLayout.LookupLayout::handleCardLookup (cognitive 16): LookupLayout.LookupLayout::handleCardLookup has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, ternaries 3 (5 pts), if/else 4, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Public/LookupLayout.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7279aa903104e6077efc4f256dd27f4373919611f9bd5394a5b58566304894"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactSupportModal.ContactSupportForm (cognitive 16): ContactSupportModal.ContactSupportForm has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 4 (7 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (addFiles, handleSubmit, handlePaste). 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":"app/javascript/components/Support/ContactSupportModal.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"20916d7badf18bf42d4801ffe4295fe80fde0e84a22e0d4d337528efb632b8f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Image.uploadImages (cognitive 16): Image.uploadImages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (5 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 6). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 113). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Image.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec24e38a0eab643f1df02d26fc409fc181f17d93329c3af2d7ac6148ebc0ed70"}},{"ruleId":"D2","level":"warning","message":{"text":"Link.LinkDialog (cognitive 16): Link.LinkDialog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5, boolean chains 4 (nesting depth added 1). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (onAddLink, a function literal at line 46, a function literal at line 38, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Link.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bd2f77785fcb2bf40fa84c4c53bc05b237a7a6757ac3cedb42de8806d2a623"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowList.WorkflowList (cognitive 16): WorkflowList.WorkflowList has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 1 (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowList.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81a6354048d5ed57cce40383e96cd59b3c64e6435034e7dfcd59e933348fe3b"}},{"ruleId":"D2","level":"warning","message":{"text":"product_edit.scalarSettingsForSave (cognitive 16): product_edit.scalarSettingsForSave has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_edit.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa68a5d0fddaae444f63771b749f8f35b59e96b208db9ccdd80b50df66d7158d"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.Show::handleFileUpload (cognitive 16): Show.Show::handleFileUpload has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 5, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Show.Show) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"789d90df244c3eaab5b24c950b0274cbae308b7ac23428602805160fea5e150f"}},{"ruleId":"D2","level":"warning","message":{"text":"New.SubscriptionsMagicLink (cognitive 16): New.SubscriptionsMagicLink has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (16 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Subscriptions/MagicLinks/New.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e85ebc986f955f704b02fdcc4e5b5eb9b075a11c4660cc1c14a52c62e8fdb1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Purchase: TooManyMethods \u2014 421 methods. The bar is 30 methods; this is 391 over it, 14.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a82e8f3dbf49b8d7289a97c43fc037d073dcf0a22fcd60392f1650a6208ec3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AccountDetailsSection.AccountDetailsSection: FunctionTooLong \u2014 AccountDetailsSection runs 1199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1099 over it, 11.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beb286845c5bd65a2d161faa0a4b6c0ba06cc918df416167677a2e61bcd722d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.PaymentsPage: FunctionTooLong \u2014 PaymentsPage runs 1121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1021 over it, 11.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c6ce5e4f5f9b4be126b19213617c6c98ab33f2b03b6a4cc26888b71d71890b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ContentTabContent: FunctionTooLong \u2014 ContentTabContent runs 1004 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 904 over it, 10.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56688dc2d45b5e480675573081d74f9930b83fcd0feb34b182f140dbc9d2723"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EmailForm.EmailForm: FunctionTooLong \u2014 EmailForm runs 976 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 876 over it, 9.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae08f9e0f85fdde44094860b191fb14740fa38917a2228aafb665688265ce96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/purchase.rb: FileTooLong \u2014 4462 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3962 over it, 8.92\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":"app/models/purchase.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30965e76a97648e66de8b2a6af25a69d295e43e15f894d8dde0514f382387a3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BeneficialOwnersSection.BeneficialOwnersSection: FunctionTooLong \u2014 BeneficialOwnersSection runs 890 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 790 over it, 8.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8d051d47aca4a8b8f1f6426b9f46066707690c5a511f2c1f195ed0ecaa7d88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DiscountsPage.Form: FunctionTooLong \u2014 Form runs 733 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 633 over it, 7.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b11821b5395ff1bc6e5439093386a8de51d896ee382c1578feeb82bdef971a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileEmbed.FileEmbedNodeView: FunctionTooLong \u2014 FileEmbedNodeView runs 695 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 595 over it, 6.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b634cdbe6dce16f4d71a17490c049d529d4b9259c9acbed08919257f20b2a21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomerDetailPage.CustomerDetailPage: FunctionTooLong \u2014 CustomerDetailPage runs 688 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 588 over it, 6.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7c9072d47daab07c4eb74929cc618a47d7e3424cd0b3500cc2ff0fca8d60c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Link: TooManyMethods \u2014 198 methods. The bar is 30 methods; this is 168 over it, 6.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4dd71d0091c006c7242db00abda2f163d3e18a4fd7cffaca5f7687b1474d06"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: User: TooManyMethods \u2014 187 methods. The bar is 30 methods; this is 157 over it, 6.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"93067725c8c36a8ecc8b6a09ca20b72b74f76330bd797b2c254eff7d5f7de53b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DiscountsPage.DiscountsPage: FunctionTooLong \u2014 DiscountsPage runs 560 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 460 over it, 5.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b2429aecddfb3c59daeb8bfe0abd3618e3c87016298fcff66c1e0fe978d8dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowForm.WorkflowForm: FunctionTooLong \u2014 WorkflowForm runs 528 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 428 over it, 5.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"404b8b5f0815453a01122cfe39f4e3abf331ad4fd2de857ff4172179b38d69bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Subscription: TooManyMethods \u2014 154 methods. The bar is 30 methods; this is 124 over it, 5.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"dace2273c8048d343ffde16a9bbe9ce82f3fd8ef02bd55b1d8840dec2a1d98cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PaymentsPage/BankAccountSection.tsx: FileTooLong \u2014 2514 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: BankAccountSection (773-2660). The bar is 500 significant lines; this is 2014 over it, 5.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aded87e758a3c12dd405a66f3d219c39ddc1a9cd685664eab1aaabd94bc458a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.SettingsPage: FunctionTooLong \u2014 SettingsPage runs 490 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 390 over it, 4.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Profile/Show.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcc205334b9f28dc939ab3b71376c8a43349dfa9e24f5c3f464f5bf62c9cb34"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StripeMerchantAccountManager: TooManyMethods \u2014 146 methods. The bar is 30 methods; this is 116 over it, 4.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fb97741bc8d86a57bb1e83437b7634aae4d00165d99dd66ec4967f63ac1788"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.MainPage: FunctionTooLong \u2014 MainPage runs 480 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 380 over it, 4.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ca429fc6ab8426de5e5db05d7edc5a70605a82da9f9aeaa400222b20b43eb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomersPage.CustomersPage: FunctionTooLong \u2014 CustomersPage runs 479 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 379 over it, 4.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a3475cb3cc0f6c076f2e219d03650be1adbc0d0dc40351c355a917ed6eb82f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BankAccountSection: ClassTooLong \u2014 1850 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 1450 over it, 4.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c75c089ea6cf677041d1ecc20ed692ba01666e85e6fe42c284ed482329d4698"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripe/stripe_merchant_account_manager.rb: FileTooLong \u2014 2301 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1801 over it, 4.60\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":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0443ce630c37ba009824e19c7c60ad070221aad1f10c73388859fc1b6a2dcaa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpsellsPage.Form: FunctionTooLong \u2014 Form runs 450 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 350 over it, 4.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b26f8954db3255b78832194c62e701a84cd4507fcf8012613d37da8931a9e02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ProductTab: FunctionTooLong \u2014 ProductTab runs 438 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 338 over it, 4.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/index.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"713a7f9344d4b4635102bcdeffd3d9d1a8de03c690166904dbd6a65228ea7cf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.CommunitiesIndex: FunctionTooLong \u2014 CommunitiesIndex runs 433 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 333 over it, 4.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Communities/Index.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"892521ac612d78f03c9c74bebeb0b146f22acd9d8696ffe2e7c1b67bb7615713"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Audience/CustomerDetailPage.tsx: FileTooLong \u2014 2135 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1635 over it, 4.27\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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dbd46a2921924180cb4b4e5c6efeedd4a8d3df874316f7062c6ab0b0972d3e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisKey: TooManyMethods \u2014 120 methods. The bar is 30 methods; this is 90 over it, 4.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/redis_key.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f5cf80faf176780442fa23524d58f65a0c32a2b9ac81bfb468f2fd5ef94904"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LinksController: TooManyMethods \u2014 117 methods. The bar is 30 methods; this is 87 over it, 3.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a0427df3ee4fa1765ec9ff5f693770486b2f609e202776b15de59003b7346d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FormPage.FormPage: FunctionTooLong \u2014 FormPage runs 381 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 281 over it, 3.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/FormPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee77eb1b897369189b19912d091d3e35b566ae2e125f80fc3f11b5a85dce84c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.PayoutsIndex: FunctionTooLong \u2014 PayoutsIndex runs 371 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 271 over it, 3.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe35907aa975a71cad225b8729ba4cbff8d4e62a679549f5e73a75a0c68dd40d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Manage.SubscriptionsManage: FunctionTooLong \u2014 SubscriptionsManage runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Subscriptions/Manage.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcf9070c36508cf0c072ff9b36107acf93322978675b8797d4dc0682cc28ece"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UtmLinkForm.UtmLinkForm: FunctionTooLong \u2014 UtmLinkForm runs 344 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 244 over it, 3.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UtmLinks/UtmLinkForm.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a983848a3260732c9dc5eb68b83d54f802c100cbef2428edea7236eec20708f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/links_controller.rb: FileTooLong \u2014 1710 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1210 over it, 3.42\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":"app/controllers/links_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4767399fafb6af9a471872751188424213cd221a5a705ec203c3824a8b64de8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Edit.BundlesProductEdit: FunctionTooLong \u2014 BundlesProductEdit runs 339 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 239 over it, 3.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Product/Edit.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dcc260951f20801266f0c535034a385d3f016eba62d3f3e79a8f0867b4eeb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: New.NewProductPage: FunctionTooLong \u2014 NewProductPage runs 330 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 230 over it, 3.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Products/New.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a021f71ec70d20fa2ec353f34d3c92f828ca21973f196f90ab2e9d61b1703c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.Show: FunctionTooLong \u2014 Show runs 330 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 230 over it, 3.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fe5ac9085b6de476a28aa8ac763da4443919d6e62f3c0736158b507f86c1b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/link.rb: FileTooLong \u2014 1608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1108 over it, 3.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9efde652782d8f51924c759bc90f561cca572fcf56bd77fd8e8e1a0617d4c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.LibraryPage: FunctionTooLong \u2014 LibraryPage runs 320 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 220 over it, 3.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Library/Index.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a4ef2a5e2d68b7d34f4bf318d1f5d0509796ae7695385ab0da55b38d4d5f92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/subscription.rb: FileTooLong \u2014 1598 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1098 over it, 3.20\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":"app/models/subscription.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"505328793be3a46f101b84187436fcbd6b89595094772b519efb645e228fd692"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Installment: TooManyMethods \u2014 94 methods. The bar is 30 methods; this is 64 over it, 3.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc2d962a4bce6233d41e208540b34e6ed77666fe0212fb8700cd0f10703e1ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Stats: TooManyMethods \u2014 93 methods. The bar is 30 methods; this is 63 over it, 3.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/user/stats.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"486661ccf5a63acd1d7b24526a4ef6744eb557bb65cab02bfaba4ca31db2bb40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Form.CollaboratorForm: FunctionTooLong \u2014 CollaboratorForm runs 309 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 209 over it, 3.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Collaborators/Form.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d02f3df616119c84a25635fae6736ae3528e872dd503cea9e341d344ee5b9cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Checkout/PaymentForm.tsx: FileTooLong \u2014 1536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1036 over it, 3.07\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":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3afdfa8f85253de73afb2eb995b4b3a2e60bd0d20767b960285dbda25ea5e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CheckoutDashboard/DiscountsPage.tsx: FileTooLong \u2014 1507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1007 over it, 3.01\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":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0add142e6eef95ffa32f86aabf4198871ce56c389e909b4b81f5472cd73ddef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AccountDetailsSection: ClassTooLong \u2014 1199 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 799 over it, 3.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d135684079de3ae87dd596a3f3b508001dc33c95153bab5d2a00a3cb8edce1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConfigurationSelector.ConfigurationSelector: FunctionTooLong \u2014 ConfigurationSelector runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e40299803375fc5862ae321af3db8dd5fb6feaeeba23cbcdab41cb641d5a3bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LegalGuardianSection.LegalGuardianSection: FunctionTooLong \u2014 LegalGuardianSection runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca9a74655e8ad522063594e07cdae2a2630a80a996d7dc93bd6202c427fa5e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PreparePaymentIntentService: TooManyMethods \u2014 88 methods. The bar is 30 methods; this is 58 over it, 2.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/prepare_payment_intent_service.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0036bb27ef9a57f94523581910b84219d6667487a5061aa30ce10535c25fd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/user.rb: FileTooLong \u2014 1425 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 925 over it, 2.85\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":"app/models/user.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a877c825d297a14aebec36ade7fae359e80ff34a5f2243f68e6beb7deddefc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai/store_agent_service.rb: FileTooLong \u2014 1422 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 922 over it, 2.84\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":"app/services/ai/store_agent_service.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"852e1ec4d00594facb79f0158548c29bd78d84c1527da705c9ebaba045d6f675"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: New.PurchaseNewInvoicePage: FunctionTooLong \u2014 PurchaseNewInvoicePage runs 283 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 183 over it, 2.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/Invoices/New.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8d3994a6fad1dcc4cf08ecdb9a08be17dcc0b9b10aaf5bd66f9f56714f1bf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.DiscoverIndex: FunctionTooLong \u2014 DiscoverIndex runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Discover/Index.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"29034a1aff78a93c8357333a9ce76f31e026adf89b08a477bab3110f5b739332"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripe/stripe_charge_processor.rb: FileTooLong \u2014 1371 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 871 over it, 2.74\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":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8983b0307783b34428201aa8e6eab4030360bc0a0f4dff8c411a16e392fa418"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ContentTab/index.tsx: FileTooLong \u2014 1367 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: ContentTabContent (207-1446). The bar is 500 significant lines; this is 867 over it, 2.73\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9250875c1e9ec7b46c3d021bf784968569dc5d1ec83601494d06324f4ec3f23"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Edit.PagesEdit: FunctionTooLong \u2014 PagesEdit runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Pages/Edit.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c8adb253ed79e67653324181a25db82c77f96e7d90bf89de0d19a60dbc2ecf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WithContent.WithContent: FunctionTooLong \u2014 WithContent runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/WithContent.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"462ed18473c524c4b024f16e1c4db99edaa5f2a19c9c33d960b381a1bd74e264"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Payments/Show.tsx: FileTooLong \u2014 1320 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: PaymentsPage (259-1760). The bar is 500 significant lines; this is 820 over it, 2.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bad5dd705eb5000f63dea87c16b38a8d3d524c0fbdf5a318d728196f00ebba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SectionsForm.ProfileSectionsForm: FunctionTooLong \u2014 ProfileSectionsForm runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abf48525f6355c9eed7ca817dc6e3c56d72101dedbd2595e1b7ba7175fa7278"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CardGrid.CardGrid: FunctionTooLong \u2014 CardGrid runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CardGrid.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdff22f7ee7d243651d84612ce8814febf70adf6ec809014cff029d26d66583"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Checkout/payment.ts: FileTooLong \u2014 1271 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 771 over it, 2.54\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":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54746c5bcd5b1d20308dc2244a008042f2da257078935c5c2a8cd94f0af7dbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment.applyCheckoutAction: FunctionTooLong \u2014 applyCheckoutAction runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd91b8c631aacbe969a7a701cdc322bb92c35df65f583a497de2d737cad2fc41"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StripeChargeProcessor: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9c44de5c4c5081259aa7a5cd50d0de6cb6c42c5ceba63bd1e709cd0a5c83b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: order.startOrderCreation: FunctionTooLong \u2014 startOrderCreation runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/order.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f2b1485ebcbab27b683665e1f195351751ce396698a82088db766fc06b4c1f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OfferCode: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/offer_code.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6db9e6f2a2f136b958406d2c2500e3eb17928afc9be7dca0ceefe0b8fbb49f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PaymentsPage/BeneficialOwnersSection.tsx: FileTooLong \u2014 1246 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: BeneficialOwnersSection (423-1422). The bar is 500 significant lines; this is 746 over it, 2.49\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca2fb56facf4e7288350b9112c143b21449fa3ef399d3f343c3fa72b5b86538"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PaymentsPage/AccountDetailsSection.tsx: FileTooLong \u2014 1238 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: AccountDetailsSection (50-1343). The bar is 500 significant lines; this is 738 over it, 2.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfb629b2f9bebd7e1affde61e35493408aba665bc32a88bddae1d3f4d169018"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UsersController: TooManyMethods \u2014 74 methods. The bar is 30 methods; this is 44 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/users_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d8ae0e493c2436a96cf8821b314b36bddcd87cff78d8a9f05b9f8fd52f5aba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EmailForm: ClassTooLong \u2014 976 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 576 over it, 2.44\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0e02c943581903b1381f52b4b8f13a572dab47b569e7e3ff1d60fd1298cc32"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContactingCreatorMailer: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/contacting_creator_mailer.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"242ecefd84e4a66c43838fe96af6657baf8ba8da5ce7bed123f1be32c707f25f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowEmails.WorkflowEmails: FunctionTooLong \u2014 WorkflowEmails runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70579721eacc82524a8e735b79284eda49324560e494dacad8bdd0fd46d7a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: EmailsPage/EmailForm.tsx: FileTooLong \u2014 1146 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: EmailForm (221-1388). The bar is 500 significant lines; this is 646 over it, 2.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f691a9441ea6ef17764bfed77cb96a6555134482cc666e9ab611673213430304"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Product/index.tsx: FileTooLong \u2014 1132 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 632 over it, 2.26\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":"app/javascript/components/Product/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebe92cf316995d11b200b1b11a8736684a938864fd1dfafdddefe32c6cdc0a7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BeneficialOwnersSection: ClassTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 490 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e52e6fc526563b8d8067e4f5fc890a3757c79e07d18f397a0765636afef43d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.AffiliatesIndex: FunctionTooLong \u2014 AffiliatesIndex runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Index.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"258ce4aa0957c57ccfc030e763863a3a8748dd99a6771edb92b15bbf099f8cb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpsellsPage.UpsellsPage: FunctionTooLong \u2014 UpsellsPage runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b2968dba295d053fa7a0b714dd1f815fd200a7fbe8d8fedfdc6514d6534534"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TiersEditor.TierEditor: FunctionTooLong \u2014 TierEditor runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"647e3bc815d42de43c8596ee587de6a385fa604ed063d1e88d4da560fed79817"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.PiracyReportsShow: FunctionTooLong \u2014 PiracyReportsShow runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/PiracyReports/Show.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e1539bb8606f9bb9fe032a10928fe17be53275aea44ea4639dd55d8df7b797"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StoreAgentService: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_service.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e446017d33458dc12820a6cbfe65a4e04321ea5fad76bc324db62e53f451c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Edit.BundlesContentEdit: FunctionTooLong \u2014 BundlesContentEdit runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Content/Edit.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c871a8b9917436f6420b8aa5da69c40b7992bb49cae4ccfb903c40deb6f1114e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Checkout/index.tsx: FileTooLong \u2014 1056 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 556 over it, 2.11\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":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce96ef2ce610ed8b86ec1eba9e35b0f348574726db4ed7f5ae7ab9d9d3bd5e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaypalChargeProcessor: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/paypal/paypal_charge_processor.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc5c2bb728826bced8684e18ad9a3609682b1899a101dcfc13191edce1818d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LookupLayout.LookupLayout: FunctionTooLong \u2014 LookupLayout runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Public/LookupLayout.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbccdb51905eb72180176c7981e766b309d4af3d97070cd68bd33aa98f5509a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Prices: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/product/prices.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bd26464324085a06ca30fca455babe40454cbf8c29b4a8815a13f36799458d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Analytics: FunctionTooLong \u2014 Analytics runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/index.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27d0333dc79a99cf58e487ea9d1c52a9eb8184032900db1538022938286f90a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContactSupportModal.ContactSupportForm: FunctionTooLong \u2014 ContactSupportForm runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Support/ContactSupportModal.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c870db23510b349394191f5446306debf46436d51aae76b2871f557b78e0d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApplicationForm.ApplicationForm: FunctionTooLong \u2014 ApplicationForm runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d115e434ea60343895c3823bc70c2fcfdefc9fae76a3694b18cbf5e2146116ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/links_controller.rb: FileTooLong \u2014 996 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 496 over it, 1.99\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":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aea300984478b8359a0714332e391541c971a0f13de53c7f0d88181710e2fab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.UtmLinksIndex: FunctionTooLong \u2014 UtmLinksIndex runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"64954c95917d6ba67f8af02ee50d90463d43d68e312a6237edb273fc6b23b7fa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContactingCreatorMailerPreview: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/contacting_creator_mailer_preview.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0e153a397ee36c2e0e4cf45a974b8520b3420e4998109188bd6e13b71d36ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.TaxCenterIndex: FunctionTooLong \u2014 TaxCenterIndex runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/TaxCenter/Index.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fe726b76ce38233f60186acd9ab4b7509aaf207f2dc5e37b5a892d1a3ae5aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConfigurationSelector.CallDateAndTimeSelector: FunctionTooLong \u2014 CallDateAndTimeSelector runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"75773b5abb0e9eb22ad5ed300e19efc4f4c8e5b5f140f6aaee37a7fd60a35bde"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/installment.rb: FileTooLong \u2014 943 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 443 over it, 1.89\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":"app/models/installment.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fbd9425d12f1abee618571906408efa80ce8862e6f329371ca63b9cad00bd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProductPreview.ProductPreview: FunctionTooLong \u2014 ProductPreview runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductPreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"db05e8db0548ad0b1e128a98908b707c5033f3d40adfbe03ea3ccac72890f5d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProductFile: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/product_file.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"485d202715a7554b7ca6392466a4684cbd79cb82a39eb2f40da229d6fc74d49e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UrlRedirect: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/url_redirect.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6f85d9015fd29ed554f7feb58f3918ab832ef0388b196a1fe5f355b313e4fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UpdateUserComplianceInfo: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/update_user_compliance_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6880ddb7f6c5a49624ad632a153c8289ed1007973fb2cb5f7da9e1a25b8631"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShareYourLaunchCard.ChannelComposer: FunctionTooLong \u2014 ChannelComposer runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb94401490f4f4d8be835f789b0a0e262c79fa28a91eb327a721d37abf78326c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileEmbedGroup.FileEmbedGroupNodeView: FunctionTooLong \u2014 FileEmbedGroupNodeView runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b9097045919dff9018a63a8e14891d3b252f3108db4ad88af525c7facca454"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FirstSaleIcon.FirstSaleIcon: FunctionTooLong \u2014 FirstSaleIcon runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/FirstSaleIcon.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"46762b9fa8c056335025774304ced94005c83bb064964312d05e1716cec978cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Product/ConfigurationSelector.tsx: FileTooLong \u2014 911 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 411 over it, 1.82\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":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"458b467fb506982e2e0b8fbaeb41d4f4ba7179ded7c0da2519a747f6fcc9440a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Layout.BundleEditLayout: FunctionTooLong \u2014 BundleEditLayout runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/BundleEdit/Layout.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b0f493a82e633ed99379c9113b41a8f172913c0ad467603b91731b78665d96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.ThirdPartyAnalyticsPage: FunctionTooLong \u2014 ThirdPartyAnalyticsPage runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/ThirdPartyAnalytics/Show.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc6cb7dd4576f2cff3fc01a83690827b799ccd0a3d3908c7ea845d106fa3b3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CheckoutDashboard/UpsellsPage.tsx: FileTooLong \u2014 903 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 403 over it, 1.81\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":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4d8f5f98f3c70c41968c8f0dd3fa8151c8273cdff2c862723ca16622f9bee6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PurchaseSearchService: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase_search_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ebddcb253d72e9cc7f2aa2ce9346368ebc9610d95fe4af25dfd33dbe709996"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Checkout/Show.tsx: FileTooLong \u2014 899 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: CheckoutIndexPage (185-1298). The bar is 500 significant lines; this is 399 over it, 1.80\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2754813b5d338753ac34a6defc7161029a798abf6a4a8460df570d2d442ec30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/users_controller.rb: FileTooLong \u2014 891 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 391 over it, 1.78\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":"app/controllers/api/internal/admin/users_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cb02524242e63f327c06fa522b5dd8a3c0f0746c052974b428f42f04f701d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ContentTab: FunctionTooLong \u2014 ContentTab runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"65946b2d34afa2305ab1fd8fb00d1c05eb5ce5c386b18ea3d609c419a9c9bda7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CircleIntegrationEditor.CircleIntegrationEditor: FunctionTooLong \u2014 CircleIntegrationEditor runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CircleIntegrationEditor.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"987d40d22b62a77d71f3a7607aa508fdcf8f7875fb389389aa21ef6a83f0b1dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ApplicationController: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/application_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1456878b22772d4aa0976704fa6d66a079388a4a519d65c7ed63992c83e5d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Blockable: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/purchase/blockable.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96b92b835f738ee65d9f84f42d114ca1cbd6aabc3399f2d319e1d66e9458d73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: order/prepare_payment_intent_service.rb: FileTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 366 over it, 1.73\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":"app/services/order/prepare_payment_intent_service.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d3a4724cd1fc0bbf0b0a2fa95f8037688a4a943b46f86e650f2298a0b5b8d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.PagesIndex: FunctionTooLong \u2014 PagesIndex runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Pages/Index.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"902d317a7c8baa3a9c6c418203d90d55553bd3f2a4013f40a9fa35596177c878"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Api.Api: FunctionTooLong \u2014 Api runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Public/Api.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2d4b8935560d0d766544a8936637e729add1ebd7a9623aa8ff2e8b87cd7a70"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CustomerDetailPage: ClassTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 288 over it, 1.72\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e92e21d8e457e01a0ae87254c976e310adb4d780033f1d537874168b393ccb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.TeamMembersSection: FunctionTooLong \u2014 TeamMembersSection runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Team/Show.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"57542b5decda548a6e1fd1821c6cd66bb717a78aae05cb33547705d32db8bff1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Charge: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/charge.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"585bb78cb7d485fa7ab3c9dad8957bf45bf57a870b45d69e2c1d456c8dbf0448"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UpdaterService: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"029ef11784f3d62f2d4633aec1ae62b86131be33b9fa8d4340617f1ebd8c57f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatMessage.ChatMessage: FunctionTooLong \u2014 ChatMessage runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessage.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"37157305f9aa60eaafdb626f59f8b17b4906fc9de888efb52486ed267a4de71c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server-components/ProductEditPage.tsx: FileTooLong \u2014 838 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 338 over it, 1.68\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":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97333aa428678bd322bfe2e00f20a5eced6137bbc76e00a9ffe573274ce328b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Onboarding.AffiliatesOnboarding: FunctionTooLong \u2014 AffiliatesOnboarding runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Onboarding.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"afce40357add7d1bd25b8745972ef7a456138db84c0352f7e4347f009641dc62"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LinksController: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dcdc51bd6edfd796d5036940197bd2e7188e99414fe7f217bcd5de2467a626"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Profile/SectionsForm.tsx: 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":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02803251c2e2a39f32f9a533b863cce4ef808a896836d42495dea5790f590b12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Payouts.GetUpcomingPayouts: FunctionTooLong \u2014 GetUpcomingPayouts runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Payouts.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"751532b4c5266a10a30732d10067a476dbcbc65972a0b35d543da4720900519e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShareSection.ShareSection: FunctionTooLong \u2014 ShareSection runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ShareSection.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"729a8001542e8cb3584ad126a5268aa46b2aed9d478275759941dafb791452ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProductsTable.ProductsPageProductsTable: FunctionTooLong \u2014 ProductsPageProductsTable runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/ProductsTable.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bb66ccb5bd631137add9f79307f9bc8b8d39ab75c2447c00b647fb3e7ba71e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripe/stripe_payout_processor.rb: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 318 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c145e1c1ea7f2489773d4dea6453539980b6a7a1e08eb6c121fc2d1cf3f027c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BuyerCurrencyEligibility: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_eligibility.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba3b5c6b48a10e368c3228bfcad2c634c7b34e6e221848099600913f64e5642"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.Churn: FunctionTooLong \u2014 Churn runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Churn/Show.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b43f90cbcd3a2ffc45e6540bd53d5669520b33b7aa9c64f1101bec67d863a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PasskeysSection.PasskeysSection: FunctionTooLong \u2014 PasskeysSection runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"04935cb56deb92f976548be40c6d8a110569c7cebf08034ad496bfa72b091000"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ContentTab/FileEmbed.tsx: FileTooLong \u2014 796 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: FileEmbedNodeView (84-950). The bar is 500 significant lines; this is 296 over it, 1.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a0bfa7c220be73a48ca6fc3c81ca016fb2dd8158357c20930071bce2baa5c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Agent/AgentChat.tsx: FileTooLong \u2014 795 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 295 over it, 1.59\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":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ac079a6a5ccb072652c15ec4c67f2c629e1f8838fbd5ee1522eb85cc3421e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Payouts/Index.tsx: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 293 over it, 1.59\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":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f15891453b817f726338e77770f90ca1480e798b1c94f20f53e0e5e2e3f9b69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: paypal/paypal_charge_processor.rb: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 284 over it, 1.57\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":"app/business/payments/charging/implementations/paypal/paypal_charge_processor.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadb5352d3d127ad2a1667bacee0c407d82411208b3a5749490390fc94af856f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AccountStatusSection.AccountStatusSection: FunctionTooLong \u2014 AccountStatusSection runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountStatusSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75023e2c2d6cd28c983ad9aaa7c80e336ced17b7a33ef4fb4c4c23cd1b76c0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomizeProfileIcon.CustomizeProfileIcon: FunctionTooLong \u2014 CustomizeProfileIcon runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/CustomizeProfileIcon.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a7b1af17f825e5330e1afa55624e81f7dba59679fd2b25fb6153c84bf61f0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.PriceCheckerCard: FunctionTooLong \u2014 PriceCheckerCard runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/PriceChecker/index.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab2638a504b8d20b5618072d5878699832ecdba9bb8b714696953c2a02bb099"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditPage.EditProfile: FunctionTooLong \u2014 EditProfile runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditPage.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3957c28691eed5d23d8ec5b87ae07a59c678bf145ad1ca9fc603fb1514c2b3d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Payment: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/payment.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb37f03f1853c2850707c9d36af55ff97c5797b7e6579012a893ccf827fe350b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.FollowersPage: FunctionTooLong \u2014 FollowersPage runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Followers/Index.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"553667b8a620d80fceb4da21fb5b62582dcb990a2bbe132097bc81796b3ba452"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: New.LoginPage: FunctionTooLong \u2014 LoginPage runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Logins/New.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee300d15e4cab2e1901e135cf7e6846c0a382aec1952cf9187a2b5abdfb1102"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomerDetailPage.LicenseSection: FunctionTooLong \u2014 LicenseSection runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"422fb95eb5e259837a40e3f593ac2d0da2e34bcdec0e1edbf4625e6ab4b567d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Download/FileList.tsx: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 234 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79963ae45d5bbf43eac454c03b36389e168d86a5dabf95a1574c57019d376cbd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseController: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/base_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4825511ce5c70ebab74f620e11b8ec6cdbbae599060630d46c7c98bb240dc0e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UrlRedirectsController: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/url_redirects_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"08460596b9e84f4dfcd5bce9db62662f039ca88c8c973dd94402268c2ae9f577"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AssetPreview: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/asset_preview.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e87fde03be2fbd8c23cd056dac5d940df95559227ad8027cd610eaea1cdcae4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnthropicClient: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/anthropic_client.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da11d4d839cc8f2b7a74252118b8f79a2d80e9b38b97d66c4e56ea93e173222"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpsellsPage.UpsellDrawer: FunctionTooLong \u2014 UpsellDrawer runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"840d55e68ffc2271c57400cea81d1f88fe0066a342c5bb6a62125e8d67d05f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.CollaboratorsPage: FunctionTooLong \u2014 CollaboratorsPage runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Collaborators/Index.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76809ae6f66d6ce15bc1a6c173fba4be224adce92b54788c03cc54a8e4a1dd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UrlRedirects/Read.tsx: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 227 over it, 1.45\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":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57d3fd6bc293b6edf878568e236c6e07a4edade64b0665d492e7048b539c6a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AvailabilityEditor.AvailabilityEditor: FunctionTooLong \u2014 AvailabilityEditor runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/AvailabilityEditor.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7f53851d4766555bc0e313c4c726ac0a7cd127eeb69e88750273198680efc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DistributionChart.DistributionChart: FunctionTooLong \u2014 DistributionChart runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/PriceChecker/DistributionChart.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f679cb0740c7ca064e9e9d087fa70be1a6a193156d007b310f5f1f930a3613e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.BillingSettingsPage: FunctionTooLong \u2014 BillingSettingsPage runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Billing/Show.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd011b3ef307efa3a4b6235d7d4a0a240da832f8922fb624614d22f9e5c9940d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StripePayoutProcessor: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0bb760a664e2cd4f78abb7f600c90de76f4dd580f511024b9c86c5cb28e4dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SendWorkflowPostEmailsJob: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_post_emails_job.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b904ab3855d2b66bc439cf120fc44976aab23eab6112f091ab5f628991285c68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ApiDocumentation/responseFieldDefinitions.ts: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 212 over it, 1.42\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":"app/javascript/components/ApiDocumentation/responseFieldDefinitions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82054b1855bb248f1c4d991c3a0e52104c8b381fa2eeb5b1088aff1ceea516d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActionsPopover.ActionsPopover: FunctionTooLong \u2014 ActionsPopover runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/ActionsPopover.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1436a9675a92f2540b8c50bcbe3376e4d124d898e62a83b1b43f0ee28b0149"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EmailBlastIcon.EmailBlastIcon: FunctionTooLong \u2014 EmailBlastIcon runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/EmailBlastIcon.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a522ffdc10f10fdd18ca92472e6e404831a501b81c6bfbd1f9ab34b5f22c6c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mailers/contacting_creator_mailer.rb: 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":"app/mailers/contacting_creator_mailer.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba8bf7ebfcca596fd9d7507ad62846c4f26f876ca3c6c1819c5519c7a211a10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Endpoints/Products.tsx: FileTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 202 over it, 1.40\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":"app/javascript/components/ApiDocumentation/Endpoints/Products.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f01de62809e454449b9668e78c1bf0b3d962643ef51036e65a41f906435c01"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StripePaymentPresenter: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout/stripe_payment_presenter.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b445ddbce2271a43577ac2594e3d85c55d4ba5992a0189f364b919c54751d9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiscountsPage: ClassTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 160 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36de77825d6a1bcb98de2a44d68803a0a3543daa43e1bd5754cf70b2fbdc8bd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: order/charge_service.rb: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 198 over it, 1.40\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":"app/services/order/charge_service.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4765f430a3cad89017a0499beeb67631c03803c35c3f106a5bd62a3c393f9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/offer_code.rb: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 196 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/offer_code.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a46340a980ebd6fab1673c477ef886b6e89c110cc1b9b20e8ffbca20b4b9c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PostCommentsSection.CommentContainer: FunctionTooLong \u2014 CommentContainer runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7444c7deac129a7d56b9b6d757a43ce1678967f141f0a69ca16fa56a7557eca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Edit.BundlesShareEdit: FunctionTooLong \u2014 BundlesShareEdit runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Share/Edit.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"48af860034d4c7fb772950b38179a24d35180f15b49624a3ee5e98f6525a5949"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.PasswordPage: FunctionTooLong \u2014 PasswordPage runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Password/Show.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"844b18173b8d56af2d69e6d7a5bf39d639eeb3211267d47466e984d9bdcf71f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: concerns/renders_custom_html_pages.rb: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 188 over it, 1.38\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":"app/controllers/concerns/renders_custom_html_pages.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa1bfc6a7421b77ec836fb8793a335abe395e306cb8101875a8295aa6510ef2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Products.CustomHtmlDocumentation: FunctionTooLong \u2014 CustomHtmlDocumentation runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Products.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a621f361f8e128ef401b3128ebeb7f4cb6bd78d6782cb8e02c5199e2530dfc45"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ResourceSubscriptions.ResourceSubscriptionsDescription: FunctionTooLong \u2014 ResourceSubscriptionsDescription runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/ResourceSubscriptions.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc34a4e1df1a0fb015e92ed7dfad0f94fe6a77a12eebe665a458d519441f875"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.UtmLinkDetails: FunctionTooLong \u2014 UtmLinkDetails runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6efebbadd9553f17dfbfc125528891bfd7ad73ba3d17fa6a958bfe556c74966"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlertOnStaleBlocksHoldingEstablishedBuyersJob: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/alert_on_stale_blocks_holding_established_buyers_job.rb"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"987022c6119223dd8addbdd52a729337ba6ef468008fee718770d7bb048f6d2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user/stats.rb: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 175 over it, 1.35\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":"app/modules/user/stats.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34690c17233ac41f076c5ac3abfe168b0804971decc5ccba6256427eb32dfff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Profile/EditSections.tsx: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 173 over it, 1.35\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":"app/javascript/components/Profile/EditSections.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2673274a334fd084bc948fca6bff2008fd87d4487938c9bf7dbbf5c85e99643"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkflowEmails.EmailRow: FunctionTooLong \u2014 EmailRow runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3a0ffff09d923377ba32f89301c5c767d0012e252f25f0ac86d6591d8eb8e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WorkflowsPage/WorkflowEmails.tsx: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 over it, 1.33\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":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fe5c76f31436c95953b5cb723381ec8fd1aaf98795d5c3ecb315573bf7b8db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AffiliatedPage.AffiliatedProductsTable: FunctionTooLong \u2014 AffiliatedProductsTable runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/AffiliatedPage.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"919fc9a7394ccfe27f33f52a525e9d7aff1e7b222077068cbb84ec0e1b879c5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PaymentForm.useStripePaymentRequest: FunctionTooLong \u2014 useStripePaymentRequest runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"920815d73ba9c0b007667d46358e1aaa2e1d65e59b9d93101dd3a41a8620f748"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CoverEditor.CoverUploader: FunctionTooLong \u2014 CoverUploader runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CoverEditor.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ee4e93e283d6a8a1d24aac0f98bd8e4f47d3d32082f1312f74dbd30a7aba46"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkflowForm: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 128 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5003c7577fda8a1bc17e7aaa0c1a64a13699ab8844aa3f50c90b065993266508"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: New.AffiliatesNew: FunctionTooLong \u2014 AffiliatesNew runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/New.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"20793eeba47db0aab42a58bac427428a3666b0247c703d8185812743bebfdb29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Link.LinkNodeView: FunctionTooLong \u2014 LinkNodeView runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Link.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"773ddc3177b220f8ce4d0a9078ae42097ca3bdfc54ba76cdfd60826ed21b795e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: personalTaxId.getIndividualTaxIdConfig: FunctionTooLong \u2014 getIndividualTaxIdConfig runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/personalTaxId.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"df40e6d164121570b3381101e97cd0a1a5a78b7890c779ed315b6d8f04a9248b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: purchase/blockable.rb: FileTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 154 over it, 1.31\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":"app/models/concerns/purchase/blockable.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44fe11c120fb5e38e6892749e1d639b514d5038984e8c5af581f2d48c86e0aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Layout.CtaBar: FunctionTooLong \u2014 CtaBar runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Layout.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"120d04f962e2c4e6ef9b6b79dc71eed3467ad11a20a7ccfce15ddaf568fcc3ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.TwoFactorAuthentication: FunctionTooLong \u2014 TwoFactorAuthentication runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/TwoFactorAuthentication/Show.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b15eb751a8b15037b86150805841cd698e93f64b489126b5ab226d9e4f8f30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AffiliatedPage.AffiliatedPage: FunctionTooLong \u2014 AffiliatedPage runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/AffiliatedPage.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"821a82b07b943ce5cadf61eb50e4d9dd38ee2dbbfb6c52977a521f1e2eb8d558"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/RichTextEditor.tsx: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 144 over it, 1.29\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":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2881bb0626f921aab5c67d3e2f5751fc3962b07306598996832cd2492d239e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Sales.GetSales: FunctionTooLong \u2014 GetSales runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Sales.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8eeef33fb241278181378d2914bf2c02d332ec42bb83d938c520a65a43af85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Communities/Index.tsx: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: CommunitiesIndex (87-677). The bar is 500 significant lines; this is 139 over it, 1.28\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Communities/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48850fc2fbe47be954e897839bbb83300ee555f8091d4804fe3cb1ee074f4c2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReviewVideoRecorderClientOnly.ReviewVideoRecorderClientOnly: FunctionTooLong \u2014 ReviewVideoRecorderClientOnly runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ce1cb67f5667b0e160106492c67c5ae1eda4bea73493005de70d39702f876c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FirstPayoutIcon.FirstPayoutIcon: FunctionTooLong \u2014 FirstPayoutIcon runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/FirstPayoutIcon.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed009dbb571b2758070f9ef3327857a4f5900a5c15b1960ffba5455c7faa5ade"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Risk: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/user/risk.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01b4348ba101507be42e9950396a1459aecb6eaaaf1383779f7ddbbf2dfb344"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/order.ts: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 132 over it, 1.26\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":"app/javascript/data/order.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab438343b8f7c88426cfe88159567a227328157097931f18f4a4b17f4f13628"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomerDetailPage.AddressSection: FunctionTooLong \u2014 AddressSection runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"3251c6a80fcd4d46a14a0aa07ac1c0b050517e0fead03a2f1f2a50cf92a2b1fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Nav: FunctionTooLong \u2014 Nav runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/client-components/Nav/index.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"086093e4a62818b3f510bd8bff393466b4d7510328a12da6eb280a6588ef624d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Wishlist: FunctionTooLong \u2014 Wishlist runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Wishlist/index.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d5a8b0789efbf8b3e35d4ee10df5656eca5314a64893db75fad48777b19e1f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UserComplianceInfo: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user_compliance_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"36063cc5aa9eee800994a4cb545d58b6edb78a44b958c86dba9fed5f392a3614"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Nav.HomeNav: FunctionTooLong \u2014 HomeNav runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Home/Shared/Nav.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bbe095999cf952ca007ea2406bad2fb40a2c4ded78bfaa746b12a55fc244cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: purchase.createPurchasesRequestData: FunctionTooLong \u2014 createPurchasesRequestData runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/purchase.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd8ece4963268f9c15c46746434b06cb0754306771a26f61a3868b8979bae42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WorkflowsPage/WorkflowForm.tsx: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: WorkflowForm (97-688). The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d797cbfed8f816112b8b0ed6b2113231b01d94926bf533a39da93fa43a87e1da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuthenticatorSetup.AuthenticatorSetup: FunctionTooLong \u2014 AuthenticatorSetup runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/AuthenticatorSetup.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2291f6d9230bb0389fcd21f2f35716c3d73ec57cd5507a3a33d36f3390038ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Edit.AffiliatesEdit: FunctionTooLong \u2014 AffiliatesEdit runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Edit.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bfed26ec0b07371f133f33bbad9f9cc1a45601fbbe2429223b72eca980c838"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subscription/updater_service.rb: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 106 over it, 1.21\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":"app/services/subscription/updater_service.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"420120c2c4ed24855b601f6f995225c2f39378d6b155a27a68411838993b0bd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatMessageList.ChatMessageList: FunctionTooLong \u2014 ChatMessageList runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessageList.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dd229b191b16318695f8db7593dfeddde2cad7dea546627164dec397a95d71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PostCommentsSection.PostCommentsSection: FunctionTooLong \u2014 PostCommentsSection runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3468a506f4101c5a1c767a5dac9fa93a5e566959308d01e9f8779307b6af2285"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CartRecoveryCard.CartRecoveryCard: FunctionTooLong \u2014 CartRecoveryCard runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/CartRecoveryCard.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"342dbf02b1ed54a4d23f8266c615c1b0994650d1707cdbc77c53547b5be96404"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: checkout/buyer_currency_quote.rb: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 over it, 1.21\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":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c23269c5f66eefbf771b1a4875cac3fba2be5339d7264d97a85f668ceb7668"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProductEditPage: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d2292d5c426e8776ef60e083a9e6cccd07e72ab7ec2aa500e31fea8dbe7f5a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CurrencyHelper: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/currency_helper.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"555d23e662dd5a0ad93a787df7b3d34eadff98f04a8c7dacb7da47e2132ff2b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GdprDataErasureService: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/gdpr_data_erasure_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba04769d2f95480060e12e3f49817d415bcbaa21ad382f287bbcb6539838f31d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExportPayoutsPopover.ExportPayoutsPopoverContent: FunctionTooLong \u2014 ExportPayoutsPopoverContent runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Payouts/ExportPayoutsPopover.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3320908b3ef2118f95be1de1da1ab679a27d3bd91140c0ff250d99eb865ac99"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CustomersPage: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 79 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc071602991272a5b4381113fa6c02a9ba8f1d0915e4fb9105ed3a93f7e04d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Main/Show.tsx: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: MainPage (85-624). The bar is 500 significant lines; this is 97 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99ef594a803d4b18409a996f6736ac9aa7c4a0c26c8f583b69686ebec096ead"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpsellSelectModal.UpsellSelectModal: FunctionTooLong \u2014 UpsellSelectModal runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UpsellSelectModal.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb79db12a4a31eb648ae4f2bf51fddfb47a93cdddace0c522865d2728967568"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment.createReducer: FunctionTooLong \u2014 createReducer runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"87131754a77397b0abc4e0bfbaa45eff5def4d94f6d6f687aee01db7aa69d69e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Footer.HomeFooter: FunctionTooLong \u2014 HomeFooter runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Home/Shared/Footer.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b685d8b68ceeb0821b426467b2e9bf0d988da30a5c5251954003439e59993"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Form.AffiliateForm: FunctionTooLong \u2014 AffiliateForm runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Form.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"85165f76154be84b398cd4732b97c4302ebfcc03166169f15e0aa9fecfc8ac90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presenters/settings_presenter.rb: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 89 over it, 1.18\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":"app/presenters/settings_presenter.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f240d13ba3b1a0b99bd306f2d1951f22cfbcbfb2d753591e32cfaac011cf38"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PublicProductPage.GetPublicProductPage: FunctionTooLong \u2014 GetPublicProductPage runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/PublicProductPage.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2339fc98ed9e1c3c48a32c4784c6f3a82593ed4456308876e30a9423b59abcb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PaymentElementInput.StripePaymentElementProvider: FunctionTooLong \u2014 StripePaymentElementProvider runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentElementInput.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"012cceff0c3ff6575a504c0927d18f28524bd7bad7784b0b09c1564e00682fb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PayPalConnectSection.PayPalConnectSection: FunctionTooLong \u2014 PayPalConnectSection runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/PayPalConnectSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb288a40956e0516beac50f39e1446fcd12e822a0b50573f31b1ae07922ba30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GoogleCalendarIntegrationEditor.GoogleCalendarIntegrationEditor: FunctionTooLong \u2014 GoogleCalendarIntegrationEditor runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/GoogleCalendarIntegrationEditor.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83e7c4b43009801cd18d318aee9b8932bfd1d2853a2d18f568ec13cb42de949"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MerchantAccount: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/merchant_account.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aa35a963f6feffbea0cd3e36b819ce13c3a530d6950bede053822853bf4b8e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaymentInfo: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/receipt_presenter/payment_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2e4aee6ab61efe9c2f415553d670026a9e13b32a7b95069e9730f3511fbc9d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Mcp: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/muse/mcp.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"edecb61a27ddce9e41917d2bdcc71ce6fe7659124e26bbff0a918608eff9c970"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StrandedBuyerRecoveryService: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/risk/stranded_buyer_recovery_service.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8addcff9ce36198956c2be59f1d212f652cc63cae91e414a8a8c5c420764c1eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: purchase/refundable.rb: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 over it, 1.17\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":"app/modules/purchase/refundable.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab2b2791aa720584472fc7aa6cad5f6ae18d6097381e77d43e5da652f5c9688"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Audience/CustomersPage.tsx: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: CustomersPage (66-599). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3103e2583abded37f7902f51db57c262eea85f5ef9de4c094d6bfd3976b2d8ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DiscordIntegrationEditor.DiscordIntegrationEditor: FunctionTooLong \u2014 DiscordIntegrationEditor runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DiscordIntegrationEditor.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c427ee1629f84cba09519c3e13d353d2f9d6b4c50faa86243082eee7d157c65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TiersEditor.PriceChangeSettings: FunctionTooLong \u2014 PriceChangeSettings runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f7a39026dbf8275094432325c5c69e4f41ac55abe86a5e3c07fe0e3b21faeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ShareTab: FunctionTooLong \u2014 ShareTab runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/index.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1769d15a71dd38e4b4c91217e84421937e195377142736efcb6f986f20e70fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TestimonialSelectModal.TestimonialSelectModal: FunctionTooLong \u2014 TestimonialSelectModal runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TestimonialSelectModal.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c81873a6d72d8c939ce41971129ff3a389715a32dc34f32d94115314873523"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LandingPageEditor.LandingPageEditor: FunctionTooLong \u2014 LandingPageEditor runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/LandingPageEditor.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2342381b97dfb0058890b2fa2616931ceec1cfb9cf4e2fbf4fd9ecaeb2cd9504"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Scheduled.EmailsScheduled: FunctionTooLong \u2014 EmailsScheduled runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Scheduled.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"998ba512d669256a0c0e3edf3104c41cb1d0ba550ddc87198de051237df85fb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Profile/Show.tsx: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: SettingsPage (102-694). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Profile/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d329c9c71ab09b6dd563496a43914f5c670ce759c84d91c49ee7bd8a5bbfcb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ItemInfo: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/receipt_presenter/item_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c6d70e6e12ef9ac716ab283fd7e0753ebe58cd54eec109e34108920cef3b28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MigrateNewsletterSubscribersToFeatureAnnouncements: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/migrate_newsletter_subscribers_to_feature_announcements.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f59420259a9a89507235c1df536e45560d5cf9cc5d8de37da5300b923c5ad99"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChargeService: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a3eaeef783c9a10e8dc95668f9255e2f2f3d264a6edd85ca8de53291244b46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payouts/payouts.rb: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 66 over it, 1.13\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":"app/business/payments/payouts/payouts.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa756a096b841585d9ed384d3def0a3a4d9c6bad7c927a3c6aa4e76c91c685d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Products.CreateProduct: FunctionTooLong \u2014 CreateProduct runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Products.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6abe9687ba546276b0a0c98b1e5298f338cb7de9c89a20e56af65756cf6b281"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateBrandAccountModal.CreateBrandAccountModal: FunctionTooLong \u2014 CreateBrandAccountModal runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CreateBrandAccountModal.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a89d70f12ecdb09d906e3b9f2bf76cfa90ce8bafeaa4777926cc7f94c6c7b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/gdpr_data_erasure_service.rb: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 61 over it, 1.12\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":"app/services/gdpr_data_erasure_service.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a63e769dad19ff06a730bcd6206bbea85a2f440b2a558c7e6dc76e0004f6b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai/anthropic_client.rb: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 59 over it, 1.12\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":"app/services/ai/anthropic_client.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32c4751769b840b721181a6df8bc610380dfd591092dd5510dc8f10e3f20b3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.PostsShow: FunctionTooLong \u2014 PostsShow runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Posts/Show.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6628cfc041e5b5c799ae7776c634e67e8b72fb64db3e7f0075e5a53cbbf4cd2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.AuthorizedApplicationsPage: FunctionTooLong \u2014 AuthorizedApplicationsPage runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/AuthorizedApplications/Index.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4da41cee398f0ca68c90f5cf31fb1a1de7e0081566e6194fcf2a5fd55b37841"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Payouts: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/payouts.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bd891aa31d5640578040d94f1d572f312bd7583fc80e507acdf4fbb2d59f06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomerDetailPage.CommissionSection: FunctionTooLong \u2014 CommissionSection runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d288ddfb32b393a6c2a7b9d05738829bedc0855739b66ec1cd5ba0e3088c4ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Sales.GetSale: FunctionTooLong \u2014 GetSale runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Sales.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4723b79734a7ac6e444b18b65853c3d3bd230dbb642cdbdb8f4eb9c4c10ccb5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PriceEditor.PriceEditor: FunctionTooLong \u2014 PriceEditor runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/PriceEditor.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8a45bbb5cbedcd6828d505cf1f7de9cad5939741bdb2533adadab3298a0c37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/url_redirect.rb: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 36 over it, 1.07\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":"app/models/url_redirect.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2c93d2b236b1e21ae1db0b836060beb4a3d38fa57befad37027bc211a80486"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomerDetailPage.RefundForm: FunctionTooLong \u2014 RefundForm runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3497b2e651d6c9f772478fbb049dd518437a6eeb0c1c35642b9679fb70a05c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PaymentForm.PaymentMethodsSection: FunctionTooLong \u2014 PaymentMethodsSection runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a2f985fb2e5fbb9db576b2ac806415e925145c20253a5433db070b4ba56151"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Posts.PostsNodeView: FunctionTooLong \u2014 PostsNodeView runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Posts.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42a80357d461478e0ab784e0c9084767adae27ce6471df3bf85a2ef559476ff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentConversationPersistence: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/agent_conversation_persistence.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8b7c4f7e16aaf262e1013a0b486af6fa7beb443e74d224abf0543bd26ad3bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.ReviewsIndex: FunctionTooLong \u2014 ReviewsIndex runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Reviews/Index.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25b5f347e5422bfb4be8ec57d2c5828214ef0968ca696ef05fc915da3f8719a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Show.AddTeamMembersSection: FunctionTooLong \u2014 AddTeamMembersSection runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Team/Show.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf81c6148c1e3de2cc9b4c46cfed9377b72ce47e6d1a1c2722f67bfd4bb19bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EmailsController: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/emails_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1957f22aa59be57afd09058c49231516c5edf033d362b1f6b540b9d4b43f0a53"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CustomerLowPriorityMailer: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/customer_low_priority_mailer.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bdf45995c6e53efdd39e4b53002987f7fec9b71f44471069326905f84771ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CustomDomain: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/custom_domain.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc6b1896c2a7a8ba8c51744af463544304fa364d09e75e067623aa3e75042d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BuyerCurrencyQuote: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fa9ae2239cf64f342d079c2fea4abd6fec82c40e750ed51017cb2f9e92923d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OfferCodeDiscountComputingService: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/offer_code_discount_computing_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5100e6b91ff81ae4fbc38d06da43bc72dc85898326301e0091f8bbb67ef86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RefundPolicy.RefundPolicySelector: FunctionTooLong \u2014 RefundPolicySelector runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/RefundPolicy.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"429bde7cacc966ad6cb7a599aa3a78e5c86551537123bb390869965f012ceed2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Index.WishlistsPage: FunctionTooLong \u2014 WishlistsPage runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Wishlists/Index.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30ad6f54059cd087e85443f55334c320de2e6cd2f99ce772b9cfa5febac008f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Products/New.tsx: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: NewProductPage (113-503). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Products/New.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af07e291f24c690633d2d0f72a2b26ee96155e2e030023c3236b82ae70632d25"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Library/Index.tsx: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: LibraryPage (228-614). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Library/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1852d56af9a9a3627eacf6517b4628aca572ecbddd0d0e0c6df09cbe4337dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: purchase/create_service.rb: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.01\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":"app/services/purchase/create_service.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e140cae44f41128c734abc69795f22b6cc8d39704985f244402d2275a8d5988"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (41 shared lines): app/controllers/api/internal/agent_messages_controller.rb:27-82 | app/controllers/api/mobile/agent_controller.rb:93-151 \u2014 These two members are variants of one another: 41 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_messages_controller.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbba0e5c73e4d785ecd9bc5d839fb19daaaeb3485f4be215f5c103a3331cd390"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/sidekiq/create_canada_monthly_sales_report_job.rb:17-170 | app/sidekiq/create_india_sales_report_job.rb:32-136 | app/sidekiq/create_us_state_monthly_sales_reports_job.rb:14-177 | app/sidekiq/create_us_states_sales_summary_report_job.rb:19-164 | app/sidekiq/generate_canada_sales_report_job.rb:10-140 | app/sidekiq/generate_fees_by_creator_location_report_job.rb:10-142 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/create_canada_monthly_sales_report_job.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb85660307ae5c37bee28f988fffda97c72f9e6b8947b1471af6eb66264baf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/models/credit.rb:131-161 | app/models/credit.rb:180-221 | app/models/credit.rb:360-444 | app/models/credit.rb:459-482 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/credit.rb"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9f1a05af6e4cd1728d625c6da5922411f655f21973914ad4b9a751b02d1495"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/mailer_previews/post_resend_api_preview.rb:27-39 | lib/mailer_previews/post_resend_api_preview.rb:43-55 | lib/mailer_previews/post_sendgrid_api_preview.rb:27-39 | lib/mailer_previews/post_sendgrid_api_preview.rb:43-55 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/post_resend_api_preview.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0d4b4ae101f1c558c0dfdcc565b0e064bab782d1df0361331544b5f2b144a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (105\u2013132 lines \u00D7 2): app/controllers/api/internal/agent_message_streams_controller.rb:50-181 | app/controllers/api/mobile/agent_streams_controller.rb:46-150 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/controllers/api/internal/agent_message_streams_controller.rb:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_message_streams_controller.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"60429bc6c08d0b824f1eeafd3cd243df27fa26dd4a8721368dc292e4d9fd4ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): config/environments/production.rb:5-61 | config/environments/staging.rb:5-61 \u2014 before extracting anything, compare \u0060config/environments/production.rb\u0060 and \u0060config/environments/staging.rb\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/environments/production.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceba7811647eca58f2e5a78d432fef9bf9155ce403e8d803323d5a641012243a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): app/controllers/api/internal/agent_messages_controller.rb:91-119 | app/controllers/api/mobile/agent_controller.rb:160-190 \u2014 before extracting anything, compare \u0060app/controllers/api/internal/agent_messages_controller.rb\u0060 and \u0060app/controllers/api/mobile/agent_controller.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_messages_controller.rb"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e19132aa5d315aca23fd866fb6759009caf9d30c8620db51509fb87699ac5ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201330 lines \u00D7 2): app/controllers/api/internal/agent_message_streams_controller.rb:203-232 | app/controllers/api/mobile/agent_streams_controller.rb:176-200 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_message_streams_controller.rb"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae8219cb37767ac7b36f6a6067dc01b7714dd094728d0405e124625783ac32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): app/controllers/api/v2/links_controller.rb:116-145 | app/controllers/api/v2/links_controller.rb:346-375 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/controllers/api/v2/links_controller.rb:115\u0060 calls \u0060render_response\u0060 and \u0060app/controllers/api/v2/links_controller.rb:345\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdace76878fffdb6f055a42f93356a25bccc41c1a99e15390e206447867f86f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201330 lines \u00D7 2): app/services/onetime/backfill_april_tax_remittances.rb:61-90 | app/services/onetime/backfill_q2_2026_tax_remittances.rb:66-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/services/onetime/backfill_april_tax_remittances.rb:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_april_tax_remittances.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c84a124caf6c53e2e91c35613c823bb86187d941676ff42e125819f5c2e814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/models/credit.rb:323-350 | app/models/credit.rb:488-515 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/models/credit.rb:322\u0060 calls \u0060get_usd_cents\u0060 and \u0060app/models/credit.rb:487\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/credit.rb"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1919a1889e88638273daf2bed26835db167bac17b97fa70c4a95921cf5588f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): app/controllers/api/internal/agent_messages_controller.rb:121-146 | app/controllers/api/mobile/agent_controller.rb:192-216 \u2014 before extracting anything, compare \u0060app/controllers/api/internal/agent_messages_controller.rb\u0060 and \u0060app/controllers/api/mobile/agent_controller.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/controllers/api/internal/agent_messages_controller.rb:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/controllers/api/internal/agent_messages_controller.rb:154\u0060 calls \u0060find\u0060 and \u0060app/controllers/api/mobile/agent_controller.rb:217\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_messages_controller.rb"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ef40eb93223e1b4287d65e739ff68336579b43ef4b317ff3a100decfec45a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201324 lines \u00D7 2): app/controllers/api/v2/links_controller.rb:53-66 | app/controllers/api/v2/product_reviews_controller.rb:24-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/controllers/api/v2/links_controller.rb:53\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59f817ed107d26d45a2a6db224a5f905f9bbaf93f400b5378f6e831ea4b5df6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): app/models/concerns/purchase/charge_events_handler.rb:237-260 | app/sidekiq/reconcile_client_confirmed_charge_job.rb:91-113 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/purchase/charge_events_handler.rb"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0788a5673f34982bb7400e5e97a604168c393a181b7b9ae4e31f46a7db34b15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/services/onetime/backfill_self_affiliate_dropped_proceeds.rb:260-281 | app/services/onetime/rebuilds_seller_settlement_amounts.rb:43-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_self_affiliate_dropped_proceeds.rb"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cee0dd3469e93ee19b0d98e1d7fd1f74fb3cf03f8b632260a3e032eedd0ce91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/controllers/api/internal/agent_messages_controller.rb:27-47 | app/controllers/api/mobile/agent_controller.rb:93-113 \u2014 before extracting anything, compare \u0060app/controllers/api/internal/agent_messages_controller.rb\u0060 and \u0060app/controllers/api/mobile/agent_controller.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_messages_controller.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"78042d5b5f9e0043209860def760afed6c3835dde16e798284836d59a91ec374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/models/credit.rb:137-156 | app/models/credit.rb:197-216 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/models/credit.rb:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/credit.rb"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c238c11d8ef046760842a0b7d442cdf6be0ec26d3ba463981f19c0fc1ac78d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): db/migrate/20120216022958_change_yen_to_jpy.rb:5-24 | db/migrate/20120216022958_change_yen_to_jpy.rb:28-47 \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":"db/migrate/20120216022958_change_yen_to_jpy.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7212082b67156c1b0583628554092722b8f03573957fd60a3bad63ac4707876e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): db/migrate/20190504212349_sync_dev_columns_lengths_and_positions.rb:5-24 | db/migrate/20190504212349_sync_dev_columns_lengths_and_positions.rb:41-60 \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":"db/migrate/20190504212349_sync_dev_columns_lengths_and_positions.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3d4b4d5b835ebf10e016665037fb5b208d49739dd2ea7a9995a0eeafa02580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): app/controllers/api/internal/agent_messages_controller.rb:155-170 | app/controllers/api/mobile/agent_controller.rb:217-235 \u2014 before extracting anything, compare \u0060app/controllers/api/internal/agent_messages_controller.rb\u0060 and \u0060app/controllers/api/mobile/agent_controller.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/controllers/api/internal/agent_messages_controller.rb:154\u0060 calls \u0060find\u0060 and \u0060app/controllers/api/mobile/agent_controller.rb:216\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_messages_controller.rb"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aacbf5c4607fa7ae601bd5264c333d04b44a3740a624be4c27e0d6502a77961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/services/post_resend_api.rb:225-243 | app/services/post_sendgrid_api.rb:220-238 \u2014 before extracting anything, compare \u0060app/services/post_resend_api.rb\u0060 and \u0060app/services/post_sendgrid_api.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_resend_api.rb"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a008886cd7f9286344b8b79bc0ef210102f2a725b695f6a266dacb8c927a11e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): app/sidekiq/generate_canada_sales_report_job.rb:147-164 | app/sidekiq/generate_canada_sales_report_job.rb:182-199 | app/sidekiq/generate_canada_sales_report_job.rb:226-243 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/sidekiq/generate_canada_sales_report_job.rb:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/generate_canada_sales_report_job.rb"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4555331e1e718bf527a721694263536e276f9ed5d8be5cec59d21fa780167f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/services/post_resend_api.rb:190-206 | app/services/post_sendgrid_api.rb:111-128 \u2014 before extracting anything, compare \u0060app/services/post_resend_api.rb\u0060 and \u0060app/services/post_sendgrid_api.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_resend_api.rb"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"15feb0108b8aa6a55817aee2b611ba3b11411970e28c1dd31463793b9124252d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): app/models/credit.rb:144-160 | app/models/credit.rb:204-220 | app/models/credit.rb:370-386 | app/models/credit.rb:465-481 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/credit.rb"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fda3f98dfde1a7415b69d4696c0799ecc4f326afd0d414dac8059a8aec3263e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/services/post_resend_api.rb:247-263 | app/services/post_sendgrid_api.rb:242-258 \u2014 before extracting anything, compare \u0060app/services/post_resend_api.rb\u0060 and \u0060app/services/post_sendgrid_api.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_resend_api.rb"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace5474d4e91ab81971de7c6d729e17cbc9c3151fa67861d427be34c880156ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): config/initializers/mailer.rb:40-55 | config/initializers/mailer.rb:78-94 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060config/initializers/mailer.rb:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/initializers/mailer.rb"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f957036ae1387c648aca59a1b05d52bc85df8084c4502075826a88d8eb492ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201316 lines \u00D7 3): config/domain.rb:12-27 | config/domain.rb:29-44 | config/domain.rb:45-54 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060config/domain.rb:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/domain.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"321321fe0bf9cdaca54417a54c8980a19dc8b690d2d40b35926248ef4524d74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/controllers/links_controller.rb:1456-1470 | app/controllers/products/archived_controller.rb:57-71 | app/controllers/products/collabs_controller.rb:47-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3570e1a5cfb91314c1a33494dac5e238ba8fdd59f82f78d92bad9bb157362c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/services/exports/payouts/base.rb:387-401 | app/services/exports/payouts/base.rb:405-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/payouts/base.rb"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeacf458943a09057eab574d45f3710e59826d301fe6806a0f247c0eeb2a5b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/services/product/variant_category_updater_service.rb:56-70 | app/services/product/variants_updater_service.rb:45-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/variant_category_updater_service.rb"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6022e36ffc322a8687b0afebd570948bd5ce1785921d8023bb8ca0e2aba32e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): app/sidekiq/create_canada_monthly_sales_report_job.rb:157-170 | app/sidekiq/create_india_sales_report_job.rb:123-136 | app/sidekiq/create_us_state_monthly_sales_reports_job.rb:164-177 | app/sidekiq/create_us_states_sales_summary_report_job.rb:151-164 | app/sidekiq/generate_canada_sales_report_job.rb:127-140 | app/sidekiq/generate_fees_by_creator_location_report_job.rb:129-142 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/create_canada_monthly_sales_report_job.rb"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b9d00a017b9d0b4b4523eb9158e891e3a134285f142b93319c25826d495c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/controllers/api/v2/covers_controller.rb:10-23 | app/controllers/api/v2/thumbnails_controller.rb:12-25 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/covers_controller.rb"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb2c499d33c7a8bee22963649a4ea4ead36897c8cb13dead5bc0f2f8d152a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/controllers/api/v2/links_controller.rb:733-746 | app/controllers/api/v2/users_controller.rb:113-126 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/controllers/api/v2/users_controller.rb:111\u0060 calls \u0060render_response\u0060 and \u0060app/controllers/api/v2/links_controller.rb:732\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"693b7608b084902f9582e7f9ed68d1676fc541edfcc9b4b425b61c42fb9e4329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/services/community_chat_recap_generator_service.rb:122-135 | app/services/community_chat_recap_generator_service.rb:151-164 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/services/community_chat_recap_generator_service.rb:122\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/community_chat_recap_generator_service.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9284c1643d14082367a9f1561bed9f91983a22c1d8c4f4cb75756b82e6c20cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): config/routes.rb:997-1008 | config/routes.rb:1435-1446 | config/routes.rb:1557-1568 | config/routes.rb:1593-1605 \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":"config/routes.rb"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f924c50f87635c657a0e71b552e20b996f9c3625519abde0164d528133cba3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/controllers/api/mobile/sales_controller.rb:305-317 | app/controllers/customers_controller.rb:244-256 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/controllers/api/mobile/sales_controller.rb:305\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/sales_controller.rb"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac10da4b7a7bfa3550ea7a887607a126c440a37535ebf21a29c57c11f39290f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): db/seeds/030_development/expo_oauth_application.rb:3-14 | db/seeds/030_development/mobile_oauth_application.rb:3-14 | db/seeds/030_staging/mobile_oauth_application.rb:3-14 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/seeds/030_development/expo_oauth_application.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"449781eb6275c5deee34261789b8c7c21ec70adc42efcda232c97a87fe87daa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/policies/comment_context_policy.rb:22-33 | app/policies/comment_context_policy.rb:38-49 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/policies/comment_context_policy.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbbe574323e5591d6340f987d9d3049d72b74527a51f97ece6845072761fb2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): db/migrate/20190427212700_remove_unused_tables.rb:25-36 | db/migrate/20190427212700_remove_unused_tables.rb:136-147 \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":"db/migrate/20190427212700_remove_unused_tables.rb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00b541bf7aacf72cd22927043f4ddbd85be54210086282959dfd5783ba16db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/mailer_previews/post_resend_api_preview.rb:28-39 | lib/mailer_previews/post_sendgrid_api_preview.rb:28-39 \u2014 before extracting anything, compare \u0060lib/mailer_previews/post_resend_api_preview.rb\u0060 and \u0060lib/mailer_previews/post_sendgrid_api_preview.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/post_resend_api_preview.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52e0e44216f6c891f84dde3ac33f1c85230c5c5bea48799e3aa5068d1f5acc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/mailer_previews/post_resend_api_preview.rb:44-55 | lib/mailer_previews/post_sendgrid_api_preview.rb:44-55 \u2014 before extracting anything, compare \u0060lib/mailer_previews/post_resend_api_preview.rb\u0060 and \u0060lib/mailer_previews/post_sendgrid_api_preview.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/post_resend_api_preview.rb"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea37d8f5afb78526dc7f888ae878e7131a47de03954fa70aac052085fae55a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/controllers/api/internal/agent_messages_controller.rb:61-71 | app/controllers/api/mobile/agent_controller.rb:130-140 \u2014 before extracting anything, compare \u0060app/controllers/api/internal/agent_messages_controller.rb\u0060 and \u0060app/controllers/api/mobile/agent_controller.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/controllers/api/internal/agent_messages_controller.rb:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_messages_controller.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44df1e026ea9d236ef622d3a7afe07f409b39ce350c98c8343f303111e792dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/controllers/api/mobile/sales_controller.rb:319-329 | app/controllers/customers_controller.rb:258-268 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/controllers/api/mobile/sales_controller.rb:319\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/sales_controller.rb"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56bb73c661f141c1ff9ed29aef5d2f0e440495efd1b9cb2d50894b33fdeffd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/controllers/api/v2/links_controller.rb:689-699 | app/controllers/api/v2/users_controller.rb:140-150 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/controllers/api/v2/links_controller.rb:688\u0060 calls \u0060render_response\u0060 and \u0060app/controllers/api/v2/users_controller.rb:139\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"74868e1c0ec61801c81227e3d8c7030645c9a0c3b5851128d41b56997833c1fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/models/link.rb:1390-1400 | app/models/link.rb:1407-1417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d07ee59dc5ca440ba586aa5fcd4161fd08400daec24004222c50d516b4dec4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/services/creator_analytics/product_page_views.rb:43-53 | app/services/creator_analytics/sales.rb:46-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/creator_analytics/product_page_views.rb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"db49820b8209aa253f724fb757077d16bb84aed0b65929ad4258b28e593b43b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/services/onetime/backfill_april_tax_remittances.rb:122-132 | app/services/onetime/backfill_q2_2026_tax_remittances.rb:116-126 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/services/onetime/backfill_april_tax_remittances.rb:122\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_april_tax_remittances.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b3aa5dfccab0b0754f0ffd7bc5b2a3011fcd08a9383e84b668d8c39ded011e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/services/onetime/backfill_price_checker_index_fields.rb:17-27 | app/services/onetime/backfill_product_name_raw.rb:25-35 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/services/onetime/backfill_price_checker_index_fields.rb:17\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_price_checker_index_fields.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4375f4c737aa855167249c8b7bd3f81cc44ce6a88ed0ae81cdf6e70136030e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): app/services/order/confirm_service.rb:336-344 | app/services/order/confirm_service.rb:355-365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/confirm_service.rb"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e47c4cd9c86594bf8af073ba02d9e6781a461c492f2d76dc28eea2d7b2d503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): db/migrate/20201001091435_create_link_view_events.rb:43-53 | db/migrate/20230404182723_remove_link_view_events.rb:45-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20201001091435_create_link_view_events.rb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf06fbda3c72bda0c3618d662ee8023264982baaa2c1721de7b2cbf22c76ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): db/migrate/20210510195127_create_audience_landing_page_view_events.rb:20-30 | db/migrate/20211110051320_create_signup_events.rb:17-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20210510195127_create_audience_landing_page_view_events.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbcb4aaa20280f2ff6185c1ad95ea536427024f1903a42c9d18d060faa43bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): db/migrate/20261130000000_create_walks_app_attest_keys.rb:5-15 | db/migrate/20261215090000_drop_walks_tables.rb:10-20 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20261130000000_create_walks_app_attest_keys.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc76e2d1848c10ec0e05a40af0fb17512017a87ecfe9f4edb45a7c4a152746f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/controllers/help_center/articles_controller.rb:11-20 | app/controllers/help_center/articles_controller.rb:32-41 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/help_center/articles_controller.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0930d99423574efec48a7b77e9afcb938223771760515c222d82402688894a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/services/creator_analytics/sales.rb:132-140 | app/services/seller_mobile_analytics_service.rb:29-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/services/creator_analytics/sales.rb:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/creator_analytics/sales.rb"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82e984566b394c7a2367db3815848960d9f47e37d73e17c3a3bc2640b13a5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/services/onetime/backfill_price_checker_index_fields.rb:32-41 | app/services/onetime/backfill_product_name_raw.rb:42-51 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/services/onetime/backfill_price_checker_index_fields.rb:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_price_checker_index_fields.rb"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ef18a968415a6cabe25c47ae8173ffc4ba62c9c634482dc4ade358907c6484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/services/tax_remittances/quarterly_liability_calculator.rb:193-202 | app/sidekiq/create_global_sales_tax_summary_report_job.rb:404-413 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/services/tax_remittances/quarterly_liability_calculator.rb:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/tax_remittances/quarterly_liability_calculator.rb"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a607e29cdae079d3e201f3fdd691f51bfbe173ac3c77c00333022118fc240d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/mailer_previews/post_resend_api_preview.rb:86-95 | lib/mailer_previews/post_sendgrid_api_preview.rb:86-95 \u2014 before extracting anything, compare \u0060lib/mailer_previews/post_resend_api_preview.rb\u0060 and \u0060lib/mailer_previews/post_sendgrid_api_preview.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/post_resend_api_preview.rb"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd53a2368838c00d91575354c7ce6c95b3553c81604526e91ae0ae98b76f301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/controllers/api/internal/agent_messages_controller.rb:74-82 | app/controllers/api/mobile/agent_controller.rb:143-151 \u2014 before extracting anything, compare \u0060app/controllers/api/internal/agent_messages_controller.rb\u0060 and \u0060app/controllers/api/mobile/agent_controller.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_messages_controller.rb"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7035af2d88742c3f65f69cb44d97280b5340b79f6e79470da2713b809081bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/services/risk/stranded_buyer_scan_service.rb:159-167 | app/sidekiq/alert_on_stale_blocks_holding_established_buyers_job.rb:534-541 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/services/risk/stranded_buyer_scan_service.rb:159\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/risk/stranded_buyer_scan_service.rb"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79577fd924ccc017b58034aebd083ec3cba7b41a4182767d024725cd815c75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): db/migrate/20201001091435_create_link_view_events.rb:13-21 | db/migrate/20210510195127_create_audience_landing_page_view_events.rb:11-19 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20201001091435_create_link_view_events.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6b3d904418af4b9efc267da8229a7821ff2ca9b854a37d21524fb8ef13bc5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): db/migrate/20201001091435_create_link_view_events.rb:12-20 | db/migrate/20211110051320_create_signup_events.rb:8-16 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20201001091435_create_link_view_events.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d181a5705c725b2f340fb433b6a02fa885a4701fc865a85e288bf2055245e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): db/migrate/20190427212700_remove_unused_tables.rb:70-77 | db/migrate/20190427212700_remove_unused_tables.rb:113-120 | db/migrate/20190427212700_remove_unused_tables.rb:197-204 \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":"db/migrate/20190427212700_remove_unused_tables.rb"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e158a80ca8bec0c725e7377ac8b4fc057df68599b9f324930505e1537371fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/controllers/api/internal/admin/purchases_controller.rb:109-116 | app/controllers/api/internal/admin/purchases_controller.rb:159-166 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/purchases_controller.rb"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2482f0572d4bf2e403e3b13a0dfe29af4244070763bc94572077841091113659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/controllers/api/internal/admin/purchases_controller.rb:166-173 | app/controllers/api/internal/admin/purchases_controller.rb:394-401 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/purchases_controller.rb"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5207a6b3f061049f05185a8b4bbd61592a0f069e3e0f1a2a64d4b9ce9672f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/controllers/api/internal/admin/users_controller.rb:526-533 | app/controllers/api/internal/admin/users_controller.rb:556-563 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/users_controller.rb"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8200a046f6682d5bacd8ce5093d66d64c5c7abe2818609a58ba3424980b7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): db/migrate/20230707223804_remove_category_tables.rb:15-22 | db/migrate/20230707223804_remove_category_tables.rb:24-31 \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":"db/migrate/20230707223804_remove_category_tables.rb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d720e1d1f321cbcdf1b2c13cd1333e67359da9771a3bf122104d78db8a9ca2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): db/migrate/20250211173413_increase_utm_link_param_char_limits.rb:5-12 | db/migrate/20250211173413_increase_utm_link_param_char_limits.rb:19-26 \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":"db/migrate/20250211173413_increase_utm_link_param_char_limits.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d4d5cdf347cc37b45259f84b6a79c18016a7e1a3ceaa90dd0eaaf3b2ec2677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lib/mailer_previews/post_resend_api_preview.rb:28-34 | lib/mailer_previews/post_resend_api_preview.rb:44-50 | lib/mailer_previews/post_sendgrid_api_preview.rb:28-34 | lib/mailer_previews/post_sendgrid_api_preview.rb:44-50 \u2014 before extracting anything, compare \u0060lib/mailer_previews/post_resend_api_preview.rb\u0060 and \u0060lib/mailer_previews/post_sendgrid_api_preview.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/post_resend_api_preview.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9dc6f63047bc3c0f2fb2ea791ba841f722759b4651ae986a691d46866b57f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/services/checkout/buyer_currency_quote.rb:347-353 | app/services/checkout/buyer_currency_quote.rb:367-373 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c94dc239c63c230ac553a537283e6ba973a130d949f119a3baf2493a629c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): db/migrate/20190427212700_remove_unused_tables.rb:192-198 | db/migrate/20190427212700_remove_unused_tables.rb:212-218 \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":"db/migrate/20190427212700_remove_unused_tables.rb"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb145f71a6eab7740885e1f7d9882d82998ecf1c50bad0d2db207d77e59c5084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/mailer_previews/post_resend_api_preview.rb:5-11 | lib/mailer_previews/post_sendgrid_api_preview.rb:5-11 \u2014 before extracting anything, compare \u0060lib/mailer_previews/post_resend_api_preview.rb\u0060 and \u0060lib/mailer_previews/post_sendgrid_api_preview.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/post_resend_api_preview.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"12123575c712b5efc22088c9df05cec724b1267562c5b99140d25fbf069ab23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/mailer_previews/post_resend_api_preview.rb:60-66 | lib/mailer_previews/post_sendgrid_api_preview.rb:60-66 \u2014 before extracting anything, compare \u0060lib/mailer_previews/post_resend_api_preview.rb\u0060 and \u0060lib/mailer_previews/post_sendgrid_api_preview.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/post_resend_api_preview.rb"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"893876ae6f9fe33cbf8872c3ff9e030a72d3ba83e99c4e1493d62165825014bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/mailer_previews/post_resend_api_preview.rb:71-77 | lib/mailer_previews/post_sendgrid_api_preview.rb:71-77 \u2014 before extracting anything, compare \u0060lib/mailer_previews/post_resend_api_preview.rb\u0060 and \u0060lib/mailer_previews/post_sendgrid_api_preview.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/post_resend_api_preview.rb"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e0bb722fb2add9c81f507a01730cbdebc97537095f06f33285d45fdfddb7e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): db/migrate/20190427212700_remove_unused_tables.rb:110-115 | db/migrate/20190427212700_remove_unused_tables.rb:193-198 | db/migrate/20190427212700_remove_unused_tables.rb:213-218 \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":"db/migrate/20190427212700_remove_unused_tables.rb"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ff40472568ac642526cec6d1a7104b5e328eefaaa9c124f19dca8a3e1f87dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): db/migrate/20240616210250_remove_sales_stats_tables.rb:16-21 | db/migrate/20240616210250_remove_sales_stats_tables.rb:103-108 | db/migrate/20240616210250_remove_sales_stats_tables.rb:189-194 \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":"db/migrate/20240616210250_remove_sales_stats_tables.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb891cba91bba195aa03c53b7907657b2b587fbbbba85b479eb1d24f78ae52b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/controllers/checkout/discounts_controller.rb:72-77 | app/controllers/checkout/discounts_controller.rb:97-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/checkout/discounts_controller.rb"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"063baf44371463cd27138f1eaa27522806df4979e1e5e172c970c65d645003a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/controllers/user/omniauth_callbacks_controller.rb:194-199 | app/controllers/user/omniauth_callbacks_controller.rb:229-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/user/omniauth_callbacks_controller.rb"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d2ad68d76b024a17d12a005eb866d0116297feaee66355e18241ccf6f894d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/services/exports/payouts/base.rb:189-194 | app/services/exports/payouts/base.rb:235-240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/payouts/base.rb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7943f6e8c84b09046a324d8c279dd596c11a4d3a8baf5f121322b395a44fcb0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): db/migrate/20240616210250_remove_sales_stats_tables.rb:60-65 | db/migrate/20240616210250_remove_sales_stats_tables.rb:235-240 \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":"db/migrate/20240616210250_remove_sales_stats_tables.rb"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d612869db9d989b6450a306b50d4cd6527caf4ee34bb2e033f79d418964c66fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): db/migrate/20240616210250_remove_sales_stats_tables.rb:61-65 | db/migrate/20240616210250_remove_sales_stats_tables.rb:146-150 | db/migrate/20240616210250_remove_sales_stats_tables.rb:236-240 \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":"db/migrate/20240616210250_remove_sales_stats_tables.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e89db14cdc448a11f52db88a703b2ea29d0265b8f1e40fec8fb434466f48fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/services/creator_analytics/churn/elasticsearch_fetcher.rb:34-38 | app/services/creator_analytics/churn/elasticsearch_fetcher.rb:62-66 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/creator_analytics/churn/elasticsearch_fetcher.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee644b4c3c4cf60a65a1501a4e84909f0bb9337c1d9b75a38ee5e754525afed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/services/post_resend_api.rb:212-216 | app/services/post_sendgrid_api.rb:264-268 \u2014 before extracting anything, compare \u0060app/services/post_resend_api.rb\u0060 and \u0060app/services/post_sendgrid_api.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_resend_api.rb"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c7daa539e696703187f3df1dba1565622be93eab373f96c62f677a4ec76405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/sidekiq/send_workflow_installment_worker.rb:299-303 | app/sidekiq/send_workflow_installment_worker.rb:327-331 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_installment_worker.rb"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a55730df659c9bca47473d38f2b10efde359550bd546edf4fe1bccdf8678ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 6): db/migrate/20240616210250_remove_sales_stats_tables.rb:49-52 | db/migrate/20240616210250_remove_sales_stats_tables.rb:93-96 | db/migrate/20240616210250_remove_sales_stats_tables.rb:136-139 | db/migrate/20240616210250_remove_sales_stats_tables.rb:178-181 | db/migrate/20240616210250_remove_sales_stats_tables.rb:224-228 | db/migrate/20240616210250_remove_sales_stats_tables.rb:270-274 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20240616210250_remove_sales_stats_tables.rb"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fd1c14ed85c1037c778b4d9a2fe17925c0c404cdfe75147640684851f25815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/policies/audience/follower_policy.rb:5-17 | app/policies/audience/purchase_policy.rb:5-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/policies/audience/follower_policy.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18f72bb8bfac9c599c3b6266015375dd892070c997bc8b49d5143f98b329210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): app/policies/installment_policy.rb:7-72 | app/policies/workflow_policy.rb:7-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/policies/installment_policy.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e9915f13cbefb85642d4a8d85142b4b88b8cf78d23c57efa2f295c185e555e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/controllers/api/mobile/sales_controller.rb:295-301 | app/controllers/customers_controller.rb:234-240 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/sales_controller.rb"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"4355be183b725a89711d7d323d726e44d78b65d99ef53d5974f8541dc9321207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/controllers/orders_controller.rb:496-500 | app/controllers/purchases_controller.rb:482-488 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/orders_controller.rb"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83834878d086a2282530cf83cb64dcd319bc2945b070880ad62058ecb91df04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/models/cote_d_ivoire_bank_account.rb:43-54 | app/models/niger_bank_account.rb:46-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/cote_d_ivoire_bank_account.rb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f539750464518ed59af8ad18af72c81f8eba49f20cabec49ba64d12c02aa97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/models/purchase.rb:3441-3446 | app/models/service_charge.rb:146-151 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"655633fc6e38b637ae8cf7ef5d31b0536e49a0b509f70e02a9650500c0500897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/services/admin/related_users_service.rb:159-166 | app/services/admin/scheduled_payout_enrichment_service.rb:40-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/admin/related_users_service.rb"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b6a562e4f6f15f531eae010b948798823961918c2fe103a239f718cfed6150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/services/api/v2/sales_summary.rb:132-138 | app/services/creator_analytics/product_page_views.rb:87-92 | app/services/creator_analytics/sales.rb:101-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/api/v2/sales_summary.rb"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18e7d65790741a9d918731b6ebe252b8bd35d3901038ab909fa13419ae40f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/services/circle_api.rb:40-46 | app/services/google_calendar_api.rb:61-67 | app/services/zoom_api.rb:37-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/circle_api.rb"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"102e831b47cc11cf109b908c79b252823bf453a24d2d8c27d83faeec87aff100"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/services/creator_analytics/product_page_views.rb:77-83 | app/services/creator_analytics/sales.rb:91-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/creator_analytics/product_page_views.rb"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3399cc572792f9d86941b2c5e8e1c0884ca6afd0763b2905af465bf8c8c5d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/services/instagram_profile_fetcher.rb:37-48 | app/services/youtube_channel_fetcher.rb:54-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/instagram_profile_fetcher.rb"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d24fef36fca99e4248275289e92ef2eb48b91143e9a172f843b5801d076b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/services/installment_search_service.rb:114-124 | app/services/purchase_search_service.rb:528-538 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/installment_search_service.rb"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"22adfcf3f6baf4e0c2c3fd55ce8e82a5fd88812fe63b339bf38e56673a060d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/services/notion_api.rb:22-29 | app/services/zoom_api.rb:25-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/notion_api.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f96e13c6a9a2fac3c503ef8ffdfb497e6d4c4be5ae8ae6ee2139eb76910900f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/services/onetime/backfill_membership_advance_renewal_reminders.rb:115-121 | app/services/onetime/backfill_membership_renewal_reminders.rb:85-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_membership_advance_renewal_reminders.rb"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"412221d49061072b6ba31c35d2f467bab500a73e96ffb910d414de8d2e4819de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/services/onetime/backfill_self_affiliate_dropped_proceeds.rb:240-250 | app/services/onetime/rebuilds_seller_settlement_amounts.rb:26-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_self_affiliate_dropped_proceeds.rb"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1425f14dabc1e52b4ddea02eadae33d6c45b50c6255fe8566fd7302aecadd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/services/post_resend_api.rb:13-22 | app/services/post_sendgrid_api.rb:19-28 \u2014 before extracting anything, compare \u0060app/services/post_resend_api.rb\u0060 and \u0060app/services/post_sendgrid_api.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_resend_api.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fb796802bab71022410f14e841ff728a82e065a855d4f8544ec9d38d444c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/services/risk/stranded_buyer_scan_service.rb:135-141 | app/sidekiq/alert_on_stale_blocks_holding_established_buyers_job.rb:518-524 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/risk/stranded_buyer_scan_service.rb"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0f6cdf26d4a72460116e59d60285c347403e98c5084b4dde068ee8a88733fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/services/tax_remittances/quarterly_liability_calculator.rb:248-252 | app/sidekiq/create_global_sales_tax_summary_report_job.rb:470-474 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/tax_remittances/quarterly_liability_calculator.rb"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4376a7dc550df428dc012c932728a4f6bcd960df61dded00408fdb13be1062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/sidekiq/refresh_merchant_account_products_recommendation_eligibility_job.rb:15-20 | app/sidekiq/refresh_user_products_recommendation_eligibility_job.rb:16-21 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/refresh_merchant_account_products_recommendation_eligibility_job.rb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5551f326a4d925a61cc29619fdf869e74d02813559f10fe2499e95e2114128b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): db/migrate/20111109223341_create_assets.rb:5-13 | db/migrate/20111116194231_remove_assets.rb:9-16 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20111109223341_create_assets.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c84ba72d7748e26d7876bb95587345b40a1a9c0503b742349475cdfa304d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/mailer_previews/post_resend_api_preview.rb:99-106 | lib/mailer_previews/post_sendgrid_api_preview.rb:99-106 \u2014 before extracting anything, compare \u0060lib/mailer_previews/post_resend_api_preview.rb\u0060 and \u0060lib/mailer_previews/post_sendgrid_api_preview.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mailer_previews/post_resend_api_preview.rb"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"75712a4a04cedfa1afd3c9a16192fcad37fe383ad2573d52a273fb835a4a0117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/omni_auth/strategies/instagram.rb:47-54 | lib/omni_auth/strategies/tiktok.rb:61-68 | lib/omni_auth/strategies/youtube.rb:30-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/omni_auth/strategies/instagram.rb"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56058465877381491d86c683a707820f13874a5941133181af9b6e76ff1b67a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/omni_auth/strategies/instagram.rb:62-68 | lib/omni_auth/strategies/tiktok.rb:76-82 | lib/omni_auth/strategies/youtube.rb:47-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/omni_auth/strategies/instagram.rb"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09566507a1a9d91110e7af066521f6cd8d926b9c00a707181218be051495fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/sidekiq/generate_video_poster_worker.rb:13-21 | app/sidekiq/process_asset_preview_retina_worker.rb:9-13 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/generate_video_poster_worker.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7909b2ff55b2499c76fe3f763aeaad1300087862c26b06b62a225d8643f50666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/business/payments/reports/deferred_refunds_reports.rb:23-27 | app/business/payments/reports/funds_received_reports.rb:14-18 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/reports/deferred_refunds_reports.rb"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bf4c8b2044174ca728768014b0bd99728762bf06a72bca0091a08b7492d74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/controllers/api/mobile/sales_controller.rb:67-72 | app/controllers/purchases_controller.rb:238-243 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/sales_controller.rb"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d540ece8d17eea645c5ecc514ab4bbaa70815a9d92b1c8818d279f347855ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/models/asset_preview.rb:388-394 | app/models/thumbnail.rb:50-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/asset_preview.rb"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0882409be193ec23025bfb647fb9c2942a91aa2370f080ec407bee81ddb3d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/modules/shipping_destination/destinations.rb:25-31 | app/modules/shipping_destination/destinations.rb:35-41 | app/modules/shipping_destination/destinations.rb:45-51 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/shipping_destination/destinations.rb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b165f2abd70e96364bd1c1f432e67f3ad4bf2ce0c51ca114a12710c667da47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): db/seeds/010_development_staging_test/taxonomy_create.rb:63-71 | db/seeds/010_development_staging_test/taxonomy_create.rb:74-83 | db/seeds/010_development_staging_test/taxonomy_create.rb:152-161 \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":"db/seeds/010_development_staging_test/taxonomy_create.rb"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"488b3be2e294dcd008f9035d29f2ae5ca78f44e1b24cee7e17085d5bb9e053e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 10): db/seeds/010_development_staging_test/taxonomy_create.rb:25-31 | db/seeds/010_development_staging_test/taxonomy_create.rb:107-113 | db/seeds/010_development_staging_test/taxonomy_create.rb:146-151 | db/seeds/010_development_staging_test/taxonomy_create.rb:172-177 | db/seeds/010_development_staging_test/taxonomy_create.rb:178-184 | db/seeds/010_development_staging_test/taxonomy_create.rb:200-205 | db/seeds/010_development_staging_test/taxonomy_create.rb:225-231 | db/seeds/010_development_staging_test/taxonomy_create.rb:233-239 | db/seeds/010_development_staging_test/taxonomy_create.rb:261-269 | db/seeds/010_development_staging_test/taxonomy_create.rb:304-310 \u2014 all 10 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":"db/seeds/010_development_staging_test/taxonomy_create.rb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ac1bc24ae5d7a7e8465a68e2d2defdc288be4dbbf62f1bb9381b64a16f84ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): db/seeds/010_development_staging_test/taxonomy_create.rb:25-30 | db/seeds/010_development_staging_test/taxonomy_create.rb:74-79 | db/seeds/010_development_staging_test/taxonomy_create.rb:107-112 | db/seeds/010_development_staging_test/taxonomy_create.rb:152-157 | db/seeds/010_development_staging_test/taxonomy_create.rb:178-183 | db/seeds/010_development_staging_test/taxonomy_create.rb:225-230 | db/seeds/010_development_staging_test/taxonomy_create.rb:233-238 | db/seeds/010_development_staging_test/taxonomy_create.rb:261-268 | db/seeds/010_development_staging_test/taxonomy_create.rb:304-309 \u2014 all 9 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":"db/seeds/010_development_staging_test/taxonomy_create.rb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"122af572a214d1b7142e22c8518b9ff8851b6254df1a1fa61370802fa5f3d516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): db/seeds/010_development_staging_test/taxonomy_create.rb:62-67 | db/seeds/010_development_staging_test/taxonomy_create.rb:145-150 | db/seeds/010_development_staging_test/taxonomy_create.rb:171-176 | db/seeds/010_development_staging_test/taxonomy_create.rb:199-204 \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":"db/seeds/010_development_staging_test/taxonomy_create.rb"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"667d4516753c4ff465f18d3643909a52c16f184bbdc15cad6cf2af90b7309bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): db/seeds/010_development_staging_test/taxonomy_create.rb:11-15 | db/seeds/010_development_staging_test/taxonomy_create.rb:112-116 \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":"db/seeds/010_development_staging_test/taxonomy_create.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"84deefd625fe1d990facb156840f359100c2aa1d74a7bd6e39a11ba360b00ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): db/seeds/010_development_staging_test/taxonomy_create.rb:289-293 | db/seeds/010_development_staging_test/taxonomy_create.rb:295-299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/seeds/010_development_staging_test/taxonomy_create.rb"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"7093c3046e61ee263524db70e9b2212377d35bc9e5b7decfaf66e63e522fefdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): db/seeds/010_development_staging_test/taxonomy_create.rb:84-88 | db/seeds/010_development_staging_test/taxonomy_create.rb:97-101 | db/seeds/010_development_staging_test/taxonomy_create.rb:120-124 | db/seeds/010_development_staging_test/taxonomy_create.rb:134-138 | db/seeds/010_development_staging_test/taxonomy_create.rb:163-167 \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":"db/seeds/010_development_staging_test/taxonomy_create.rb"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"568d873e463ed0dcf1ceb0fc0b684f64e80c469577b96717b3c844d3928a4e13"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: User (LCOM4 131): User\u0027s methods fall into 131 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 131 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8f91dcc30ed25a5c895e9cd4cfbd949b881f248b06ce4252dfaf83d00cd5dd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Link (LCOM4 121): Link\u0027s methods fall into 121 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 121 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f779ba6ee51016673cd4b80b513d7e2b95e5919e721c4ab84b73cf4b7451db7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Purchase (LCOM4 97): Purchase\u0027s methods fall into 97 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 97 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b69500877ce9abb4e4cf3fab56ebb0b06d3de712bd8b04bb44d984dcd1dc256"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ApplicationController (LCOM4 34): ApplicationController\u0027s methods fall into 34 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 34 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/application_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b540461360a87fa7c0da0064744e54a858f69c9a9b9ef63f0afafde9b30c19"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Installment (LCOM4 31): Installment\u0027s methods fall into 31 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 31 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab726e8cb8a16e1a60028c40e67337d91072a8582e6fd82c7e6c5c900027255"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OfferCode (LCOM4 25): OfferCode\u0027s methods fall into 25 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 25 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/offer_code.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cf1a7ae3f1a08523bac76f522b3d30b9400b0cccc453b030847dbcf3d733e6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LoginsController (LCOM4 17): LoginsController\u0027s methods fall into 17 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 17 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/logins_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f386353dc24eb17d3825a88b48c170a8305cff4be0ef7586d4886209b3b098"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Subscription (LCOM4 17): Subscription\u0027s methods fall into 17 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 17 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd4de38df720710d6ceceee9e2bc0b41fe5c67184dd8405389c68e8a687b80b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CheckoutPresenter (LCOM4 14): CheckoutPresenter\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac965d23f08ee9c106184fb710e6e076dd9cf321a1f4a138a097819524fd633b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProductPresenter (LCOM4 14): ProductPresenter\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/product_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"464bfbb922e986d4a3ca2392a79b541bd9b4051df6dd0ebf5b21a33eba051146"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PublicApiProps (LCOM4 13): PublicApiProps\u0027s methods fall into 13 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 13 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/product_presenter/public_api_props.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef40f469372cce4bc1a9e16c9476225e7183a502ed15b77c30c733a8e3ecd2e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PurchasesController (LCOM4 12): PurchasesController\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/purchases_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe108cf7325783f9afbd0c455ec2d046d9d84357852b5bc40d150978c0994bd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SignupController (LCOM4 12): SignupController\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/signup_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"55234408df6b7332a8914148447b07ed79eafaf41b1648e3401d0bc9279b301d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HomeController (LCOM4 11): HomeController\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/home_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59de968ce65d5e309f4f2161fe5c71310b88cb7e02c5c2b19ca8a0e87588465"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ItemInfo (LCOM4 11): ItemInfo\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/receipt_presenter/item_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"25af0fce415d8e4fc95839e7616f48ff971e1317417f44e0501183c85723168d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Card (LCOM4 10): Card\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/product_presenter/card.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"397f160811dcb7c579ef448b8c6b7f6a809088b0cc1eb4c437dc09729d6bd917"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProductProps (LCOM4 10): ProductProps\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/product_presenter/product_props.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff58a84a13a990ece4a3f24015e3d4c816d0f9d231dbb58a8971c6065b59fe56"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OrdersController (LCOM4 9): OrdersController\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/orders_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee981eb89e836a3694a8316b9a6693f2cc3c47df4ef628fe7d1f47a617e8298"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserPagesController (LCOM4 9): UserPagesController\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/user_pages_controller.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac5e23934e1feb5fa9ded5ece197d92de6c40f25e06be7e87a12a880f991109"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DashboardProductsPagePresenter (LCOM4 9): DashboardProductsPagePresenter\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/dashboard_products_page_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e32dc205eab6071afcd1ac030ecc76cf9a3e6689557dc9733d9c1c7149f95db"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UrlRedirectPresenter (LCOM4 8): UrlRedirectPresenter\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/url_redirect_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcab1a8fc54e75ed603efc88aaaf17507a56f11739b6467cb61e11089d344337"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CachingProxy (LCOM4 8): CachingProxy\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/creator_analytics/caching_proxy.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31093f215b9482c37f3703ee32107372e9786be1f5c9fe154e8272bf940bc78"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AffiliateRequestsController (LCOM4 7): AffiliateRequestsController\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/affiliate_requests_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"514339b4ace2ef6c430394bb931d0e1d3bd120f61060fd23632aec8d4edacfe5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AccountingMailer (LCOM4 7): AccountingMailer\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/accounting_mailer.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e22f26c040426ed5b2ffb3a6690ead55b2444e59039442dc73d9d00a0ada332"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CustomerLowPriorityMailer (LCOM4 7): CustomerLowPriorityMailer\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/customer_low_priority_mailer.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"027b18b98e12233c6277477154609b956088876bf51f4ca6fc2b49fe6e160ffe"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CustomerMailer (LCOM4 7): CustomerMailer\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/customer_mailer.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a46aad9da37796512bd1458fbc298387b1035d7be5c75a2d352498ca45834fc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CollabProductsPagePresenter (LCOM4 7): CollabProductsPagePresenter\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/collab_products_page_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc7c7cc7f61e5a58781a0ed7d657c32b5b2cbdaeb2a345a258e3df98ae9754d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChargeInfo (LCOM4 7): ChargeInfo\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/receipt_presenter/charge_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b863bc9f32cf6e126d55b89af95f2a5879fe290a46d8c0caccfd1943fc358c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CreateFromDisputeService (LCOM4 7): CreateFromDisputeService\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/dispute_evidence/create_from_dispute_service.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3ece479a72cc022a78161d078f28f55be9aaf947fd7e5c4485f9c46a4715a8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaypalRestApi (LCOM4 6): PaypalRestApi\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/paypal/paypal_rest_api.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"483e17d6b73495a6058954392f05aa866add7b502d0b95fc6f5e6841a2ef2255"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AffiliatesController (LCOM4 6): AffiliatesController\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/affiliates_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5854a4425b311d597900224bf02c2026026d9d53ab6f3c8c1cdae225ff4adb2c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CreatorHomePresenter (LCOM4 6): CreatorHomePresenter\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/creator_home_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc77da9d044cacfc9484682190d79fe5e54f985884a9b5a63bb20e73fbb3523c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OrderInfo (LCOM4 6): OrderInfo\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/invoice_presenter/order_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"604d229c34deed2e1bd2d36aa67b4209169615736b5b127493e78e94bd29d0d9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PayoutsPresenter (LCOM4 6): PayoutsPresenter\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/payouts_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8a1740f6abda7340aaed11b4d88aa157f6dac54313f9ff625bf72f7b06cdde"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShippingInfo (LCOM4 6): ShippingInfo\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/receipt_presenter/shipping_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc799aaf8d48ddf33d7ae682980cfeabb429cd44367014ea99e0df53ad3d7f27"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SettingsPresenter (LCOM4 6): SettingsPresenter\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/settings_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"84dd346aecd1449f3496b436226b4d6bf69eafef15cb9ca31713d183a277be9b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TaxCenterPresenter (LCOM4 6): TaxCenterPresenter\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/tax_center_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ee60a69860e34e0e1f24abc5bf358631c138cb16dc5851275b8f7df7a8f135"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UtmLinkPresenter (LCOM4 6): UtmLinkPresenter\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/utm_link_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93a94dd143a7a13a2691c8436d0358f8c552c219b21993a683dcd640a22c7a2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StoreAgentService (LCOM4 6): StoreAgentService\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_service.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e90d6a167a0121d8783fcbebcd29d3cf94cce320d181fdab85a3ddf139d14f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MethodForcedPresentment (LCOM4 6): MethodForcedPresentment\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/charge/method_forced_presentment.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a616dbbfdfe173fc5368fb169f1f6887c8cfa2811564d4f3235c1a297f3fbc6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PresentmentOrchestrator (LCOM4 6): PresentmentOrchestrator\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/charge/presentment_orchestrator.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9a4a165a48808e7d25a75d8e5c848ff4b1c60bdb08f1a6ba9aaaefd8cb23ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ForfeitBalanceService (LCOM4 6): ForfeitBalanceService\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/forfeit_balance_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5348c02543073753a4dcc3f1428935e4b8ff610de08ff6872534356e2120c9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProductPrices (LCOM4 6): ProductPrices\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/pages/product_prices.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"376bc5b707a6c73aa210c33ad5161caa9ebd863eb09aaebb15b022bdbd85fbc4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FixLaterChargePresentmentService (LCOM4 6): FixLaterChargePresentmentService\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/fix_later_charge_presentment_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5131696899e898613ba8c8385bd3ad19fb9e80682589c8dbed1b916ba04a17d1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LaterChargePresentmentService (LCOM4 6): LaterChargePresentmentService\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/later_charge_presentment_service.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0485a22171b44dcd46697d236408c73b008805aa762eda5ed3f12f8a17d436da"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserBalanceStatsService (LCOM4 6): UserBalanceStatsService\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/user_balance_stats_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"22638c685d7fdd67f5a147ab2a6bd56337192db072040a736b615fa241fece60"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SendPaypalTopupNotificationJob (LCOM4 6): SendPaypalTopupNotificationJob\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_paypal_topup_notification_job.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eda37ab9f399bb7b48c01326af7e7b6abf1ed48c8aa305d217af4daef2576d5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SendStripeBalanceCheckNotificationJob (LCOM4 6): SendStripeBalanceCheckNotificationJob\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_stripe_balance_check_notification_job.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c0e8a3df2943f8740486cbe713e10ef1c4370aedd574ed7d6833cc462c9c2a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BraintreeChargeableBase (LCOM4 5): BraintreeChargeableBase\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/braintree/braintree_chargeable_base.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b195d073424a636aae5488ddbec982c821f3c4b2f902cff9ee9639f794e80d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Country (LCOM4 5): Country\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/country.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dae34b996e7102f4fb2e16b35cd428b98b884681195effc48bf3146b9958d3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StripePaymentPresenter (LCOM4 5): StripePaymentPresenter\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout/stripe_payment_presenter.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0845b474e3cbac589da97661d00b3d283a257f5c27d8d7cb88e6a3cc48976d5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CategoryPagePresenter (LCOM4 5): CategoryPagePresenter\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/discover/category_page_presenter.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"34750dc2e4124e7ab137408f35d1287c70c04240e8ab561e1b5683378ca10019"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PublicApiProps (LCOM4 5): PublicApiProps\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/profile_presenter/public_api_props.rb"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2464e4ba0be131e67c120632d52087e08f8e78198bdb1afe33a91396bf82635e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PurchaseSellerAnalyticsPresenter (LCOM4 5): PurchaseSellerAnalyticsPresenter\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/purchase_seller_analytics_presenter.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee05fa4b06482ef957d393a3dca7ab4fd434598d8e93b9cc3c7657d99cddd5fa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DirectListedPresentment (LCOM4 5): DirectListedPresentment\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/charge/direct_listed_presentment.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d1e2456738266cd45b598ede5be5da9c52d08422295c6eed66bdfb79c90cb7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BuyerCurrencyEligibility (LCOM4 5): BuyerCurrencyEligibility\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_eligibility.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"17212a766dff07bae67ecf8ebcf626cddfb2f4ed28b1bcbf521f60ad3e0e18ba"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BuyerCurrencyQuote (LCOM4 5): BuyerCurrencyQuote\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ee8c52eb8b15d7e6684327600b84c23855090cb3aa25dcf0e073d88ae64030"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PresentmentRounding (LCOM4 5): PresentmentRounding\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/presentment_rounding.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5b474f325ed07a7ac5fb4dce29934e94b37a8835f255927a1c5f7b839a8ee3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MerchantCenterFeedService (LCOM4 5): MerchantCenterFeedService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/merchant_center_feed_service.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5184fb5678a2714625f97799b595edc526a275ce471cf0f2390b575b995c204"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChargeService (LCOM4 5): ChargeService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"254be79bafb8b1435c78e841c30585b566914314422e44c0e18025b94342fc39"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ConfirmService (LCOM4 5): ConfirmService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/confirm_service.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cedaadd518249f073a99b96b8c0118d91fdffcd8cbefd8dc26e6c1618b0f4a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CreateService (LCOM4 5): CreateService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/create_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2ee4c2b0223c2237e4c6aa876d5941f396fc56304a91532f58e79019edbf7c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FinalizeConfirmedChargeService (LCOM4 5): FinalizeConfirmedChargeService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/finalize_confirmed_charge_service.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4043123b3c2a4873bc864c35b0796c3f65c4fcf7e05887d783b2b652e448b5ae"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PreparePaymentIntentService (LCOM4 5): PreparePaymentIntentService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/prepare_payment_intent_service.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08ea3f39bc9a8d0fe111286894fb95b9c11bb6cdbecc79b7eeedaa6d58c3b33"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SkusUpdaterService (LCOM4 5): SkusUpdaterService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/skus_updater_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07854c0ff32db93de1d301b7cdca63353c61c08a51754a090d3da0e2ec57ee2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VariantCategoryUpdaterService (LCOM4 5): VariantCategoryUpdaterService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/variant_category_updater_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f1d6bc54dfdcbf6f4b389356b6d26c93c006561f120e8d552abcaaf0a92933"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UpdaterService (LCOM4 5): UpdaterService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"689093096e983caaf2c7fd75aee262a5fa6c2798b5f0eea72012b95cb7c944fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OmniauthCallbacksController (LCOM4 4): OmniauthCallbacksController\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/user/omniauth_callbacks_controller.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5d1d1033d10eeeaa19a952b6e13d8d6176b304791cbfcfc8eecdf98548729c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CreatorMailer (LCOM4 4): CreatorMailer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/creator_mailer.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d90663ce703f6f405fa35162c5c893721127ab8e2b9d0a9ed9fade2433779e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Order (LCOM4 4): Order\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/order.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc7a536f1240476fe2d2d017df1c8f985d9e3ffa47c2728109b8c34f5517c3c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FooterInfo (LCOM4 4): FooterInfo\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/receipt_presenter/footer_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d688f8a858a6be4bd0d80f8193be3d8b96b503623454fd7e70bd7132ff54d8ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaymentInfo (LCOM4 4): PaymentInfo\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/receipt_presenter/payment_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"374e9d8b1faf058e89175ee9124902a7d3bf56a38e27e744421ac78dfea6fd10"}},{"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 repository root runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports an authorization exchange failure once: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 1 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":"app/javascript/utils/oauth.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a8ad55496f8d6d945281f28b887bedce4f3647a8aa1de9bb93d842d02d5c71"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards begin_checkout to TikTok and Google, not Facebook: 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":"app/javascript/utils/user_analytics.test.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9933acb7a836349c3260303c562723d5ef172be3d44b1c7df117ed97ff8be124"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops polling from the URL clock when sessionStorage is unavailable: This test sets up 4 test doubles (for example \u0060vi.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Returns/Pending.test.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5ae6eb6051d43b0070094cd3a01c35fcab4b2db76da3a27a0cfa214cc814b2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: scrolls the disclosure to the top of the nav so the new rows are on screen: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/client-components/Nav/index.test.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c3c002014c0fee632d728d123e218de8365eb0e995576f849bc6bba1a266fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: scrolls without animation when the user prefers reduced motion: This test sets up 4 test doubles (for example \u0060vi.fn\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":"app/javascript/components/client-components/Nav/index.test.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"75557b3be40767556547c9a05cd148ea4dd340ad5e1b04f4279c6582196eeb7f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: puts the date the publish recorded into the editor state: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/ProductEdit/Layout.test.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8512f3b3aeadc46b5aa8f7fb00cc61770dc4261fbceae93dced8a7213bb19ae5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: commits a units-only edit without waiting for a mouse event: 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":"app/javascript/components/ProductEdit/ProductTab/CallLimitationsEditor.test.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3646c947bdf8d08304efffa1403fb60362547594a1707f5bfe18867682a0f7f2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves the selected code as the membership\u0027s default offer code: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/ProductEdit/ProductTab/index.test.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"47836cc57ec18634137317112ff13e765bcafb09625bd58e1dfb49d246facae2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tells the config which file was cancelled when the seller cancels an in-progress upload: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 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":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.test.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3002a07d21b494db058eff074ae6552bd7dc9ec7a75e86bbe8e604f1c9b1ed1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replies with a settled failure when the request fails, so the page never hangs: 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 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":"app/javascript/components/Pages/CustomHtmlPreview.test.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"87acd138c90b7f0f86f07ca6678c6e89384ae66fb158e5f5a6b3784aa212ed52"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replies with a failure when the endpoint answers success: false: 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":"app/javascript/components/Pages/CustomHtmlPreview.test.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a737c662855933453a32a5430dc0fa92a17d4ab10ab4f220df6b1ba8692b2ae4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: drops a reply carrying a different document\u0027s 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":"app/javascript/components/Pages/CustomHtmlPreview.test.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"700d4119e14d6aeb14041f62eed88e77085ff3f41324663846e3f0cb19a8e144"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still replies normally when no reload happened before the request settled: 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":"app/javascript/components/Pages/CustomHtmlPreview.test.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7482bd02518b548021928b42e95e09aff3c9258c8ec92af4adee96a489caaab"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses loaded metadata in the original throttled callback when content length is missing: This test sets up 5 test doubles (for example \u0060vi.fn\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":"app/javascript/components/DownloadPage/AudioPlayerContainer.test.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"563010dac5ffe1031842f2252c4dc6a9903320be14698728e2c759192a305678"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: embedded row restores %s seconds / saved %s to %s: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/MediaResume.test.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fb9bcc95bbe28f191924046174cc72c01683add2423ab30c6e3e9f5d180754"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reuses a mounted row with a newer native saved position of %s: This test sets up 5 test doubles (for example \u0060vi.fn\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":"app/javascript/components/Download/MediaResume.test.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"16092426ce75c746e35c2d1d896071dbed67c67a9a8b01b3d8eb448a1e7c3a1c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shows an error and resets checkout when the post-wallet security check rejects unexpectedly: This test sets up 4 test doubles (for example \u0060vi.fn\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":"app/javascript/components/Checkout/PaymentForm.test.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b882fe7ba243b9adb28cf73f2055f04c19c315b76b1193ff273a8d48c26e516c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: converts the merged cart it is handed, not the cart still on the page: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/buyerCurrencyQuoteRecovery.test.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc29c28f39b1f90c24adf9cc7ff68f0ecc9da7fc21b58b12faa03ae338ea5a1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: adopts the configuration and does nothing further when the save delivered one: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e6253920ec27e809e7bc4605f2413d9ea7b4b9754096009c97e48aff13c256"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not adopt before the save finishes: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3cd2784788cf6914f6890cfa68f0f35f5448da2350fc163ad4f3c7e956a222"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not adopt a configuration from a save a newer edit displaced: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1c4f8c299ad0c2f5b213b5fd6aa1b3ec73eccc32127ecb04966282017f43ac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not adopt a configuration from a cancelled save that had answered: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5560fefb36d528d912386965fb5676c9327eab5fe5f10eb918f7d50464afc544"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not adopt the configuration the server sent back with a rejected edit: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0622ed4c136200cae616eff9c560a619550ebcd633cfeac14af4e48137ba2470"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-issues the save when the response is lost entirely: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1639ebb62abd01fc04efae8820eb9e3bb081bc0f1b861f25ee7e88104cebb4f1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-issues the save when the response came back without a configuration: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fd6c682748a6d403bb8bf62c0a25d4420d07f232fff77655d9cf9cb9c221e6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-issues the save when the server reported the edit failed, even though a configuration came back: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d81856c0353b3dee13aa4be3528c649cd839acae415545942afda319dc7ede"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: accepts a configuration delivered alongside a non-error flash: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f0b36fc64dc67fce9cfad5654776faa749acc0b10d0b313a6a69d3e2107292"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not recover when a newer save interrupted this one: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"041862c339de5484695d3c96dda4d7dd8a2c76a67b38d163c54ffb03f4359519"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not recover when the save was cancelled: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba142648d582c7b8c50cb5b6507c0483ea47fd86b243e61005e61a188d85fdac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves the hold on and tells the buyer to reload when the recovery save also fails: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df9de8ee7f6387005e24bc48c62edaf184d993e2da613a6e9c06452736194ce"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stays quiet and adopts when the recovery save delivers the configuration: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"70653e800695b9b9cfd7ebd3a83f62bff3a669a2ce5996054c28334ef7f41d91"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not recover forever while the server keeps failing: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cb5b5cee9f5f9465ea3502f1fe343273723032aa3d0496cf9d677f90f177e0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not recover when a recovery save is itself interrupted by a newer edit: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c6318db9fef6511e777f119bd56851b9fdaa65215439b7a28cf5d7eb2446af"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not recover after a save that did deliver, even if a later save is lost: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de743275ea6a6521f30044d8c2abb375ed3d91109f149eb20e0132f3b3c04a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not adopt a configuration for a cart the buyer has edited past, even with nothing interrupting: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"023804dcf33c4b0a9fbede0d4f1309e7cec33f608e25d7e5cba9b151d239c11d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not recover for a cart the buyer has edited past when its response was lost: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d4c7f634d6e710a9226fe6f3bdb83d3b467de5af65c64374b6882876dd6b1c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: adopts when the buyer edited and returned to the cart this save sent: This test sets up 3 test doubles (for example \u0060vi.fn\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":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4976dfe52129674a6dddc240b52b79e759a897a4b0c2134ccccb09c12a6381f3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: recovers against the cart as it stands when the recovery goes out: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/checkoutPaymentRefresh.test.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ce2d5edff8916667e9d261235460d498352096a0ca1be60a146a10dfef3adc"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1afaf0470161c37cee96658abf785357262c8edfe21c743b0cf0f219135ad23a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69fea861ae6bb5fd465415564d938d3263d76de17325c991041646af6682cfc6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a1daa5e015c3de45c6a5075616cc09526df2694389a0939f86b9862004e8b15"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a9a292d363a0efa8a0b91a8bdadce25642f9a668a713c0d3875165d3f9da800"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b16ac040a5d8c995ec86a6a45e6a1ea4e262a3008df863d4ec75d01dcbebfd0b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c49eea39fe6b6f9a3d568ff1cd6f6d423acefbac1cc6070b393dc4320c6d5543"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5e6c37725a631c47b52900a7e19947e5bba62ae7c7ff040115aa6066f044b94"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e6e9a78929d9764ddf78fc178503de53611c6a72f9da6c15c9195ee4e5a3822"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"591a1344e092175a24ccfa5395ee764148547dd08274e9a3c2fe17e298ba08c6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D14","level":"error","message":{"text":"Banned license: colorize: \u0060colorize\u0060 1.1.0 is published on rubygems.org under GPL-2.0, which this policy bans, and it is in the RUNTIME closure of this repository\u0027s Bundler manifests \u2014 so it is installed by everything that installs this repository, not just by its test harness. Replace it, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"748cea6e7e079e4854e1e1c1bf62ff4dcaf8967fa00a615f59e6593fecd659c5"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: epub-cfi: \u0060epub-cfi\u0060 0.1.3 is published on rubygems.org under LGPL-3.0-or-later, which this policy bans, and it is in the RUNTIME closure of this repository\u0027s Bundler manifests \u2014 so it is installed by everything that installs this repository, not just by its test harness. Replace it, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c06bd9b3150fe5cf76f98b2ddd34791cbff84547688ab31b3809e7e17dd5a631"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: sidekiq: \u0060sidekiq\u0060 7.3.4 is published on rubygems.org under LGPL-3.0, which this policy bans, and it is in the RUNTIME closure of this repository\u0027s Bundler manifests \u2014 so it is installed by everything that installs this repository, not just by its test harness. Replace it, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f2ccf793e5d862f5ff908d78be7562fe47f34e2447b819062896349d638d0a11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Settings/Payments/Show.tsx: app/javascript/pages/Settings/Payments/Show.tsx changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 401 in Show.PaymentsPage at line 259. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Settings/Payments/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e062c68976c66fc0f2196271e230716a4b876c195edef1364664154473d6fb2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Product/index.tsx: app/javascript/components/Product/index.tsx changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 159 in index.Product at line 297. 4 of those changes were fix/bug commits, and the other 30 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Product/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/index.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fa303fb94f2e6bd18f49e972b1bdff34f7f6358ab23df9ab33e362282accba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Checkout/payment.ts: app/javascript/components/Checkout/payment.ts changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 154 in payment.applyCheckoutAction at line 1492. 5 of those changes were fix/bug commits, and the other 30 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Checkout/payment.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbfb963e72f1cd8dbc1c0ec03238507423e5869a6a2ee43d06250ec9381c177"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Checkout/Show.tsx: app/javascript/pages/Checkout/Show.tsx changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 148 in Show.CheckoutIndexPage at line 185. 5 of those changes were fix/bug commits, and the other 29 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Checkout/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebc0c254e95e783adc6225b872af63a48a97d1959fff5811c9af8b45b5b19d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx: app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 218 in BankAccountSection.BankAccountSection at line 773. 1 of those changes was a fix/bug commit, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a48151d984d5c6c93342244c6e03212777217da2904de785db4d084ea09676"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/purchase.rb: app/models/purchase.rb changed 83 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in Purchase.as_json at line 1014. 10 of those changes were fix/bug commits, and the other 73 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/purchase.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2784df2c83aa3ee94ac2f84a6b05f6ecd306122882921e991b3d427e5ed499"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/links_controller.rb: app/controllers/links_controller.rb changed 58 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in LinksController.update at line 442. 2 of those changes were fix/bug commits, and the other 56 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/links_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e97b5b93a29972a250beaf9edc3acca1321839175b1979415809c1cf92bf61f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx: app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 191 in AccountDetailsSection.AccountDetailsSection at line 50. 1 of those changes was a fix/bug commit, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b714221ae7827152a38f9d792a274321bbd00325c3b3aa58e79a8ac2cfd1252"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb: app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in StripeMerchantAccountManager.handle_stripe_info_requirements at line 3245. 2 of those changes were fix/bug commits, and the other 39 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d658d321943c5b13791b6463bacc1e8a1074db41d62e35fe44d2f9007ce7d0c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/ContentTab/index.tsx: app/javascript/components/ProductEdit/ContentTab/index.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 135 in index.ContentTabContent at line 207. 1 of those changes was a fix/bug commit, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/ContentTab/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f63b10cefa7f760efa9dbbf6f723f6abd4b9d9120dded5ef3426378cc56182"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/api/v2/links_controller.rb: app/controllers/api/v2/links_controller.rb changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in LinksController.update at line 303. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/api/v2/links_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/links_controller.rb"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c38aa5976669e025e2fe4862714d6d66246b941415e0a6ad5de183848eea61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Checkout/index.tsx: app/javascript/components/Checkout/index.tsx changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in index.Checkout at line 258. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Checkout/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"28819fa5269fab67b20e95f2b8e833b5e0c8a4ad8cb1fb07cb05ce6b3120175f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Checkout/PaymentForm.tsx: app/javascript/components/Checkout/PaymentForm.tsx changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in PaymentForm.CreditCardContent at line 694. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Checkout/PaymentForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78528fd124fb20478b7580a1ac3629ba8a69744d23e75d3ab739ce4bf6466d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx: app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 153 in FileEmbed.FileEmbedNodeView at line 84. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccf947121bd907019d58c60c4706c7c5c4cb16306fc78e5a52273a103cddd46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx: app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 126 in BeneficialOwnersSection.BeneficialOwnersSection at line 423. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"2448ad1dbaede4eff58fb6a404bbb4859d4505619b36705e096529c5356874cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/presenters/settings_presenter.rb: app/presenters/settings_presenter.rb changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in SettingsPresenter.account_status_details at line 448. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/presenters/settings_presenter.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/settings_presenter.rb"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f4f9d27923afaf1522bb1a979267d4248efcb609b9b5c13376cdcfc7d2b8bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/settings/payments_controller.rb: app/controllers/settings/payments_controller.rb changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in PaymentsController.update at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/settings/payments_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/settings/payments_controller.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3300c444f2c9bf6ae846e3400fe54d1d7014e49c9fb3301bca9f6ede54b5c8fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Subscriptions/Manage.tsx: app/javascript/pages/Subscriptions/Manage.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in Manage.SubscriptionsManage at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Subscriptions/Manage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Subscriptions/Manage.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0ea29e6171f9653c7bff4007a4fdda6a8b4e7c7eeda64c41f0f66d0363703"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/link.rb: app/models/link.rb changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in Link.cart_item at line 1572. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/link.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9feac93949c0c31fd5f2304eb80b5e25801a0599e18ced9c69f66c6c97b5ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/server-components/ProductEditPage.tsx: app/javascript/components/server-components/ProductEditPage.tsx changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in ProductEditPage.ProductEditPage at line 525. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/server-components/ProductEditPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f807897c307c4c401f5406c14d3dbd2d61040e949c455ca26f5029eaf29d81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/CheckoutDashboard/DiscountsPage.tsx: app/javascript/components/CheckoutDashboard/DiscountsPage.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 144 in DiscountsPage.Form at line 894. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/CheckoutDashboard/DiscountsPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e985bab54418e860eba2f2559f0ace45e4ddd8cce9f24b3f946bfe516d896b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/purchase/create_service.rb: app/services/purchase/create_service.rb changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in CreateService.perform at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/purchase/create_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5082429527ccab66c598447b6ac552f20433abb3a4f4ffb2b83ad46a9231dafe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/ai/store_agent_service.rb: app/services/ai/store_agent_service.rb changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in StoreAgentService.write_fields at line 1713. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/ai/store_agent_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_service.rb"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9b6958d24a15a12bc02f7f2599199b0072797bd055f127d6a0e1c4603eda6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb: app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in StripePayoutProcessor.prepare_payment_and_set_amount at line 346. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/stripe/stripe_payout_processor.rb"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae83437074f79cfe5686b9de70fab04049f7ca6073518ff68f373f992d1724ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Agent/AgentChat.tsx: app/javascript/components/Agent/AgentChat.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 146 in AgentChat.AgentChat at line 467. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Agent/AgentChat.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4098a0190c2b783b1db5c6b5ecb8d5428ce14220d9f798643caa42c741d8593e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Settings/Profile/Show.tsx: app/javascript/pages/Settings/Profile/Show.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in Show.SettingsPage at line 102. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Settings/Profile/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Profile/Show.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b15ecd63f908402c24800b603f5756616a53a7d37aefaf60ba84c7bb6afcd9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/subscription/updater_service.rb: app/services/subscription/updater_service.rb changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 96 in UpdaterService.perform at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/subscription/updater_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/subscription/updater_service.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f38f6354192ecd6c09ec6a34d95cc77fe603a2ea8fc1f5fd2067ba089dc076"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb: app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in StripeChargeProcessor.create_payment_intent_or_charge! at line 396. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fbbc965c35d229f163ade1aca07d6ef0be58a46eb4cf12fec3adbd34b9f606"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/presenters/checkout_presenter.rb: app/presenters/checkout_presenter.rb changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in CheckoutPresenter.checkout_product at line 111. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/presenters/checkout_presenter.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout_presenter.rb"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4c26a8eef09ec5e84cebdd709c12e64f6db31468540ed8f0551bc14377fc14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/checkout/buyer_currency_eligibility.rb: app/services/checkout/buyer_currency_eligibility.rb changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in BuyerCurrencyEligibility.decision at line 399. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/checkout/buyer_currency_eligibility.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_eligibility.rb"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9cc339eb1e3f06f51a44bf9475efb71f48543b6c820b09b3b4eff9bebe4b0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Product/ConfigurationSelector.tsx: app/javascript/components/Product/ConfigurationSelector.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in ConfigurationSelector.ConfigurationSelector at line 749. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Product/ConfigurationSelector.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3d4c3048624a81650e85743eadf91fbd8e0da9efd33cd5f0bedaf9bf9f597b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/data/purchase.ts: app/javascript/data/purchase.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in purchase.createPurchasesRequestData at line 269. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/data/purchase.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/purchase.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"300fc364f20789a805857cdb5b517cc86ca0642ea41bd3756f68d06078cf1752"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Audience/CustomerDetailPage.tsx: app/javascript/components/Audience/CustomerDetailPage.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 99 in CustomerDetailPage.CustomerDetailPage at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Audience/CustomerDetailPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"54401e41aa0838d73d0403bca32dee2ab1acb56701cf032ff47e70aa52c8628f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/order/charge_service.rb: app/services/order/charge_service.rb changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in ChargeService.create_charge_for_seller_purchases at line 534. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/order/charge_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/charge_service.rb"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea8d744d2aad2d7e17163c1e297fe65b1ef764dc07ec47d34246487591f7f53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Library/Index.tsx: app/javascript/pages/Library/Index.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in Index.LibraryPage at line 228. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Library/Index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Library/Index.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ee46e6766aa375bf03bec5156549f4fbedd21385ba2776e780cd7bac0362d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/presenters/product_presenter.rb: app/presenters/product_presenter.rb changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ProductPresenter.edit_props at line 155. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/presenters/product_presenter.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/product_presenter.rb"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bea3ed5c6074a0771405576c0dd6dab11369772bc29e33de48c7192882124a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/data/order.ts: app/javascript/data/order.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in order.startOrderCreation at line 159. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/data/order.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/order.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f86488984e91ad6630665520623fbcf0d1f7aef043591e491df1f6f249e6e3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/purchase/sync_status_with_charge_processor_service.rb: app/services/purchase/sync_status_with_charge_processor_service.rb changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in SyncStatusWithChargeProcessorService.perform at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/purchase/sync_status_with_charge_processor_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/sync_status_with_charge_processor_service.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"547027a6110ff8e89fcb34b09e35e74f981d640be8b6f1576a704f4cb47a1bd4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/order/create_service.rb: app/services/order/create_service.rb changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in CreateService.perform at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/order/create_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/create_service.rb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ee9418b47b7d4c096d313ed743a2356d264ebed7524d473726f04e0f96ee23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/update_user_compliance_info.rb: app/services/update_user_compliance_info.rb changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in UpdateUserComplianceInfo.assign_compliance_params at line 201. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/update_user_compliance_info.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/update_user_compliance_info.rb"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb79be6229a87eb58cfe55f4dcbe44987ad9012e2f2047cfcbc60c5f616d3780"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/order/prepare_payment_intent_service.rb: app/services/order/prepare_payment_intent_service.rb changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in PreparePaymentIntentService.create_unconfirmed_intent at line 924. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/order/prepare_payment_intent_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/prepare_payment_intent_service.rb"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"6126d9573ddf0552672194fedca6e927bab421db78401e8484dd1559b64edb3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Download/FileList.tsx: app/javascript/components/Download/FileList.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in FileList.FileRow at line 169. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Download/FileList.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9027769a0ff74a81a2520025ed5de88b4a5fb76e3d2c399c816c1e8922c9eaf4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/business/payments/payouts/payouts.rb: app/business/payments/payouts/payouts.rb changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in Payouts.is_user_payable at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/business/payments/payouts/payouts.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/payouts.rb"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8401ccc6a147781c373e2e08a20449fec2f0b7ea8968317be928833b8f0e5d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/checkout/buyer_currency_quote.rb: app/services/checkout/buyer_currency_quote.rb changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in BuyerCurrencyQuote.charge_quote_for at line 683. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/checkout/buyer_currency_quote.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/checkout/buyer_currency_quote.rb"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca21afe6618ce594be7648884ce8b5bff150532cdf004824c219592b1e4873"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/UrlRedirects/Read.tsx: app/javascript/pages/UrlRedirects/Read.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in Read.EpubReader at line 523. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/UrlRedirects/Read.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebfaf9fef65d2b8c0f9243e0cb5f6631ca969c2bfb949b385bac29829f513e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/url_redirects_controller.rb: app/controllers/url_redirects_controller.rb changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in UrlRedirectsController.check_permissions at line 537. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/url_redirects_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/url_redirects_controller.rb"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca4438f261d92d89575c78cac6cf580a3092ff5e2a0b6d1a40b6e9eb7b8cb1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/modules/purchase/refundable.rb: app/modules/purchase/refundable.rb changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in Purchase.refund_purchase! at line 288. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/modules/purchase/refundable.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/refundable.rb"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b855d3abe3447d554808c5babf5ba9edd0794615457ef70d724cf0b267e8b85d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/presenters/checkout/stripe_payment_presenter.rb: app/presenters/checkout/stripe_payment_presenter.rb changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in StripePaymentPresenter.client_confirm_props at line 269. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/presenters/checkout/stripe_payment_presenter.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/checkout/stripe_payment_presenter.rb"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ced1ecaef96368cafcb3b4374adb195fadbb2d9fe0cd38489ccc8cc954596d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/DashboardPage.tsx: app/javascript/components/DashboardPage.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in DashboardPage.DashboardPage at line 310. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/DashboardPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DashboardPage.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e455eccd9b74566de96fdc1b70c64aa900ab2e0b1c20ba9004c24046eefcda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/ai/anthropic_client.rb: app/services/ai/anthropic_client.rb changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AnthropicClient.stream_messages at line 213. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/ai/anthropic_client.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/anthropic_client.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c82ad19868ac5a2b66f2f74c7fd410ca8dbd24f9c95a10fcbd642f93909d344"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/customer_surcharge_controller.rb: app/controllers/customer_surcharge_controller.rb changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in CustomerSurchargeController.calculate_all at line 6. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/customer_surcharge_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/customer_surcharge_controller.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d3a474483c4dd37a7505d2e7a0a0ca356a84cba41c8162349d428cf72e3b23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/subscription.rb: app/models/subscription.rb changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Subscription.indian_card_mandate_terms at line 733. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/subscription.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5045ad26f3efd1ea40138ddfd1d0f5058c289dd99f4416c4a2cb2924538ff5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Discover/Index.tsx: app/javascript/pages/Discover/Index.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in Index.DiscoverIndex at line 244. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Discover/Index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Discover/Index.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"813e7655a8a3544beb9fe2e5857ae008ad99ba1e618a96d2395f5e3ea97bfd1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/Layout.tsx: app/javascript/components/ProductEdit/Layout.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in Layout.Layout at line 121. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/Layout.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/Layout.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e77d6babd2f3126aebce8f2030e47634e0d0e3014b10c82502aaa4b999559a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/concerns/purchase/blockable.rb: app/models/concerns/purchase/blockable.rb changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Blockable.processor_rule_refusal at line 310. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/concerns/purchase/blockable.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/purchase/blockable.rb"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb59367bbb75957e084ec7234f0e67505df917055290eb9744592bb4abbcadb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/data/product_edit.ts: app/javascript/data/product_edit.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in product_edit.applyRichContentPageSaveResponse at line 282. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/data/product_edit.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_edit.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19956cc5ca24d6fa431da85959bc2b645286ca1a3fc38c0c976f0ffcaea42d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Emails/Published.tsx: app/javascript/pages/Emails/Published.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in Published.EmailsPublished at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Emails/Published.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Published.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c97e2d4c2ec9ace65bfbfa0c103057ff4a7f2cba5dffa0a8203105dfbacfd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Pages/Edit.tsx: app/javascript/pages/Pages/Edit.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in Edit.PagesEdit at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Pages/Edit.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Pages/Edit.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b412b0d93757f2d93c4b9ce7f1652ac7f036424a987f100fc313963cf626f22a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/EmailsPage/EmailForm.tsx: app/javascript/components/EmailsPage/EmailForm.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 182 in EmailForm.EmailForm at line 221. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/EmailsPage/EmailForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d96ed84dbc0c2ee98d782260b95a8964c1179aa129f73a8251114e9c1165607"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Payouts/Index.tsx: app/javascript/pages/Payouts/Index.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in Index.Period at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Payouts/Index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e67ba2098bdde46b142b8a2666f5633d6c2563f3a4fd2c66b78cbd397c4cd7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ReviewForm.tsx: app/javascript/components/ReviewForm.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in ReviewForm.ReviewForm at line 119. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ReviewForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e447040f4f5d54d6b436d2d5ddfed00b1ab44736d9a4003c60c2ad05b0d2dcc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Profile/SectionsForm.tsx: app/javascript/components/Profile/SectionsForm.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in SectionsForm.ProfileSectionsForm at line 683. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Profile/SectionsForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5f19e96eedae15f3189f87e075c5e8e7c71d3374226c5610bd922e85cf157e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/ProductTab/index.tsx: app/javascript/components/ProductEdit/ProductTab/index.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in index.ProductTab at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/ProductTab/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/index.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"384cf885c9705de2098b483c7481328efcc9a9da04ab0a885bbf272b2f1679e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/modules/with_product_files.rb: app/modules/with_product_files.rb changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in WithProductFiles.save_files! at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/modules/with_product_files.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/with_product_files.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4c101b08a0f74259675f44bb74ee3ec248317d51a8f312a33b0df2fc31cf45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/modules/product/searchable.rb: app/modules/product/searchable.rb changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in Searchable.build_search_property at line 540. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/modules/product/searchable.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/product/searchable.rb"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf51d4055c508e461495ec217950031f6e3d4306602248c5bffe9b5e364f496"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/send_workflow_installment_worker.rb: app/sidekiq/send_workflow_installment_worker.rb changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in SendWorkflowInstallmentWorker.perform at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/send_workflow_installment_worker.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_installment_worker.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab72d3c3d200e0036c8faf739523e82a060fc52e36020553d8cfc0bce7adcfd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/mailers/customer_mailer.rb: app/mailers/customer_mailer.rb changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in CustomerMailer.abandoned_cart at line 321. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/mailers/customer_mailer.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/customer_mailer.rb"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50c221d272d098ea32766da2bea86785d037205d04c1743d6c5c3db3137a9e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Purchases/DisputeEvidence/Show.tsx: app/javascript/pages/Purchases/DisputeEvidence/Show.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in Show.Show at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Purchases/DisputeEvidence/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bc5aef5cc9903f8f4c3fc8787ca66ab90e59cc0b187cae114f86fab343c356"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/send_workflow_post_emails_job.rb: app/sidekiq/send_workflow_post_emails_job.rb changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in SendWorkflowPostEmailsJob.perform at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/send_workflow_post_emails_job.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_post_emails_job.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aedc6551f4e1a453af723d1da5ea29271d3c3569735b0b2ae762b9763543d3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/api/internal/admin/purchases_controller.rb: app/controllers/api/internal/admin/purchases_controller.rb changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in PurchasesController.refund at line 151. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/api/internal/admin/purchases_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/purchases_controller.rb"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff1cd700cff60f5befeebc2373da31c57b9f2df27afdde1f23e0a497c482afe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/api/internal/admin/users_controller.rb: app/controllers/api/internal/admin/users_controller.rb changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in UsersController.restore_bank_payout_rail at line 595. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/api/internal/admin/users_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/admin/users_controller.rb"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f62c73bc670d3a24246961411172248724c883caca7b4f40977c37cc877bd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/send_post_blast_emails_job.rb: app/sidekiq/send_post_blast_emails_job.rb changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in SendPostBlastEmailsJob.perform at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/send_post_blast_emails_job.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_post_blast_emails_job.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"19491634c33ce795bc20766cc4886555fd62517ac7301914b8b2a1f512310c9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/content_moderation/moderate_record_service.rb: app/services/content_moderation/moderate_record_service.rb changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ModerateRecordService.check at line 163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/content_moderation/moderate_record_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/moderate_record_service.rb"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"727f1d1677018a44349b2d5f9e43ab610a8ab774b4bb802dc0e179a6a16db733"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Product/Layout.tsx: app/javascript/components/Product/Layout.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Layout.CtaBar at line 142. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Product/Layout.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Layout.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"610fb832b9a3c26ce1548694ca13bb65fda153b9ad749196abc360504b4f5d2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/presenters/product_presenter/product_props.rb: app/presenters/product_presenter/product_props.rb changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ProductProps.props at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/presenters/product_presenter/product_props.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/product_presenter/product_props.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"75066faf2c408b2ac70fe228967b74109d7528c798bc99f111f3246ad7260c38"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Audience/CustomersPage.tsx: app/javascript/components/Audience/CustomersPage.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in CustomersPage.CustomersPage at line 66. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Audience/CustomersPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bbde1456c349b2d002834e57d6248858bedb014934f7dbd6d4c91b57f96abc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/PiracyReports/Show.tsx: app/javascript/pages/PiracyReports/Show.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in Show.PiracyReportsShow at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/PiracyReports/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/PiracyReports/Show.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3287692ddf92ad743d7cd90ab186d8b61280115cb173df5e7819ee97713325"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb: app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in StripeBeneficialOwnersManager.build_person_params at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c956347428411646d6fc424e655df2e14a820909016fa409b978bae6025005f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/alert_on_stalled_post_email_blasts_job.rb: app/sidekiq/alert_on_stalled_post_email_blasts_job.rb changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AlertOnStalledPostEmailBlastsJob.resolve_action at line 182. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/alert_on_stalled_post_email_blasts_job.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/alert_on_stalled_post_email_blasts_job.rb"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa6178ca5239c73258cfe62184eb2aec44cb95a9361c4eb128ab83c15bfffbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/RichTextEditor.tsx: app/javascript/components/RichTextEditor.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in RichTextEditor.useRichTextEditor at line 288. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/RichTextEditor.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5a036b64781e8ddd05e945ab8a44baaecc486f70db60e1c703852cb685fd59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/audience_member.rb: app/models/audience_member.rb changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in AudienceMember.filter at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/audience_member.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/audience_member.rb"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c4597fee443dfb9cfc39ad1e6d7f3911a99d6aa00ae8fd6fdc8c7456607175"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Purchases/Invoices/New.tsx: app/javascript/pages/Purchases/Invoices/New.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in New.PurchaseNewInvoicePage at line 59. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Purchases/Invoices/New.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/Invoices/New.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"92227eb6dada551538188c07d42c81c80607e73f1a64f9b10901c51c40b4aced"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Product/CtaButton.tsx: app/javascript/components/Product/CtaButton.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in CtaButton.CtaButton at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Product/CtaButton.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CtaButton.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5502a7ceab8c2f26479452ab76f4b5376d6d2035dbccf96876725805e7bd3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/presenters/customer_presenter.rb: app/presenters/customer_presenter.rb changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in CustomerPresenter.customer at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/presenters/customer_presenter.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/customer_presenter.rb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b4a65753cc2db23abd36c1d3f8a459eeae5d38225cf5cdaebcc597d8572c5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/DownloadPage/WithContent.tsx: app/javascript/components/DownloadPage/WithContent.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in WithContent.WithContent at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/DownloadPage/WithContent.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/WithContent.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2f7944ac0fb408a23efc20d758953c7d6730c94c3d84320b1c0187378ccc6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/post_sendgrid_api.rb: app/services/post_sendgrid_api.rb changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in PostSendgridApi.build_personalization_for_recipient at line 131. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/post_sendgrid_api.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_sendgrid_api.rb"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa20bbe58a3d99334ff584f4a41d23849f90f4f20d487107695909361c3983f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Product/CardGrid.tsx: app/javascript/components/Product/CardGrid.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in CardGrid.CardGrid at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Product/CardGrid.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CardGrid.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"be58fc1439fbe272904f68f1af35ee44c4ff11a594627608700d61cc7df3a9d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx: app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ShareYourLaunchCard.ChannelComposer at line 233. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff414ce76daab2854594172beda4dd9e0603b0f531ecff3d3409f004fbdf1ff5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/api/mobile/agent_streams_controller.rb: app/controllers/api/mobile/agent_streams_controller.rb changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AgentStreamsController.create at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/api/mobile/agent_streams_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/agent_streams_controller.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65255a31902f829e479740f6e50d166ffebd1a254d921ff60dd1017cf89c786"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/concerns/post_blast_sending.rb: app/sidekiq/concerns/post_blast_sending.rb changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in PostBlastSending.partition_members_that_left_the_audience at line 334. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/concerns/post_blast_sending.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/concerns/post_blast_sending.rb"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabba81d3955c067581ddb895b55de00f92f689a08cc09f424aa4b4694692eac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Checkout/buyerCurrencyDisplay.ts: app/javascript/components/Checkout/buyerCurrencyDisplay.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in buyerCurrencyDisplay.getCheckoutListedCurrencyDisplay at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Checkout/buyerCurrencyDisplay.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/buyerCurrencyDisplay.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9479bdb491993e45a44b5ac51ba58b8020017c5b065999bd2acbc23832a83e67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/DownloadPage/Layout.tsx: app/javascript/components/DownloadPage/Layout.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in Layout.Layout at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/DownloadPage/Layout.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/Layout.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f8aaa081972dd6b08b39fec34798b73dfa1f256fc04b8d871befa3bb3a6530"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/concerns/search_products.rb: app/controllers/concerns/search_products.rb changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in SearchProducts.normalize_search_param_values! at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/concerns/search_products.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/search_products.rb"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f499f832ccd8894053debdb1a486ca12244983ecdc832f589bb3b1459b19cb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/balance_transaction.rb: app/models/balance_transaction.rb changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BalanceTransaction.find_or_create_balance at line 252. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/balance_transaction.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/balance_transaction.rb"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b32dcc9cd41519ab416b5943b8432f7f3e220b83d136f3d72b0d4626d28483"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/auto_top_up_negative_destination_balances_job.rb: app/sidekiq/auto_top_up_negative_destination_balances_job.rb changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in AutoTopUpNegativeDestinationBalancesJob.topup at line 97. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/auto_top_up_negative_destination_balances_job.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/auto_top_up_negative_destination_balances_job.rb"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb81bc9f282c27a5c55077b658d65e613469e6a22a90362d555c4779eb7717a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/checkout_controller.rb: app/controllers/checkout_controller.rb changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in CheckoutController.update at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/checkout_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/checkout_controller.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4729aa68c48ca9ddfcae14634291c0d282ce396fddca00b9109264db75c100a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/ProductPreview.tsx: app/javascript/components/ProductEdit/ProductPreview.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ProductPreview.ProductPreview at line 14. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/ProductPreview.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductPreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d176f6ac463a266e7b1bb3f3dc3269d003465621142491b395f0c06bf7edd19a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb: app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in PaypalPayoutProcessor.is_user_payable at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfcc2f114fd4df8d476f8b2cb9f2e51489aaa4ffe2f4bc9253482b442e12611"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/api/v2/sales_controller.rb: app/controllers/api/v2/sales_controller.rb changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SalesController.index at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/api/v2/sales_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/sales_controller.rb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"026ccc0128c5bf240d89e3e956b490d15281440cd0cb1f8dd7eace3b11f6893f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/user/omniauth_callbacks_controller.rb: app/controllers/user/omniauth_callbacks_controller.rb changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in OmniauthCallbacksController.failure at line 242. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/user/omniauth_callbacks_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/user/omniauth_callbacks_controller.rb"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8ab9032b7ad99d328613c086eeb7df944622e50e6f4741c99e6c45158aff04"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/WorkflowsPage/WorkflowForm.tsx: app/javascript/components/WorkflowsPage/WorkflowForm.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in WorkflowForm.WorkflowForm at line 97. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/WorkflowsPage/WorkflowForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5ec3a06c19d23ed8630e8f180e93c90eefeaac43e5c9f79a4a4f96e39da36b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Settings/Main/Show.tsx: app/javascript/pages/Settings/Main/Show.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Show.MainPage at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Settings/Main/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5380211e79b0ca4195010dd9d235e18db16bbec7ddd0896390716967ceaa7276"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Settings/PaymentsPage/AccountStatusSection.tsx: app/javascript/components/Settings/PaymentsPage/AccountStatusSection.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in AccountStatusSection.AccountStatusSection at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Settings/PaymentsPage/AccountStatusSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountStatusSection.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd0f0b7d4adcabc8699942bf9e2f31f59339f1b258fdbfa920096b4be0bdcd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/content_moderation/strategies/classifier_strategy.rb: app/services/content_moderation/strategies/classifier_strategy.rb changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ClassifierStrategy.perform at line 82. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/content_moderation/strategies/classifier_strategy.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/content_moderation/strategies/classifier_strategy.rb"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e50a386000790e4a962589c41ec09883e92008c8f15550a1e332be0f2b5dc9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/presenters/url_redirect_presenter.rb: app/presenters/url_redirect_presenter.rb changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in UrlRedirectPresenter.download_page_layout_props at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/presenters/url_redirect_presenter.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/url_redirect_presenter.rb"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf3321dda930d38cb0f281987dfe89560cf9078116f66a4db2accc3188dcde8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/WorkflowsPage/WorkflowEmails.tsx: app/javascript/components/WorkflowsPage/WorkflowEmails.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in WorkflowEmails.WorkflowEmails at line 102. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/WorkflowsPage/WorkflowEmails.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5664abb19dd04e43a11a7d204e41302eed2a8110fdd77bfb9f8aa06a921a0722"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Profile/Layout.tsx: app/javascript/components/Profile/Layout.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Layout.Layout at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Profile/Layout.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/Layout.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd80da31aafbdcb3b9561e24b25604081e22596ffaa765eebcc6147be230fb7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Checkout/cartState.ts: app/javascript/components/Checkout/cartState.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in cartState.getDiscountedPriceForItem at line 249. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Checkout/cartState.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/cartState.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4ca6a2f432660646e70bf6fe58949edac340666a842334a1fafc3a3f59faef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/CheckoutDashboard/FormPage.tsx: app/javascript/components/CheckoutDashboard/FormPage.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in FormPage.FormPage at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/CheckoutDashboard/FormPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/FormPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b8ce10f91b240b81200e3789e4e865c983f5880b4270995fff04b57d49e98a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/api/internal/agent_message_streams_controller.rb: app/controllers/api/internal/agent_message_streams_controller.rb changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in AgentMessageStreamsController.create at line 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/api/internal/agent_message_streams_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_message_streams_controller.rb"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1a6370c4d8985e05ec04e821f8917b266c0ceb5ca7bd527a7b4ddd643bb190"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/recurring_charge_worker.rb: app/sidekiq/recurring_charge_worker.rb changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in RecurringChargeWorker.perform at line 7. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/recurring_charge_worker.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/recurring_charge_worker.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0db84217f23d548059aa9e0dffbf5b8b98818757345f65e1bc7672cae02dfe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Communities/Index.tsx: app/javascript/pages/Communities/Index.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in Index.CommunitiesIndex at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Communities/Index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Communities/Index.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08c71d12afb25529ee708ed351a86753d539a0d03afc89c73029a9e32a96cf9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/workflow.rb: app/models/workflow.rb changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Workflow.schedule_installment at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/workflow.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/workflow.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"246b82b5f2509e786de641e7c19e181e6e249c7bb842f506bac0cd2de0720063"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/purchase/confirm_service.rb: app/services/purchase/confirm_service.rb changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ConfirmService.perform at line 13. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/purchase/confirm_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/confirm_service.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"689bee7cf74fd8464d1be206882317d40f2f1a085212d67fc96f19dfbee9fe2c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Settings/SocialConnections/Show.tsx: app/javascript/pages/Settings/SocialConnections/Show.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Show.SocialConnectionsPage at line 59. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Settings/SocialConnections/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/SocialConnections/Show.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"98039c8b83c141fdba7b06626ce8996f17731c18f095b46c9f3dd5e5b5ac3629"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/UtmLinks/UtmLinkForm.tsx: app/javascript/components/UtmLinks/UtmLinkForm.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in UtmLinkForm.UtmLinkForm at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/UtmLinks/UtmLinkForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UtmLinks/UtmLinkForm.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e905ac306f7f94aec45697ddad1cb01b71ddf307af9ec43359879e122d5118ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/ai/store_agent_object_formatter.rb: app/services/ai/store_agent_object_formatter.rb changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in StoreAgentObjectFormatter.from_response at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/ai/store_agent_object_formatter.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_object_formatter.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"524fc01a70e01597c8e4801dbf39b50f637a82d0f76eba5d80adc69767cae1ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/discover_controller.rb: app/controllers/discover_controller.rb changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in DiscoverController.index at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/discover_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/discover_controller.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe226eba76c36df20ebd228cf6f5e0e1de6a9d18d63122317d280248a99571b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/update_product_files_archive_worker.rb: app/sidekiq/update_product_files_archive_worker.rb changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in UpdateProductFilesArchiveWorker.build_archive at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/update_product_files_archive_worker.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/update_product_files_archive_worker.rb"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51155ddfe02ba91c9de43adb370241e590a180487876af950c8d38c7ed5b8db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx: app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TiersEditor.TierEditor at line 164. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"220b431bc7bd03ef5c60203c7c399185011106f62bd7e098ddc25eb1f1e72d32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Products/New.tsx: app/javascript/pages/Products/New.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in New.NewProductPage at line 113. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Products/New.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Products/New.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7243d32d60bf598f1ea60dbe9e8f675ca2e7a078c9a0bf0330c1d7f3b267d1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Bundles/Product/Edit.tsx: app/javascript/pages/Bundles/Product/Edit.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Edit.BundlesProductEdit at line 110. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Bundles/Product/Edit.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Product/Edit.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baec1ef210d006d1c50256fe0a17bf41ba54a050d65af6362bc384b7ff4eef5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/workflow/save_installments_service.rb: app/services/workflow/save_installments_service.rb changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in SaveInstallmentsService.process at line 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/workflow/save_installments_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/workflow/save_installments_service.rb"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0bd5b543eddcb356a447deb433aa8e21f0636721f8d3eee12b48fed48f123f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Checkout/PaymentElementInput.tsx: app/javascript/components/Checkout/PaymentElementInput.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PaymentElementInput.PaymentElementControllerInput at line 211. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Checkout/PaymentElementInput.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentElementInput.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb2177a58824e6c2ee5868fb1b1eb309959bc4e3428c16077b85822a1a4b2e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/product/variant_category_updater_service.rb: app/services/product/variant_category_updater_service.rb changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in VariantCategoryUpdaterService.perform at line 174. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/product/variant_category_updater_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/variant_category_updater_service.rb"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea16221009b7ccba28d7bf80f93c15bd633f164d652d2a49b4d704b5d987c47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx: app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in FileEmbedGroup.FileEmbedGroupNodeView at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6210f8356ccf2ef3ed06c05a4abeb31838619cfbf37ebbce37b9e01d67c49fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/refund.rb: app/models/refund.rb changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Refund.collect_pending_fee_retention! at line 219. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/refund.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/refund.rb"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7177a7c525c2d803895980de3fbeee37a2c3f1d880d7c956dfb77f0be36dfc3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Analytics/index.tsx: app/javascript/components/Analytics/index.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in index.Analytics at line 154. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Analytics/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/index.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"55643c3fd405a2d497686e0f9346d3c6404819a16064f8189f4f8087f812e881"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/api/internal/agent_custom_html_previews_controller.rb: app/controllers/api/internal/agent_custom_html_previews_controller.rb changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AgentCustomHtmlPreviewsController.resulting_custom_html at line 170. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/api/internal/agent_custom_html_previews_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_custom_html_previews_controller.rb"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b24c6d72ebc23048241154bfc04eb2e591a82c18d2e84919b54ad7deae60c87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Public/LookupLayout.tsx: app/javascript/components/Public/LookupLayout.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in LookupLayout.LookupLayout at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Public/LookupLayout.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Public/LookupLayout.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad2bb3c45a800fee9fb73075e6a40e9b77af27e5fc42c81223abc18248f65f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Bundles/Content/Edit.tsx: app/javascript/pages/Bundles/Content/Edit.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in Edit.BundlesContentEdit at line 51. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Bundles/Content/Edit.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Content/Edit.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"29241ae5de5f8eb1444a6fe15f3d20bcb1a27a89341962eeec6335be0a110838"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/presenters/profile_sections_presenter.rb: app/presenters/profile_sections_presenter.rb changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ProfileSectionsPresenter.section_props at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/presenters/profile_sections_presenter.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/profile_sections_presenter.rb"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6064ab2041f529db07d1c49e9a57d6df7c295a058fe400de17249b545dab85e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/business/payments/merchant_registration/implementations/paypal/paypal_merchant_account_manager.rb: app/business/payments/merchant_registration/implementations/paypal/paypal_merchant_account_manager.rb changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in PaypalMerchantAccountManager.update_merchant_account at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/business/payments/merchant_registration/implementations/paypal/paypal_merchant_account_manager.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/paypal/paypal_merchant_account_manager.rb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"363c9df3713780cbda0615a3b0e8916f76854bc63efdebd1fa60815b1685dc42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/data/agent.ts: app/javascript/data/agent.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in agent.streamAgentMessage at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/data/agent.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/agent.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdc5a2edf143cca2296c566fa13d23ce4e3c2bc9cd61ac1dfa5702159a3613a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/api/mobile/agent_controller.rb: app/controllers/api/mobile/agent_controller.rb changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AgentController.create at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/api/mobile/agent_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/mobile/agent_controller.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d824b851d439b0c14357c25488e43fc71cc80467a01bc9f6aad0d01ac92c81b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Settings/Team/Show.tsx: app/javascript/pages/Settings/Team/Show.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Show.TeamMembersSection at line 205. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Settings/Team/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Team/Show.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d371260eee70b7cd01f846bf786d5541c4bdb66331edf97947bfd57d763167"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/onetime/migrate_newsletter_subscribers_to_feature_announcements.rb: app/services/onetime/migrate_newsletter_subscribers_to_feature_announcements.rb changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in MigrateNewsletterSubscribersToFeatureAnnouncements.migrate at line 301. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/onetime/migrate_newsletter_subscribers_to_feature_announcements.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/migrate_newsletter_subscribers_to_feature_announcements.rb"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3476e8eb481fa7a4cfb8c85b799b39a418af1ca8dfe258a141b05c7f723b3d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/pages/interpolator.rb: app/services/pages/interpolator.rb changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Interpolator.interpolate at line 122. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/pages/interpolator.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/pages/interpolator.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ed74bbaec86d681f30a896736db7cc9473ac04d9629011f0c9dc80304ccd80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/retry_stripe_rejected_payout_setup_for_seller_job.rb: app/sidekiq/retry_stripe_rejected_payout_setup_for_seller_job.rb changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in RetryStripeRejectedPayoutSetupForSellerJob.perform at line 41. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/retry_stripe_rejected_payout_setup_for_seller_job.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/retry_stripe_rejected_payout_setup_for_seller_job.rb"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"19151e129c41b2e6378816542281670f5a2f0f3f6f02d3ff4fdc9e1b9f54b70f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/DateRangePicker.tsx: app/javascript/components/DateRangePicker.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DateRangePicker.DateRangePicker at line 35. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/DateRangePicker.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DateRangePicker.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc37c550ad345edb333be0e3c3f5f79041c2f933559a758b98ab92a9376997a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/send_workflow_emails_to_past_canceled_members_job.rb: app/sidekiq/send_workflow_emails_to_past_canceled_members_job.rb changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SendWorkflowEmailsToPastCanceledMembersJob.perform at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/send_workflow_emails_to_past_canceled_members_job.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/send_workflow_emails_to_past_canceled_members_job.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfe0e84ad968178cb6b122898c188db5213c796bca0dd96a8207fbf771fe446"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/helpers/payouts_helper.rb: app/helpers/payouts_helper.rb changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PayoutsHelper.current_payout_period_data at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/helpers/payouts_helper.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/payouts_helper.rb"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9374313ac25d23501b0efccc28c776472fb7f517e369776fb61d09b316dfe975"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/preorder.rb: app/models/preorder.rb changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Preorder.charge! at line 110. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/preorder.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/preorder.rb"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbaeaaa3909d8b48f0c3076a914f05753cf6fa0822d3330344abf0a17be71b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/order/response_helpers.rb: app/services/order/response_helpers.rb changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ResponseHelpers.error_response at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/order/response_helpers.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/response_helpers.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85ea0488a8cc99da93dd962282f47672bdfdf8fe89c636b22448ad623e9da15"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/scheduled_payout.rb: app/models/scheduled_payout.rb changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ScheduledPayout.execute! at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/models/scheduled_payout.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/scheduled_payout.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9fb65dbb39fb627dc7fb29a74d6c4ff60c7392362774f063aaafc7056b87b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/admin_search_service.rb: app/services/admin_search_service.rb changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AdminSearchService.search_purchases at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/admin_search_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/admin_search_service.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8baa1be84ae192dba6172e9ef00798b1d6c490e426d5f9dcf9987ee2890131"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx: app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in DescriptionEditor.DescriptionEditor at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a665cfa6a1cd6fb5953b16ff9d8e59dcf64f9f9cfb9a7570906d8a1d9911d801"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/exports/payouts/base.rb: app/services/exports/payouts/base.rb changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Base.payout_data at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/exports/payouts/base.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/payouts/base.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"160957464c7d17a3c27be7763403d1c6f9049052076465599a7c3ecb2d831296"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/schedule_workflow_installment_job.rb: app/sidekiq/schedule_workflow_installment_job.rb changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ScheduleWorkflowInstallmentJob.perform at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/schedule_workflow_installment_job.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/schedule_workflow_installment_job.rb"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebde790aeb777b45e17a1c9e9782641ff2983973a391788076c597c00dcd6db3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/TiptapExtensions/Link.tsx: app/javascript/components/TiptapExtensions/Link.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Link.LinkNodeView at line 119. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/TiptapExtensions/Link.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Link.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"df83720332a01892dd379606bbe0afeb9e4384876e4f4bac95131fde20704f1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Logins/New.tsx: app/javascript/pages/Logins/New.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in New.LoginPage at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Logins/New.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Logins/New.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4603845a4bf379b0699681c27ab91e0b990332e8c65ed9e83f0fe6ce68a1873"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/UrlRedirects/Stream.tsx: app/javascript/pages/UrlRedirects/Stream.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Stream.Stream at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/UrlRedirects/Stream.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Stream.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6176bc7cdf83f0c7ff240c3ff2a87786daa8dc95afe1da263b8e485427b25a10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/create_canada_monthly_sales_report_job.rb: app/sidekiq/create_canada_monthly_sales_report_job.rb changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CreateCanadaMonthlySalesReportJob.perform at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/create_canada_monthly_sales_report_job.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/create_canada_monthly_sales_report_job.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bc7d212ee4f605e2e81fb966d08a7b6dd5b9a671c62a0d2d26d0847e1cb8dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/controllers/bundles/product_controller.rb: app/controllers/bundles/product_controller.rb changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ProductController.update at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/controllers/bundles/product_controller.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/bundles/product_controller.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ea3830d6d50fc0a0fa01302a2a2c503bd4e79cbaa2ca3f26f8315d45a074a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/fail_abandoned_purchase_worker.rb: app/sidekiq/fail_abandoned_purchase_worker.rb changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FailAbandonedPurchaseWorker.perform at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/fail_abandoned_purchase_worker.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/fail_abandoned_purchase_worker.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"153a1db45b126851429b60f147635fcf88ac8bfa583aeae64a8936d3782afc50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/TwoFactorAuthentication/Show.tsx: app/javascript/pages/TwoFactorAuthentication/Show.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Show.TwoFactorAuthentication at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/TwoFactorAuthentication/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/TwoFactorAuthentication/Show.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e3a4ec1e705811e9949cdb57cd2b03517ae88f06a755b56bcc151c3cbfed02"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/sidekiq/create_us_state_monthly_sales_reports_job.rb: app/sidekiq/create_us_state_monthly_sales_reports_job.rb changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CreateUsStateMonthlySalesReportsJob.perform at line 13. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/sidekiq/create_us_state_monthly_sales_reports_job.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/create_us_state_monthly_sales_reports_job.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cba8978b9f66707bc44615516c1e5f77ef6cfe98a34167495aaaff6de1aa785"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/HelpCenter/Articles/Show.tsx: app/javascript/pages/HelpCenter/Articles/Show.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Show.HelpCenterArticle at line 143. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/HelpCenter/Articles/Show.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/HelpCenter/Articles/Show.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3e8424ef0c894f7cadb0af53a9e4fe4d6aef9736ad02a91e14d791e92bec0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/pages/Followers/Index.tsx: app/javascript/pages/Followers/Index.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Index.FollowersPage at line 41. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/pages/Followers/Index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Followers/Index.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"992f47dd2ace6815267adc41da9f98b1e7de78ce500e92805a9c7bc6f3697577"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Settings/PasswordPage/AuthenticatorSetup.tsx: app/javascript/components/Settings/PasswordPage/AuthenticatorSetup.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AuthenticatorSetup.AuthenticatorSetup at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Settings/PasswordPage/AuthenticatorSetup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/AuthenticatorSetup.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d17f3da3e182a70c53084878766ff5c9d82e2bba44396c73ebf87d686e470b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Profile/FollowForm.tsx: app/javascript/components/Profile/FollowForm.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FollowForm.FollowForm at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Profile/FollowForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/FollowForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6732b10f3732964c2259aac4aa901a9fd0ff6ad020e1b6740ccc58aabbe95b50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/services/onetime/backfill_membership_advance_renewal_reminders.rb: app/services/onetime/backfill_membership_advance_renewal_reminders.rb changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BackfillMembershipAdvanceRenewalReminders.process at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/onetime/backfill_membership_advance_renewal_reminders.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/backfill_membership_advance_renewal_reminders.rb"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"33efc317ecfc2a197bb3d9069cb3ac8243ed4e375e759100f2e5e4a45c05953a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/Profile/FollowUserForm.tsx: app/javascript/components/Profile/FollowUserForm.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in FollowUserForm.FollowUserForm at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/Profile/FollowUserForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/FollowUserForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"753608dc13f81ee20da45c8c39fda708af755997900c7acaac76639bbd12f33d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/javascript/components/ProductEdit/ProductTab/AvailabilityEditor.tsx: app/javascript/components/ProductEdit/ProductTab/AvailabilityEditor.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in AvailabilityEditor.AvailabilityEditor at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/javascript/components/ProductEdit/ProductTab/AvailabilityEditor.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/AvailabilityEditor.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa80b13699292c45334d46a2c9cd3320e2d1fcf86dc506eb32bfe3370d5b85a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/services/purchase/base_service.rb: app/services/purchase/base_service.rb changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is BaseService.create_subscription at line 51), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix Indian card mandate renewals (#7239)\u201D; \u201CAdd UPI Autopay for fixed-INR memberships (#6738)\u201D; \u201CStore the fixed buyer-currency amount for every later-charge product type (#6495)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/purchase/base_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/base_service.rb"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c389ff99d2d2649afd6c7a4aac2e7d0d86a6971856ff1ebd6ca2f8c2ab342d8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/services/save_content_upsells_service.rb: app/services/save_content_upsells_service.rb changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is SaveContentUpsellsService.parse_discount at line 128), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix crash on malformed upsellCard nodes missing attrs (follow-up to #7012) (#7132)\u201D; \u201CFix main: accept ActionController::Parameters in collect_upsell_nodes (#7026)\u201D; \u201CFix nested upsell card ID leaking into duplicated sections (follow-up to #6871) (#7012)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 15:31:44 -04:00\u0027 --until=\u00272026-10-25 15:31:44 -04:00\u0027 --full-history --no-merges -- app/services/save_content_upsells_service.rb\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/save_content_upsells_service.rb"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dfe81198ff36e21f866ba438bcec1c12f123b48b436c6fe25b5df883383d13"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 193 significant file(s) lose their only recent owner: app/services/checkout/buyer_currency_quote.rb, app/services/checkout/buyer_currency_eligibility.rb, app/sidekiq/alert_on_stale_blocks_holding_established_buyers_job.rb, app/controllers/customer_surcharge_controller.rb, app/business/payments/merchant_registration/implementations/stripe/stripe_guardian_manager.rb, app/services/content_moderation/moderate_record_service.rb, app/mailers/customer_mailer.rb, app/services/charge/create_service.rb (\u002B185 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"16a24602c1438d48a6f0442853aa9de380b9ce837aeb85d41dec8551e36a8219"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 21 significant file(s) lose their only recent owner: app/services/onetime/triage_unlinked_stripe_bank_accounts.rb, app/controllers/stripe/setup_intents_controller.rb, app/javascript/components/ApiDocumentation/Endpoints/Workflows.tsx, app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx, app/models/workflow.rb, app/models/product_affiliate.rb, app/services/workflow/save_installments_service.rb, app/services/onetime/pause_indian_card_mandate_renewals.rb (\u002B13 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c3534ae220242ce26b16009447f3694988878030a45dd3c00e702d4dc4b34eed"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 3 significant file(s) lose their only recent owner: app/services/onetime/restore_partial_paypal_dispute_access.rb, app/services/onetime/backfill_inventory_counter_cache.rb, app/services/onetime/restore_stranded_paypal_reversal_balances.rb. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eb95beed0f43e1aeabd36ff481300e93bdc460a62dd8701a249f79743980bc7a"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (219 single-owned of 1209 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1209 of the 4058 production source files in this repository met that bar). They are anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: app/services/onetime/restamp_gumroad_held_presentment_balances.rb."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove once incorrect locator_type raises an error instead of just logging a warning \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/support/aria_extensions.rb"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c5ac7c00d90186a7058b88b30ce4d751f68aa94b82f2455476c3ae97e0b344"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove once incorrect locator_type raises an error instead of just logging a warning \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/support/aria_extensions.rb"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a9909cd7ffbda24be56e3c24d3b4d6088596b67364860977628081d2f53559"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This appears not to work - see the empty header workaround in ProductsTable and MembershipsTable. We should investigate and fix the XPath. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/support/aria_extensions.rb"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"287b824134fac608ae3c80511e6545e5b906876467eb63185a42a390692b55e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This is a display-only issue that we include the full tax amount \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/requests/purchases/product/installment_plan_spec.rb"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"56df6dc94e5588dc6e1763856130f90b7a320f3ddb4524baad34738dabc9b6ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO (sm17p): This is a bug. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/requests/purchases/product/upsell_spec.rb"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"1496985e7f068c3095484fef3a8c2b895507a0aa914b37f2386f6cefb21ae5f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO (shan) Re-enable once server-side sorting properly works for all columns (may need additional tweaks) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/requests/products/collabs_spec.rb"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca1659248d80a97328c9e7eaf909fcc4d5fac9d9b6f4008c00ddc21da8261ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: enable shared context (and remove before block), and investigate failure of specs on Buildkite \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/requests/products/edit/integrations/discord_integrations_spec.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caa825a72cfd2c8ce071e040409437f358e55026f645498aeac2aaf3ca83b74"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(tech debt): Remove the top-level travel_to. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/presenters/creator_home_presenter_spec.rb"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"257928c59077ed342273cee6e8413858e234ff2544dfad04c8854f81deebd913"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: update once marketing role is no longer WIP \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/presenters/settings/team_presenter/member_info/invitation_info_spec.rb"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8338084322f956c662125db306d726740adbdd9e7f71bac30fcd493ffea361"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: update once marketing role is no longer WIP \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/presenters/settings/team_presenter/member_info/membership_info_spec.rb"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d693f32f9a59ddd587d57ab269113db1e8e5868a0beb6b51c257444c83bbdc96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Change one of the integrations to have a different type after newer ones are added \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/modules/integrations_spec.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd458a67161bd3b6fc9dc0d20eb91e66c0c8ce187a8912046fe7e3905be3f54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Change one of the integrations to have a different type after newer ones are added \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/modules/integrations_spec.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca899cfde8125b61c93b563f741e79a469ddadff96dda5a2000b09fb47e667a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME nested objects - can\u0027t format properly because Chrome WebDriver log data does not include properties for this level of nesting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/lib/js_error_reporter_spec.rb"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"36729bbb5cd800ab952024d2017c3ed7df88e2e1509f11e670ba464c10bda93b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO see above \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/lib/js_error_reporter_spec.rb"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf649fd5c8bc194d01d52a7605075c40adbd3d73506c0a01dbb1390837cce23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/lib/js_error_reporter_spec.rb"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcef7adc5e88e87a28ff500f99522ae66f81ad6e3bf9e4e26248bf36bcbc597"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: investigate how to make this work. CommentContext new object from controller doesn\u0027t match the object \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/controllers/comments_controller_spec.rb"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ebbb00b698dfaad9b35379c89978905400e71575ad531e9fdb7366a50dcf76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO :once figured out, add a spec for all other controller actions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/controllers/comments_controller_spec.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e8f0b2963019cdc15c9761b528c69fc4bdd7f6ce1455ceac88cb9687dd7330"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this once we fix the root cause of the stuck jobs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utilities/sidekiq_utility.rb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2467eb6129fbcccd31068d2695e4437aba04d859b6bf282bd7f703bf5e17702c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(helen): remove these columns when confident that tiered pricing data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20200721210221_record_tiered_pricing_migration.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"45630700b144a793aaf29185822e705ff553a377db9eeae2f8f18aff82ac3180"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(helen): remove this column when confident that tiered pricing data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20200830200804_add_base_tier_price_to_prices.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a514748fb69707a3da67cbeb2ae0dfb57dfaca7b0b012980160f7f7ecd5fac2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove this when \u0060suo\u0060 is updated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/boot.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3669212e17f786708e91dc19d5a54233ddf4e4752a8c5308186fdc1a429889"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Keeping both routes for now to support legacy GET requests until all logout links are migrated to DELETE(inertia). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/routes.rb"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31c00de73fc46c5cd39a4ab2944cd77fe734d489d2169241ca3e7f63da5188f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove when \u0060:react_customers_page\u0060 is enabled \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/routes.rb"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e281bddfd01c750baece6c89df92d922af614a43883506011b1e9c6e33cf624"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO (sharang): Change the gem or approach to twitter signup/connection and remove this patch \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/initializers/001_twitter.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e7cf9e20b422b731606b020a621ac8dae1313f511849308150cceca997a303"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO (vishal): Remove this initializer when we start relying on a Rails \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/initializers/mail_encodings.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b476dc186b91ad93de91890751f4237681c3a3b37df01bdf9cc790788ee2d2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove this when rack is updated to v3 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/initializers/mime_types.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad888e50a2d270922cfb2f316a4c328b6af61974d3ba4f3f9b2f7dccdbb1dd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(kyle): Verify that it\u0027s safe to use global ID here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/transcode_video_for_streaming_worker.rb"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d877e4cccb06a9240c3642b55bb4dbedbe7aa6f7774f6f029d6350d8459599c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove the hot-fix and skip validation selectively. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/update_installment_events_count_cache_worker.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"265a05cd98906dba201ae20d0d41b7279394aff8035485a5f6f58653c9d00a4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add \u0022pin-up\u0022 and \u0022AB/DL\u0022. We may have to revisit our approach so we can include non-alphabet characters in the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/adult_keyword_detector.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb9a184bc5ee350a7cbb14867f6dbaddf33a6b3ae80a9d28401f5432af4fb95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(helen): remove after debugging potential offer code vulnerability \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84875259b5da7606a0777806a414172e892cb359d5dda02e7d0939214846640"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Only filter on the frontend once the new checkout experience is rolled out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"101dcf8c76cf2df3bb26d05c6a9d8d15b967058c97574c08d5b6a72ef3e78154"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_integrations_service.rb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c75015e8407d1bd0f393d208cb8589768356baa549b134b2f18bee1e572e5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/variant_category_updater_service.rb"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0f209d009d2ea2b14e9939433c1550b67be0e76a898e82874fcffc85ae384"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/variants_updater_service.rb"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e639d3d9852c5242b7c17800f3f81f137a36009db8269218b932f34837162628"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/variant/prices.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f769a06641d87e71fe1ae7380a1a56056294268ab9e01a833f9a0685b2bcd2a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/base_price/recurrence.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"73eec9cb76b30f71547b755e8396fd2c247002f9a83deb216d5c63bdfd0850ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/base_price/shared.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f098d93207ab60e59682de7b0faf9db3c6b75abc50f1332cff9bfba08ac74a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/base_price/shared.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"204d52348834a9bed934ea8c9ac5619d4ecf40282ea4fa6fb92ace714624bc47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/base_price/shared.rb"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e1ce0a0c6ffacc2ab7a94006d8f12f6259ece3bf919b5f822ebc2509967562"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d361b05c0045b4728b1d4eee05d7f0452b75db873804b16a2fc516f2c7e56af3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/variant.rb"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44d568c3ecf2e36cf98ce43b8083eda868f038a77df03e7501a7f6e76c002d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: :product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/variant.rb"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e00f8601c311be87293af9e40f605b3c1e22231536265ce3182ed2e9091d209"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: product_edit_react cleanup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/variants_updater_service.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96254d79143d6e1fad5c9732323e76f37fa711779c9e16d03e29855ea20f84b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(s3ththompson): Remove subset: false once https://github.com/prawnpdf/prawn/issues/1361 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/pdf_stamping_service/stamp.rb"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfda23408d7acc4dbf4a5c0cae66b43154217fc3d2b556c3b905f1db92988095"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO (ershad): Remove parsing url_parameters from referrer after fixing the root issue. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/order/create_service.rb"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"333c4a6206a7f31bbbfa045955195ad994d6fb95b93f1ceff3ea2b6520a3001f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO can be partial - what happens to shipping? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/payouts/base.rb"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"080ca1fdce8eeb4732aaf55aaf1aca247a9f312ab50b563b26377dd1321b2752"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO can be partial - what happens to shipping? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/payouts/base.rb"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dcab47912c276b68e793c3694f186991d4fd607c7b88ddcfa8932af4e776b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO can be partial - what happens to shipping? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/exports/payouts/base.rb"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bac1048343a0a8e12b349559700659c77d548a1b7d770ecf1379113f0583458"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Update when multiple charges per receipt are supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/presenters/receipt_presenter/payment_info.rb"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbccfca1c9a9e3a1bc60646bea466fc2f0650006a0b186e7ba403e17a8e0427a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(product_edit_react) remove fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/with_product_files.rb"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c53c6d392ba5cf9d24249ba7d2806f7c243c82314628ffc6f5f6a009562577e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack for printful (hackful?) \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/ping_notification.rb"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"388eca97370ca647035170234604837d9b67e9783fee2bf2e2bf48a099a236f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(#5419): Remove this temporary error once buyer-presentment refunds are supported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/purchase/refundable.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d83be5bc2973248f90eefb0cbeb42bfdf170e7ab50ec4c065a184cd043ed99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Clean up data and apply the validation on all actions when possible. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/card_bank_account.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaa55a3246246c0b27a5a34c439eb5a7e51ee8613c73a9f7040fdfc98bff052"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # Stripe\u0027s JO directory resolves the 8-character BIC or its XXX-padded form, not a branch-number suffix. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/jordan_bank_account.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9bdd699a7b0c2099727ad74040bf778f0df6419591f663661ab29df76e0748"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO (vishal): iframe.ly adds \u0022position\u0022 style, which is not allowed by default. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba1ef7d1f46449a4449b09e126a2f0d3b3961f6e47995973dda478358f6a36d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO (product_edit_react) remove duplicate attribute \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/product_file.rb"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ffe666939055d5dfdaf78d7c1f015cdec8cb453d6594cfb46491e33e9cd01f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: since Memberships, \u0060not_recurring_charge\u0060 \u0026 \u0060recurring_charge\u0060 are not an accurate names for what the scopes filter, and they should be renamed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"7536f96bc9735d33c1e152ea466583eec46477cc9ea362ad0154798f72455c73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: don\u0027t check require_shipping; this is really hacky. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":2939}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde3f0df676dab1c201f899ca831689ba28543eaa7996c7b7c7acc9b9ecb59e7"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # hack to get around the \u0060i.send_emails?\u0060 check below \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":3343}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba21326b5607e16a85933c3f9a32eac0bc2335c6f6587b2f77dc41b4372ec30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: (Anish) make ELSEWHERE a virtual country \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/shipping_destination.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4373c352418cca5a76a8645ee0d0c27845bb20561ee72173c4bac69ea311eb4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO (product_edit_react) remove duplicate ID \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/rich_contents.rb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"613dd9a16f6c8ab2b856b5d93ed01a199ec3dc51829d3769a668fb3dfa800f3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Send failure email w/ settlement declined notification. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/purchase/charge_events_handler.rb"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d37cc457c1003137e62e96b840b6cb59aade7d43a19893289314d8b6a2fcad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove support for non-array argument when product edit page is migrated to React \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/product/tags.rb"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad7e8da873853c0568d2caf8207067e980e5639d7bdb3707bbc131b6ae41e36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5281): visible price is buyer-local but schema.org microdata stays set-currency \u2014 revisit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/currency.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d09d968ad04c5fa7c7acae2db02bc5a538a2d5d447d53d2b558bf5b1d30833"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Pass item.url_parameters (Record\u003Cstring, string\u003E) here after new checkout experience is rolled out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4e8e3ade00af13d9d078374fdfa6d68c780591ef1ab8d41d17f667dc9bb2e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider an error type for this instead? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/braintree_payment_method_data.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8523a2a91dd8957caa0670553f5d852c0339ba02fb020fc1cd16524f4f97a10d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: overloads will not properly type the cases where an argument is a union \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/payment_method_result.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f094264ac0833b5bddd2c45bde273a9ee3ce91f027ee0826c1b1ca4157b072"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: see above \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/payment_method_result.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f39f8e53e412983c01ebf060049ff4ffbac95e56e705ad4d04df06d96016ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this once we have a better content uploader \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_edit.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ca4603001677a66bc9ea5ea850d768a02a23c860364930e770158ae4293660"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use a better library than react-sortablejs that can solve this more cleanly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditPage.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"266a8c2a2f1371c9a5a68d876f24e573daa307a8d4782585b977b1b3c78a27a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: clean up this legacy file state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/state.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cf27217837851c1eab80b60c599edfd97d3a948445c7568f45baa2adbc1c09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO change the relevant endpoint(s) to allow uploading multiple files at once \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CoverEditor.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e96ce57651710c9c2a8f2c6af6f6e8bcbbdf697781eb0b3b88b613f31ec7118"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack for use in E2E tests \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9f083c5eb6a98e9f16bfd04be1bf41c44b1d4346ab51b9af1ed7ca9adba469"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO inline this once all the crazy providers are gone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72ab59cd1a75a3670fb364c599b34238856e18eb23041198a3e84faffe06d79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO replace this with a free-form input \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CtaButton.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cff83459c34dae54783470ebd8167f9ba337bfb2f80b79851ae1da03532baa9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (techdebt): Replace lodash \u0060groupBy\u0060 with https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/groupBy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8c8a7b57ace2a5d83212dbb29012e05e1bb3741caf24a63c8a54e92fd585b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (sm17p) Replace with Inertia\u0027s router.replace once subscription manager page is migrated to Inertia \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":2079}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbafda6960582ab7b328c6b613b691a40adfaa70b91c9a722f138115eb1b1ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO only do this for a logged-in user \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/Receipt.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b1766802ea86dead1b0763d36f2c65a5a9c5907f9fe9cf2da67ae432f78269"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO clean this up \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb6af61507f17279f0ed68692ee6d6ce43524dd3d24095bf54dda366e1a6f58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Refactor subdomain check. Use Subdomain module if possible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/validate_recaptcha.rb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3b08a85fd6002d9c2654bb7f613f86a6dcfb178afccca301a3715de6374d4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO we should return status code 404 Not Found when object is not found and 422 Unprocessable Entity when it\u0027s unable to be modified. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/base_controller.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaad784970daff9fcccd11dd8cdc8379f2ca27393b20053488d79920e7cd6dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Make methods from this point onwards private \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"845bd46fbee5882a2e2741214cc1da776b1152e85361c751bd33622dc176eecf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO replace \u0060bank_account\u0060 with \u0060external_account\u0060 (https://stripe.com/docs/upgrades#2015-10-01)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":2960}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84a2342906f0c800526d2f1d275586cf227e25a713189b2f0bc657ac059316d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO:: Remove the \u0060|| payment_intent.charges.first\u0026.id\u0060 part below \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_intent.rb"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"01514a552a2d66c38e9d4160950b02c2f43604d9e47fca486212afb81cf0d1c2"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (323236 LoC, 4327 module-visible types across 374 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"4f80d7c78eecb0d8b5f429812e5b4558482402952e151bc28b6ec65f9ec1089e"},"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":"3b711d64068894c931ce65b2f8ac7cdea2f9d297c5e87355d25083a904204b88"},"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":"e617293038d90fca7ee84138f03dabcee5ee6fa232d3bb0e3a19b00c5747ba8e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3ae3374768a4ac6877454632b0a9482eca92da3fdfd52c2620ac03c02a1351f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"caa76f3ae01345ea614fb1f310acc6cdcdc7aa53aa84dcba450fc188428f87f3"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"2aede786bb85c3de2ac633a4680f1ef7ee438f173c4950f494c2c3938f7ecbcb"},"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":"aaf92807e600bed11b7fcf870e5a2a9450a6ad4f29321bdd3d0095e9d4b7d48a"},"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":"7bb69ff401d54e5742d43dfba7f1fce748de92892e0a6e1b6421db4796f88044"},"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":"b36d189d4a75db124f91e2b06cdd388d5d755ad97490f0a0f89b77c9aa514705"},"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":"e409f708684b5f84c7121ce28f08a294f675562c83952dcd52c53fc1833b1676"},"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":"36e376d57d7f494fe1234d1447fe70f7ff6768c7e996ea2ee1b7be1de6105d48"},"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":"7d0c1211a4d46a1b14d463faba9e9819e7190a6ec7a367d945529033c9d707dc"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcaa5f7bf3f3e2f6a18501d4231d9a0ffeaf2be4058b0b2448a7203c6bed8974"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85c1e69bfd407b6e14a13a13a3ea3f809a28ddd546db94b3ed700071d1b70340"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"427fdeffbded1047db6ecea7022c0c6c8d6ee49a9b5116412660c2cb1988fe9e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"423f47c9d0c6570b233e9e14ad3a8a84ac093909cc178f0c8a1005a99c8d9ba1"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43cb0d5aee28111d659bb4d3625e5b9f7e6a0a7589dd40a0b6d967138d68e701"},"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":"f33637cee03d6fe27cba3bb57e8489101793f5aa488eed181bfea5ee5f91d434"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b43220708e2c3e2e1687a2b0f5ab5110bffc0c02fe4754c55fd12fe246bfeea3"},"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":"4bc2bbe4acab8fe77cc18f4ce5d4d0c4fd58f5bb4c67cb0425f63801710b7a7d"},"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":"5a4ec23bf3b8ccde13c8b8427b37d5d9697234e955eeb7b3936c216ab52fa803"},"taxa":[{"id":"CWE-250","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":"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":"2d2642ab8ae604f03d6fa73227798c0dc032c8ab6138c1e01dd7cd0075fe1455"},"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":"c5b8129e3325d37fce3d8238cac78bd835405b16fc68d01132b65638e6ce4f4e"},"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":"42c9a10f236356a6965675f25d971d14c007138351ffe4b0a3925d372caf6864"},"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":"c1f39fca462a3f00f0f550ce8befd1028b4e296c2f7a15804591fab15d1e0a7b"},"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":"c6d024098dab74eca514c672507e4bea0545d01611116df95da3bc54d6ad7f84"},"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":"209231cda965e12e683ba17d01fe7913b399897c44ed764c848644428f3267ae"},"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":"0c05f92fa6ea126cce9b28d3bd3b05ea76162ebcc2f02b46ce3c06bca27297b5"},"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":"106ac4be70ee8424f0f0ca70525ce6354dc726ef2d8753845daae25f1868e79a"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d20f7026d96dff87c0a5ec8a5880d244c1ff97e25de946511a7f44e3751b656"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c71bc63859c427b5f68580967c02c400ab4e29e08e06757c03d03a3a6ea4ae32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e784132abb3776239260d35fedeab4899cb95301ddd76843216ad93106fdaa0c"},"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":"cad9b8550170bdf220c5c02faf53ec4300e16232218479ca60d5d9f1eed8dd8a"},"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":"93c9a2e4cc48eac510042fe1907fa0e0360a52286f878347eda4fecdb328e972"},"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":"22c10c6fcf8cd98c6f1b8cb8425fe0f5ba8c2c3aa4df3da62784d1e1197c104e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29b52813d437f1517227b445585db55709d6308d0c5c4c74395d5729b1b8f361"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"314f0061d2d00504b890b52803145f9510f5914b7d633bcae5eaf39aeb10380a"},"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":"1ef89bd97c3c355cf8d42031d0db0d23947ab62ebbdd411ee92766a5d25c309a"},"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":"253b0303194b87421f47d2902e5e8328d645602727e9d0233aca4757fe595e0b"},"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":"93b442d2c5e2ef662ca836b25d1395818feef2bd77d8c933514a4580abccfc4f"},"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":"0bf59902786bf0f66e33f516e4482d5f62ce44c7bbf285c05eda1ee8363afe64"},"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":"9de9a12adbf626173ae99afa3ddc776e06c5ad4d86c2c3621becc2eca5173da9"},"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":"796f3b58dca2856d6bba55147b2feb6de7f4377b5ba18bca5ba05259b5753ac7"},"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":"5991554ab2ae8123afc0efac1c9b1ee86f410c52b2f237783d897bbb6e821312"},"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":"58e10e5c7638d02a045d4c1372cc6b882b1090eda84cf6e95159885638a6c526"},"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":"0be3821250aca253e46ae7e203cc6899ddbdc72326ad0fa8d0dca2a872070da0"},"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":"69823029bfc80f866b67362b7bc2d8b03e8d6ad53c850fd60394521a0b5bca6f"},"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":"483a792fde9f5bc62ea8e05395519ff168c8b36ce22a0f9c87ca5ca18db45982"},"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":"90b1b91d1273a4e57835f2003b7aeed05aca941d27c10296e659d14fe0dbd7aa"},"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":"1be49da9b57ac7d69bac6f82ee47cfabbfbc2712af98a45d2bdba87f9c0cc3f2"},"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":"1c0df4c71899266cd939df462601017f7dc10dbed552bed4f9e433119525ca98"},"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":"6c79b4121ea9fa39776663b01971e7a68f1962ac5217ab53033e035029796804"},"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":"7d83de13a339882257383a83bef81e84655333212fec266f745dc90d759b3cda"},"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":"5fb42601f8ae93ff55ff9ea4432a5a7863ebdbf42ec00373a0fc6d32bb416400"},"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":"ee9c4e3f3d2f204763170f278d77b9b132181bf250a1138c33d6327c053ab627"},"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":"6cbd9db2cae1989610b65353c9f259b9e0c8bb2552dc4a93ba5a3fdd2663ceaa"},"taxa":[{"id":"CWE-250","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":"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":"fd9676fc14853b5e6c8eef130b327fb7052675c5adeadd10e7b0c16dfcf80f02"},"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":"2e8b2ee4cec65e6fc31be318239b740ae052470506b758ebfa768678d8e6d478"},"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":"570b3fc64715636cf0117a81af78a6571561cce27fe91c61fe272b83b22c21f1"},"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":"e1a489b3667e19821e1db7e34a12530cb01a867d7102a2eb571ace43abf56cab"},"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":"0c9b7062ff2570529693c7a6c6b3652920b327bf1ddb4553a1781d2ac0dedca7"},"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":"c6d8390606dceef0b125bb9ae519410a2b2c983f67beca382d16fa86fd5aa6ab"},"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":"7e17891639ed0dece1dd32413ca6142cbff58c3009d22660c3d243e1edfa8d46"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"768a0853edd094e28bdf5e6c90e260dcb722823571841fc7573f6321b5311c75"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f4a2785b8f6c67ee93da51d1e2b854a1042d5d94c6188c648a8dfec60e44e06"},"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":"b1f8fa73101ada0738e4eebb9505aaa7908e241baf808c482ae64f6518337736"},"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":"ae7546c31a94d25a8c30a0a9c2734ee86a029884fd5255f2ce212df3a124d6c0"},"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":"0208def9ef10092bc7094592757d3bcd19eaa12b886d4c08eddc2b1895c7293f"},"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":"c98b9b97919003d5f61034eb9b717e6ea89253211b430c2cfcf2ec6aef2c8ab9"},"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":"537552cb5c329dab347cf63f7ca2af5f2c615b7c39409318dd78f1a48012e983"},"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":"174dc33b2591d6096fc9e8fd0d35256541ca48c1415cd8bcb31bb15d1e3a2b49"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5dcc042ae3f0460e946df8eb0e3a760c7827d6f849e7cfaf4952e51bc7227787"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0602c45b13756151231d50c9c7d0d50000f0ded50a7ddd60c84b5b97cfe1582"},"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":"502de94179e77b6f6f38767580a91334739c09fd0f794646a0556c2094103d6a"},"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":"bb1b9214288e49708d4fcecf1bc47f713cdc19f70c7fcb29e92bdfcf384aabb3"},"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":"c81c69d43d5b0f55e65988068e363f7d536755bf5f32c4194fa8f8785161bb0b"},"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":"691d05fd70abfe76eab643e2f0010f4e09721d5417b2fb8f1a5c00a788a3836f"},"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":"d75282f57064640f84bf822c35a591f9cb86ab6f53d8a689d1cc7e087798310e"},"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":"45a7a3c296d604d089618ecc3c420a6686670e223d2fb39fcf9d29e5da0b6980"},"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":"e9355107352d191869e021cdc25873a09f179ed5cf68abe0b4f7417a525371e3"},"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":"a064487a051e6e65048327c180326f5e316a0c57faf50afc3e5a0b8e3bec933c"},"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":"bdc59ea3755f716cc21cd2871baf7097c0ae20772229f66b8b6508b4fb290e0b"},"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":"b98cbb8f083f720b982911a0578b63b23762e12929c81ab96af22d37fcc4642a"},"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":"eb897d0b00f3a12f39a9b4fbcf237ae378717dc508a30b1bf3888d7d05decd96"},"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":"59035cef01e34528fd23eebd584621ee3fe9a6bca96bc2070f51d7e08e4d57a7"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bfeaf055de9391963712d25a64fc4f3a263a06bb939c8a100c2d9036486ee40"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72f028c9a9d42aebedb2f1b830de224ebfd41bfd08f85c9c1051d7157c136261"},"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":"0c6f5f3ac8a78f72ffa1f96d4bd08644333af1edc49b4d9916ee2cb280b61d61"},"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":"a2d33994a321142472558aa6ea05691942e7d8cc5437f69c33897c0aaeb5550b"},"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":"d7ff9aab81ff782b58db74588cff925b5b7e392c376cf5b0daf340afc7f332a6"},"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":"c3e24534085ed87ce1423fb5b2c749e17f719d3abe8d0590e70dffefc9ca0369"},"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":"bd140882450a27e34c8e2bdb82f65211b9c6dde1318e9d8771a32de5cf5b89b6"},"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":"82e8d70e9c46b63227497eabf9d8a2a2c3681dffe84b5cd8c69efeb3f1a15743"},"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":"1c0167198b31cb058c96d042b79b3286187c742ae65886c81ee16052b5d960cc"},"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":"47241c09583ef78d4dd8a9f364ea88e3316d6570cf3f0ddd143bfb38c82587ba"},"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":"6032b015b986ddfde43f4dbe5a00e58aeebce003f56c9415001b338d2f2c04f2"},"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":"0275f1031b32ee219e4f1ca3fde314f785548df6077a27f503fdb91c5b69cfa9"},"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":"27609cc127202b9de5e33ec33a55aad55d2d7737d3d05db75240eba6b4bd1d7d"},"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":"3508275260247b26b552126ff17049b809fd8001cf25632a4a46b95fefdf6d15"},"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":"f044b0a98b85336b3df144a45374c8289d7d1c2baad87de7631c1e6c8a4d632d"},"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":"69d0356b3a17bab6e9e54a1843f825a2fbb1cc172b8b7667453defbc4f7ef189"},"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":"8ec3503e480386cd9c25c59019995d77307ca763530581b6eab2abeff611128c"},"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":"31ad7348ccbc517f798699baac35b7b7a49ef9088e10ef7674a6638ee3e3be74"},"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":"4e82d7f83729c90da8a7fed5f417f8e5f5011a0a919625f18b221440d9f840f1"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f8ebb5a96fbb577f51e63a5b5c82f3a4304a00579757870579281f1785b1715"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67ab6f0e3e0d285166e04fc2744df155f3cd84124e966630232999cd54d718d3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a035dacf7d1c4d21c33c0d1bfd6a93dbc95c7af93d0bb187c0ed05f9a3c6f6f9"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8af93b54d7b6d09176d9c9016e65470b9e3497c2e30cd6af0b8b0a89230292a4"},"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":"d90e24eab2df697edf521774992a6a57a94283d81d8e1b43c6fe1e945fcc1c44"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a430786fc2ab573209222526153c64a865cc8de03861bdb71893c0752a6654ef"},"taxa":[{"id":"CWE-639","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":"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":"ac5753e110ae32aecde64a9e9b852e1a8aece7471a8ccd964189ddb357b870d6"},"taxa":[{"id":"CWE-639","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":"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":"11d4eb29399e46b3573ed20461713f564d8d7026a185e851745cabc133a611a5"},"taxa":[{"id":"CWE-328","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":"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":"c5d3cf5540d6604fa60b2e7ea0841ed23ae191418c7a1903163aae02d06e4013"},"taxa":[{"id":"CWE-639","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":"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":"576087de8e791b57aae5da8575eb185176770902257cec4be250b26c48ae476f"},"taxa":[{"id":"CWE-639","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":"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":"d781948bac8c0598f184aa33374b7d7b071df417b25439a8380741bcecb26777"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"363e05898842e8ecfe5bfb9b7972321674534bfa70d22862b13781db2e9a7fae"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"448c5a85674325401408e60f6605c65e94d3795148d402412d89bf3b5dcc390b"},"taxa":[{"id":"CWE-22","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":"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":"e1d7bee0076fc4ae405fcaad9282e1859a2d6950eab6bdc1e71511132d30ce9a"},"taxa":[{"id":"CWE-639","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":"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":"9d9c3c1f0a111a18e37cf4287415d5d9fa70348c908c17cc5dee3f177ae97df5"},"taxa":[{"id":"CWE-328","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":"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":"bc2109148115bb1a9b263a81150552c83579c4f6b7337ce35e84f42f77af1e5d"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5c534534ab57256896a6837017c6b363a00519885cd02521041bac66ad3ccde7"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a4f5761af081749b8cf7c236e5b2837aba96a73db4aa88bc047cd5163603778e"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a4e5a7610c9f0db1b5ecdffe4b9ac6cbb18d722b9b02ca0b7e2fdaf710d2a7c8"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"40c6ecf0cef7a0fa644d6f8c043b01cd576f312760c20495478195545b2af759"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2a8102ef7f2a41a25aae68072ed773644cfd05bbc0ada7ce0cba22ca57dc61b2"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"b94383eb678bc03efa3971cc0605c49ab04e56b95b779cd80f23fdf5e5c6e8c9"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"da5b4be6f51705f6b1bc452b3dbc83c7898cb4c1acafa264d26455e0a52de1d0"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"921cf33929bf9cce9652511fd1aa80eef0b7e2106742b05ee8e021665e971e38"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f8b7eb60e8b2caa710427b20b94ead8b751dc8996c74435adff110ed022be5a7"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d59573c8817533e25ec2ad6a34ca0bfa4409e76b61f0b415a79338da45f1b1f6"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"63f04f7c29aab8af5318ddd209bd83a8579805eb798855bd9f2d8b214d3540d8"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"27cab16276c274fc47f74155990b1a9c363eb3d0f829884483fddb9dcf765ffe"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"96d270b7ea6393d10b289cd1a7d3b625703524e2c99a85e2ebf6b31960042097"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"63381300f781722833beedca1d56fde6be85217a4aacfdea8a24af8889f36258"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9c8821c57a3d6f84401e6135416493d38091a8d93f6b2d1f008781937476889e"},"taxa":[{"id":"CWE-639","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":"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":"a5c8691e59b194480efe42a73b29c662162f5eab5f194c6c4177a3684a953170"},"taxa":[{"id":"CWE-328","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":"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":"b60dd05e63746120489d0e3e004e551b8cc6efc311de577a6c1fbc72e4d56607"},"taxa":[{"id":"CWE-639","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":"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":"93f555e0e46064bc3cf7b48ad7b412425744bbf05869ee446794099983cc9242"},"taxa":[{"id":"CWE-639","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":"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":"5ce16f9e046f747a314aa5b80c55c172410be8ec222623d5310fb2581be746c2"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59c209c193d2c40941662c9b7a106f56e3a85a4cb788693df1b82aa5490c6009"},"taxa":[{"id":"CWE-639","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":"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":"6ad1dc1429ac0eb9904f74f864c29eeb6d7d2eb800f501af7175e53095817348"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20bd40885d7942c4dc5d3ee61f83c482fd508374d1eb2579c65f340b6634fe05"},"taxa":[{"id":"CWE-328","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":"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":"cdcc88b29ecb3cadd92776de288a9c66bcd65521412ee56bd363e66adca56fe0"},"taxa":[{"id":"CWE-328","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":"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":"d83e2a06563e4f7c6bac5f65a328ae370cdd0aaf9dde8af7c90ea352fcce832b"},"taxa":[{"id":"CWE-328","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":"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":"06172d86eb61e8f6fb092931a31da91f1b8503959cd441f76b05dcdbb7db7d6a"},"taxa":[{"id":"CWE-328","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":"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":"c353a4ccb79c77ff4bdb73039ec6d0815ad8010d4311fedfe6664d2330127a63"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"21db36e4e162bffceaabe9b215b4380b93724b321a73c17a3bd77e20c10d4824"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"caccb341b1e6f1a3b98a37bdc5277596d41b47802deeb1aed2b7c5ed4f4fede8"},"taxa":[{"id":"CWE-328","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":"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":"f80adb97359ab0cbaa044ac05e38ac6bcc86919055c89216bc2155a5334bc966"},"taxa":[{"id":"CWE-328","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":"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":"e8859328a3947d8bc9dcdead5c64d1654f9019c7ed4c61c2285117094d1576ec"},"taxa":[{"id":"CWE-639","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":"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":"1802f968aa41a1a83580e5e8b86990a86b9d2b510a3b8df07df9b336cba07b80"},"taxa":[{"id":"CWE-328","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":"30f08fa2ca4992fe39d90830c9cb02a32d450a828a5794625e9e8b1bda33c93e"},"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":"7a937d3ecda3e31503043836289359a50542d5151b7cbe7b85df7f6de2efd853"},"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":"d99ebbfe5024fac2bc99f574ea1586796584861f15601af2a919f8c0f038b33a"},"taxa":[{"id":"CWE-915","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":"78fdd23ba68ac9edff480dbf1acd86ae0982093d8017342d0c378fb6f8667f02"},"taxa":[{"id":"CWE-915","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":"a08e822a1d0a217c147dc3796da78abc48fdf573042a7d3380821ec250d0c802"},"taxa":[{"id":"CWE-73","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e59a9e8e6aa4c2df62f68fc8346714d1b600c82a7753652b4b57ca2c790f91d"},"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":"2a9390a0e96b54e45992cbb378fd1cfdd8ea5dff584708e66d05683dc3df4772"},"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":"d7a1541854efebb1a94ae7db1376f364523d0e3b6c5f88bdbc9c153a01b4d3dd"},"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":"8127925249fcb2583211836ccf3d383760144ad31b15001dcbebdd558dd7f302"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"512362daf9fdca3d2b33100ac16fce6a75d5897d8bd055aeb52206f44ff6584d"},"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":"eeb5dad64a7f1720b7c2fe64e642df96eae70f24ad2edd938b55b048b96fc73e"},"taxa":[{"id":"CWE-915","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":"cd21afd871ba3994e0eb23b23be5c1c59a2212f240618d904c11e2db8231906a"},"taxa":[{"id":"CWE-915","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":"109b9b03dcb4ec7b1d94bfa779c93cf23194358346bde4379416cbc51b167b88"},"taxa":[{"id":"CWE-915","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":"bce9e2971312081022dd568ece79ce6e7eb4bc5e874851118a24224cd782bd57"},"taxa":[{"id":"CWE-915","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":"6148c421eb14e559df80edc38738ce365ff91b517efa25852d3c141d1269c833"},"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":"fd4288a32319bbc4c3fea4a43b8634ce46fbb9f698803cb81f28722d4a39de5e"},"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":"79f0ff746f509b5771796f57ff3d89fe02b7d2b0a8e4fbfdc4e35ca6f1fc7a70"},"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":"2c9c22fd96a651322001193d515233f996a0d2a791af0bb8317f486945ad92d9"},"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":"ac64e7cfff5e0ca83d5bbf3cb8ac643bbfcab1dcdc44dca3cf9cbbf0ea72c7ab"},"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":"2c79488d3ca9bb6ed3a1e0ae69b3fb6f5768208a56ede690a42a398191dfdb27"},"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":"ac432dfe670adf81deddecd96bfac9e322f9a0f830369951610cf6b5c9bf5f4a"},"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":"f970c039e5bff005aa7da7235d09e9c8aadb90be513b2d6749c771e484660ed6"},"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":"717079f65c8b050b608a8a19efd1d6a6ad8129a9ee148e1f735f1c0a265fb922"},"taxa":[{"id":"CWE-73","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d5d49ed837dd1437dd332ea6eeabd635af0bb504b7f351ed384d1f77ecb5954"},"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":"a8cc9e7fd981f42691f353ee423f74f18ceb6c58a8fec304dfb1dc6d676c48b6"},"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":"176cb34d6c425506dd4ca9e3255689e58342ac558c0419aafa59421679795bd2"},"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":"09525dabab8f24453382ac635843bb91dbe757a5abdf382670d82d75ea944b27"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"e649fea403c05097d77287bb73ebe7bd6f6646c7e60b4b03097d8d4dafd6d40e"},"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":"f10d0597da45441acff3940a7f6efd7c3590b80286c45b60e3937fd2b9404a12"},"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":"45793e579fb36ba1c181cd4fc0c75608d3de21c4099a996bf3de13de8ededcdb"},"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":"6f2a9a00ad9d6f9641868ba3f7fe6c805940e3a030b82b3bc05c6a0a41ee943e"},"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":"ec61d6b7b8c7980b833e4fc47c64ba3a029ced0481b94694b22b32ab97c5274f"},"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":"c8c05a1663c58e2506d7869e907eab69d5da06063e80916003103774e77ff8a2"},"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":"548128cd88062f134da338c5cf52fcce50877ae72eabf178b7ccb6c7a1f42d15"},"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":"93e0329b4316820b7d7a7fa8efcf8f9b58142bc46c9842d16262275d15d1ea4a"},"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":"0fc4b8a0c48b341ccc91285d6e2cfe5b2a89fb3836756f6fd4cb6eaf43bcc5c0"},"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":"729874d17a1e0eef3f6cd6a259a1b9612c0e880ba952293bd6a04dff05bfacd4"},"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":"8230fe60bfb7dffc04a24a6cfd0c7b77359275b35e807d1065d06542b7bf1cb4"},"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":"97cd1402c3977efcd8e7509199f48556b83e4ecab70440a469982fa8b60fa77f"},"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":"2b189c4da0b1221db4e01f24e91b7be3141bb16e7a79f00b043d4461feb5438e"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"dec1666f8208df32fba8ae9d7d45bdf6e1b91f6d88e195f27f6caf964f0462a0"},"taxa":[{"id":"CWE-328","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":"f6aca6d136d10a1653d7be70ff27e6aa4eac2d977d101b34144bda0dec6f46e4"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"773ffe67d7ada17597c6f138e4d98daede56cd612a9e6add9406fca3a68248ff"},"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":"1b916b798de922d1c81ba0417ec547b484a760e0f7ad6bebb2775cd9b6425a3f"},"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":"e94b2b4eac163876c05093ae5ffc8e95f84bd71b3bdef067d59bac690b9ea54c"},"taxa":[{"id":"CWE-345","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":"2dd1c402be30f30f37519d63ee38f40cdad3594eb63d343dafe7704fba76b839"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df46e0ca6b18f2de1afcced3356afde189c2f049537435eb8c77423e65cf8088"},"taxa":[{"id":"CWE-345","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":"5f879767a0dbf78bc0b085105a9b187c808a2ff09a7521c1876b65efa9068c55"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc67beba9ec301862037aa88617b129f5b9435cc26a1ab963ee5293aebc110ec"},"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":"fd561e5c804ab5b1287fcb7a8b163e2779c3b64013e57287f426ff8f6a5decc7"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4deb6dee1b069d82c88791157bf68a67ec9205fd6586662bdd44921c67a97fcd"},"taxa":[{"id":"CWE-345","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":"a0ae2c5063aa07e529fa4e0b9607122b95f9716f1b18b438b013a34226e1007a"},"taxa":[{"id":"CWE-345","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":"614381748a46215ebc79189802e5f13dc0d580e7c73f4732aaa016206ae14c4f"},"taxa":[{"id":"CWE-345","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":"43edb3635dd41458680df1310e2a8c5eea74d037277299a6c6a33d363c12dbbc"},"taxa":[{"id":"CWE-345","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":"24886188cc4b7cd981a69ce814b40f23c638c5e5359585c47e306565b10816d4"},"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":"7a2932a0451e3d6a4fc0ff9f99427f4e5785b28a32ac4e13bbebf93f31f1f3e9"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c21481578ee3a306f499cd898254d36070eb1ba84f5eabdf012cddc3a8c0c34"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34bc1f8be8bd412c67a2b8dbc3580a0fa8561a77ea9ec8ccc3ab13a7ec920584"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"512331de1bdd0db1d9ffafae21726417fd4891a1b966281e9d57c6946c67b5e4"},"taxa":[{"id":"CWE-185","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"c5f86375ace0d4aa7c5222021bc26ac5f881e5aff8c213f794692c5fd028fb1a"},"taxa":[{"id":"CWE-328","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":"b05653f172a507cb0559ca2ae67ba2526e2ad7b9a5746c56b728bb88ff94e332"},"taxa":[{"id":"CWE-328","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":"020374d0148efb6c3ca79e42593e17d7fe43042fbe4479f4ef974f72ad535be7"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"4aa34230a0a3e54728cea8c521df4d939b013c9135f4a5397d6b9e27d0ec23e1"},"taxa":[{"id":"CWE-328","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":"99eeaf6a2a3d9d6e4e153482dafa59d56bc335192d064ea7e656f8fd396af415"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"b56f78f04c9d1a2d738bb53012ae61530928800f677c649c0fefe7487d60ac63"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"4338f4ce3458168110f89b247046406fbc16f327bac32ab49ec277fa72f29501"},"taxa":[{"id":"CWE-328","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":"1baf8683230a8e4516ad8bc0e3036aaf1c4412cbdfe886b001119491aafd2b11"},"taxa":[{"id":"CWE-200","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":"b5b9371100fe927d54ff31b6894b0372428d9611eaf03722562bb8afd294bc14"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"b8506b7d0741f976032d8b6740dc53d5722343e1e48ee546a85af392a96233c5"},"taxa":[{"id":"CWE-328","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":"2dcda5f79cd783c4be52eead871f44c585e6fa37a4b3e8463279b805572518d1"},"taxa":[{"id":"CWE-390","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-755","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":"ef8c65356bd168e8499b735677831c86c995ff370de469e63058b071ad7fddc9"},"taxa":[{"id":"CWE-441","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":"8a69b5b0254eb55b7ed8ef42ea4be0bcd64e3fa1cd59c1d141f436fa88dca8cd"},"taxa":[{"id":"CWE-441","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":"c9f4ad9a41fe964344334580f90b7bc3f7b5b8c70da16e9a681f342cfd693803"},"taxa":[{"id":"CWE-441","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":"6f0958b3a18faf6c4dfbbeddc1017dd5de2ecadbc74468568de63e6dd021e602"},"taxa":[{"id":"CWE-200","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":"e03972e202b796e6e805064905662305a3734b3ff1a6cdc4669839cfcdd935cd"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"686f0bbc60d0c2b68c4fcf4b263c3e73568a052f76920665020843a32c25764d"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f50d90c3f1b8b418e13c44b851736e36f415dbd9ecd97b4da5e96458b77fe3c5"},"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":"1f01467ec0f249aa3c285fe8fdfd0f24327a236a184a73ce0858006ed87f9f3f"},"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":"761d627234fdfe3d0f3fa7d700c61ed90ad86d68f8fcb322a07fc14371ca1c00"},"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":"f8518e04832c13ac0f9ba9c7ee06de1c56e08c0f04408dd1c202999adbfa40c1"},"taxa":[{"id":"CWE-328","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":"e40e964ad7cc24175d5cce9f96b8c79618853b6917ddd7c04ad912585bd84062"},"taxa":[{"id":"CWE-328","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":"9c196d3ac89b044ddac243a7547bd812fc12348ff941dba07efe4cee0986f99a"},"taxa":[{"id":"CWE-328","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":"3c8817ae3960a84f72e855bc512ebb6b68d5a8bd602b1a2958ee140a7f825e11"},"taxa":[{"id":"CWE-200","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":"4c1efecd13d269e12ead503ea716038bc2b7b8bae5d58a9955d8ab049efc9707"},"taxa":[{"id":"CWE-200","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":"fa4bfbeb9950dd23928cff278b16f84bb94693a3dee39f2e4f141b4f9ae9cef5"},"taxa":[{"id":"CWE-200","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":"02ad723d4c35906952b444b75490670361104aa20f3ad3cbc5a3a1c75c614345"},"taxa":[{"id":"CWE-328","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":"ab35f2fc92e9742187056fb8c7df4e21ed1b8a9d8fb0268aa986caadbc68d5ee"},"taxa":[{"id":"CWE-328","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":"bd3a3ab1115d7d8d9ee65c5dcc9e371bbcc5850c4628e9b304b955448fa34091"},"taxa":[{"id":"CWE-328","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":"e2a4bfd17b38b29b699030af5f7c343f9e580a566b82117ee005568d20efaf68"},"taxa":[{"id":"CWE-328","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":"e1589fed5ddba37a4992649a538a1315d685253cfcec08848be396d6064c5854"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"507405cdbca4ca6e5d6419e8143e640d85c3430ed48917e528ba0198d68c98d2"},"taxa":[{"id":"CWE-328","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":"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":"3cf356b1cba860b66ea482ac657f7a62b8136d3f6abe39d097d0c8ff17252848"},"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":"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":"ac52d96c36ddbf205e9bf3bdb8dd493aa7a483f0f8ef61c11e9341bed5ae8177"},"taxa":[{"id":"CWE-16","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":"99782d2cbf5deede56679d0678b239827f140027fd023cd5a2d7cb02d89289a3"},"taxa":[{"id":"CWE-16","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":"9dd246210799b3db8852e1d69dc61dc305c09bf6dd4630ba22839aa9fb139e31"},"taxa":[{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4723e55d1b17594d2da7e4c2848f431d65ab621c981bd36c9147dea792f690f4"},"properties":{"dependency":{"package":"tar","version":"7.5.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8338445eaab0cc9cf2e017980508d413da08ad7d57267243d8a4bce515a0b004"},"properties":{"dependency":{"package":"dompurify","version":"3.4.16","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"app/javascript/utils/sanitize.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"613923f6ebd87b28a6600e63acaff5a66cafc80dbe47d88852569660f0913e4e"},"properties":{"dependency":{"package":"tar","version":"6.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"981e3b2e8324baab03e42bca8762742661bb58de233f513306a88f21568edb24"},"properties":{"dependency":{"package":"puma","version":"6.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16e0a9f8a96f33a3a4bc5d6b2ad8e8b87107a8d4f12df2e0119d16975aeaaed7"},"properties":{"dependency":{"package":"websocket-driver","version":"0.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdd0a7ecc16332535f869a4c0d6fabd5d6770567695cd122fe55c8e4fc586bae"},"properties":{"dependency":{"package":"rubyzip","version":"2.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c81f7ea705b886d4983d3b725ff6eee175f7eb950b1eb4950da6bbb59bbf3af9"},"properties":{"dependency":{"package":"crass","version":"1.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e842a8521a9d898666a1d5a419a43a27e416322915c05bcbc38ca2d85f70dcd"},"properties":{"dependency":{"package":"faraday","version":"1.10.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d72e151a8b15a40c54beb49901b408de986c58b9af79386e87ee579df6c6a3c"},"properties":{"dependency":{"package":"css_parser","version":"1.22.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2671d2dc5243d2844e58ece392cfd92899b5067cc5e636d13daa8bfc4cef5229"},"properties":{"dependency":{"package":"jwt","version":"2.8.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"833a7185174858706a151949e08a56b5367b07ea17a6c5b8941f64f85991be16"},"properties":{"dependency":{"package":"concurrent-ruby","version":"1.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b29c96db81bfcfba55452c1add1e550a074fd4e813bc9f35bc806fc64214396"},"properties":{"dependency":{"package":"httparty","version":"0.22.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6a4976e16596ea9bdc6eb7c3e5c192c882e3decfdddc3eed800d0f51839bf28"},"properties":{"dependency":{"package":"oauth2","version":"2.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7440ae24c9d018910b3c2232e971c564183d9f9e284ec71840131ff5a1861a51"},"properties":{"dependency":{"package":"oauth","version":"1.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e09fed0e38e2bc52024cd0d65bcffa57fef97181f8ca4cf65aef4931c4e653e7"},"properties":{"dependency":{"package":"erb","version":"6.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"634aeaccf596e1c3d28a8c7f5f070de2efe3256aa6d7bbeb3a188d8284fab039"},"properties":{"dependency":{"package":"@remix-run/router","version":"1.19.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67614d179d80b5d390ae8822fac6f92f945c65dfef1be7e7c3e9bb612222365a"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"488aaf71ef3c37f912076cf5edae0d47b89dd0e06c7b693f8f337cec51d1e79f"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"769e9d2248cb98851adbaf62aa7f78db3f94886ca662e318699216e6f9e92bbe"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.8.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"338497ed35b0424f671e46b04c9221d732ba3a796913ca15e8ec85bb05c829c5"},"properties":{"dependency":{"package":"axios","version":"1.16.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"app/javascript/inertia/prefetch_rejection.test.ts","line":16}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34ebd66ef8e5ca8b18b12a94c401b942a8bea948f9ddd0b278ec5349f0dce114"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"384a0892f51a77ce6e1097a5154e203805ee2ad75d30693634ca5b796c0008c6"},"properties":{"dependency":{"package":"browserslist","version":"4.24.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad53a12c94605cc22e87a0af4a24ea3150a77033c8a67d366ebab792c9957802"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a51cd9bac6da640e38cf883c1ea361c13f6e25c446f4643782afc1591a1c03f1"},"properties":{"dependency":{"package":"flatted","version":"3.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec98ce9551df602242a7f118a0edde5356cbd1400c0abc82227a52f1a97280a6"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8645c87b8e8cde81724180b15f178db8239ce7561d62a3e6e45f51db28c7a5d0"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8f60ddd284a0ee123ef9d952609592132c876f8a457e6c0343c28a43505c2ef"},"properties":{"dependency":{"package":"happy-dom","version":"20.10.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"747b00cf844d6dfedfe153244fcdcb2201f949bcb365499545910769457d391e"},"properties":{"dependency":{"package":"immutable","version":"4.3.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a31a0b5364830f542d37385755d27dd90f97746286a80cb6c17836bc6e14179"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f11879fd6377b26a848d9834f400705c117fc78b91b8609b3c023999218517d4"},"properties":{"dependency":{"package":"linkify-it","version":"5.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a4ec2e0e4e66eecf049ed79a0794bf668fb39c58c23fa19272ca4b96129cf75"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99285d2b79c3cea57f13ddce0a5b3441ffb4ef3cb28c80eee8347212ad18d78b"},"properties":{"dependency":{"package":"lodash-es","version":"4.17.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"app/javascript/components/Analytics/index.tsx","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6674c1524402902271f6c7cf4d9eb5530c259e4957f99c55bffd8db25b915ee2"},"properties":{"dependency":{"package":"markdown-it","version":"14.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0255e34a5b0ec77a01a59b8339b283f55325be2f93a17339e328be3edf4092a1"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e02f053898a35c81dd3976f70f76fbfb4f273ee92432eacacd848db60698976"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4016868b4e5cf3d85ee3dabacf5c3006162fe00c5cef06c6e5e010cc41ab672e"},"properties":{"dependency":{"package":"prosemirror-view","version":"1.34.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c489fe9320972ae460db943c3a6203601882fba7b5f7d3b2b701224581f94c4"},"properties":{"dependency":{"package":"svgo","version":"3.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02f809db19946ff68dac97234c12abfc27eedc356a81cfd3ee9e444a4053df19"},"properties":{"dependency":{"package":"tmp","version":"0.0.33","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87acedc051cb89a8ce4b5f36de7264e8d1c5c5fd3ed662cda178e80e0c31f9d8"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3dd095e6f7da548eec797e02561d04bb6a917dfbdfd75b356095aa4206676ef"},"properties":{"dependency":{"package":"aws-sdk-s3","version":"1.157.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c041d7831dc14980a25059d0d85cf2ed35c0c797d4623c60e04330dabde6bdf2"},"properties":{"dependency":{"package":"net-imap","version":"0.5.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39afafa8049c72efa2bf966a15e3570971af97653a3e0da312a6ecf33c7d0820"},"properties":{"dependency":{"package":"devise","version":"4.9.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20ccd838534b3eab2bbc05cd870338bee24697273b73b7d80b12ee5136fb67d2"},"properties":{"dependency":{"package":"nokogiri","version":"1.19.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"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":"177ab06f66e93b6ab2aa6366fd0d2bd6d98cc6a9ba811e56bf86dfbda4bbcbc1"},"properties":{"dependency":{"package":"loofah","version":"2.25.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e656ac3284a0fa24890c64b7c0643e7fcd7e036b129501ad9e081835e4c29bf7"},"properties":{"dependency":{"package":"rails-html-sanitizer","version":"1.6.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96451b363cfd080aa2bc1287f88cdf7656fc30267aa0b034ef2fd01fc430ec81"},"properties":{"dependency":{"package":"mail","version":"2.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"510c906f7c3c87afe11d89d7ce6978a23fbb03e24db5c2bfaa443aba553632ee"},"properties":{"dependency":{"package":"sidekiq-cron","version":"1.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f456298d32bb03bd2b7148aa3dd8a229a128fa174472d7f09a03788910592bd5"},"properties":{"dependency":{"package":"stdlib","version":"1.26.2","advisory":"GO-2026-4918","aliases":["BIT-golang-2026-27145","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"resend_callbacks/event.go","line":9}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa571a47ecd9af55f36a3364edd0ddcf29c643ee1a3b19589e5f86cf9b2dd947"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.5","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98645b36f3d8a19e1462b10ae8d23a6853b810993981c4fc4065e762fff2771b"},"properties":{"dependency":{"package":"qs","version":"6.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3a741d65f52e874894f73d723cdb8276e3712e4bc8fc8f599ff3ebd55b09fba"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9dad27cfa50ff83ac64e301dd734c8b3ce930aba0fcb4116eb07f2a3f85853ad"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a6c8aec811a2d7ca01dc30175c7ce3e9ebf8b9d90e6e0e2ae64d2e9773685b6"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"190d4b87357e67a47bc9a29ffa6af7a95927fa440accfe11f231e37d76d46e76"},"properties":{"dependency":{"package":"yaml","version":"1.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"912b1ec7ffadaab3c857381779f647825448d2f59d9ce85ddb395643ac127295"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"159de14b98367955ed550c306c84e1505886dafdfe80cb22ceea096caa6b2afc"},"properties":{"dependency":{"package":"react-router","version":"6.26.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"861e228d9dfb31a892f27026c0d4d852dc090835a3e2cf7e0e8507f417f3addb"},"properties":{"dependency":{"package":"vitest","version":"4.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"app/javascript/pages/Checkout/Returns/Pending.test.tsx","line":4}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c03e208591744359c5f3e1f65e4a42135d952e8689df69ec9c587cef518787d9"},"properties":{"dependency":{"package":"yaml","version":"2.5.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c763a6608a9e1ed1f3b4d4c6342e7e09ee10ac5b39a5d29a263bfb1b1071398"},"properties":{"dependency":{"package":"@tiptap/core","version":"2.6.5","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7097b73ea6f1ffc2f0d9e0552b6b6ff4cd35c24b96ba2353cb5ff8519349b6b6"},"properties":{"dependency":{"package":"msgpack","version":"1.7.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a04b349ced306ce5538f8142a6cbe1d3a14d4b9faec1377747a8b8a371eaf2ce"},"properties":{"dependency":{"package":"json","version":"2.13.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"298fc34f8f32d075de93ec290aab0d2c5658cf189bf8f797b5733db87692ce5a"},"properties":{"dependency":{"package":"@ai-sdk/provider-utils","version":"3.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8e7b62cb4f2e0497b45c64d687c5bf67c780773304cd49977cc1c6ccf217bdb"},"properties":{"dependency":{"package":"@eslint/plugin-kit","version":"0.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3939fe4ac4484600da7688a473ddf824a3c33f19e6f336d72a249c8e680820db"},"properties":{"dependency":{"package":"ai","version":"5.0.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55ff554059efd75fe12883fc9bbec72a8f1239c81c1bc193aa2b4e53333afa1b"},"properties":{"dependency":{"package":"@tiptap/extension-link","version":"2.6.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b218556a9938150977395e84fc7072eb9f8f262d430f742830c5ab67ff27c8d"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1529bc14445f2abfa1d93636a02cc4085a08785e7d43ce4e077823ee8a7a115"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d790919337aa4a9acb4ade73b79a8d8769dea7291212ec86c0267cb4de265892"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbf5383b9b2d22c940c41678b5fe5de77c36de9f8660e39d0d12963c734ca6f8"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3aab8137fc34b9bfffdbad2145cf0db93602504c6b1d8065ecad66645c417fd5"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80ef0e4af96919e6b8c11a1f4dd10d0446a244df0501986f29f986a36fd9fbbf"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f835fb93b248a844e5914ad0bf666ebf4b0b2422c4127977ef4c4e95765ab33"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7238173807a748697064b861a8fbc15220632d3d09ce611bdf5d00aa4ebe1389"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45546035bae5446f756b4bd561278e19f136d14a6f296c48891d77b6ee3220c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"73e2c7078d2312f76f3e640636ff600311a7494db2e50db6a6a108a4dbcdc684"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c745df20b285adeb1ae0a7f169402cbbd4fcd863798c5b636728c22b4ea94bcb"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3b44ac8afdfd68dbf1b3fcd6f801f69c533d73f00b2cba336d119d77b0b5261"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"acb4979165f94490b2f6298d296e54738416dc0e33f982761afc85439f84229f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c30db3f3cf6df2a900aa9d0662cc7ec2cc7d3853825d67892458f31232b90b4a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdd5295487b50a86185fc01d0a2859fd2416460c02b42be80136d85e0ae53604"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b74f2affed3175baf76db6c020a1317e8c6c2cc17facffd6071522ff3f3924c0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9109851bfba834c55ab26b73254ef01f8f5e3a8341a3f94c12f60f67d0899853"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51747da4b8d3dcf267b703de06a0ae67bf69399992683543366974a730025081"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1731b5afb27ecb939b5787bf9fbc9b6b570e0f1475dd7b17e80a04d6a4995df4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8ad4112a302f8f2b52f92ad1d7ab1fe7ff393c4922bb4631adcbe79dbd75931"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ab58111e14de07a75faba608405262bacf05e584b50b07bee759374a4b172d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fe6a5a4d8410237725de1df522b8dad76f482b29fb2b804414738eeb650949c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecc14771b04151691201536f65fcf74c57447580eaf14cec1e9dd0343be08eb3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c0f6b2f72b281b5687c930069d8cfd5fa3162358cba3fd151c1ee523bb1639d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"826e324dc0bfe68827c4cf0b0771705a8a5b0d4d994ba1d0a30b4a204624ab41"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5673cbed123b04f6cc556efaabb684453980eefa9bd40a53a27ef5e29cd1c752"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbc22ec688b4cacd80a1cf536204213481efaadadabd959cd59757cc48f91eec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f974ef6a9132a39a5b6a0b90635b80cd6312fd92d889ceb0dd17699c82d52786"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8746f85a11c95ba14282d6bf47d58d246eb033793dd790fee856647395bf5f2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e100523283e09e5eab4e4255f380d892f847f4eb4bf31d905a221e2c8c681013"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86ed4bdeb13c89b2d08cb17400640a7a5181d0d9714a32e2d6734f33c6ee686c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a969317c3be5343d65cad78e885f93d12b102f983b7e9248aaf48e8f7900745b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd5214e6931c107d968768ea70596dc0cf86dfe09c7eec27b2e620f3c0463461"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43be6a2705e923adfdfeb53ee984b55f0d94b81d0b15082b8897253cba5d6553"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43a8ba522c54fe4c9d898b286e46c6dc3ead814b31ef025956ad24eb75b00d42"}},{"ruleId":"D32","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":"e17009c775758177dbc19ea63361bd53596a09c0ecdd2e351992a4c4ebc506e5"}},{"ruleId":"D32","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":"2ef22f1666529f6812edfd3bb8eec4d3c2628a0de5b568b7c54e49ba620e6dfe"}},{"ruleId":"D32","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":"aa356cb8e0a1dc5c60bbab806c2f50257eed04a3250762adc3450173b536a440"}},{"ruleId":"D32","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":"526797c1e210881a6cc17bdb1d06337f43b1324ed83ec3304dc41be5336ddfc4"}},{"ruleId":"D32","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":"3b54e1f7e506f9d0cfa5ac85d1164523f0e8ab660cc3b61993709a4c25d1d9f8"}},{"ruleId":"D32","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":"535a0961e6e44335382ea7813483b6026209ae50cee450a2b1c874c43915c381"}},{"ruleId":"D32","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":"2b69a339f3cf2164dd9130f1ed6fd00c19ff0349442b584cc0fbbc836c07d5fb"}},{"ruleId":"D32","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":"c2bcd429e4b3ee30898f74bf4da583b212013b9f8f66136f0af3836453e2258e"}},{"ruleId":"D32","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":"cafad638c6157f3ae6d328e7aae9044d94c19edaf5def4033a5af6beb494de3a"}},{"ruleId":"D32","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":"59bb6c569f683b8ce921929da75a89a71d21a79c0768051b829051f49add78a3"}},{"ruleId":"D32","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":"59dcb02d9ef84a214a8c6c07efc3efefbb3987a9c76e6f2276803de637d85d97"}},{"ruleId":"D32","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":"d5303d08b406522088a95e5541ce5d374db0ca7d55db088146d9b2bec482319d"}},{"ruleId":"D32","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":"9111fe4d6b258535b6ac02d8da7e36773f5973a9ee6975bd78968a68e2a9a89a"}},{"ruleId":"D32","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":"9c9ecb3cdba73076eb8ff8d063d7968078a1382ec415b8129d7574f6e7dabe67"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1199f29030236a7c1fbc6cf222864438927b9983ffe63d56ce98be41932cf61f"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 42 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: app/javascript/components/icons/getting-started/FirstSaleIcon.tsx, app/javascript/components/ProductEdit/ProductTab/PriceChecker/DistributionChart.tsx, app/models/concerns/attribute_blockable.rb, app/services/ai/product_details_generator_service.rb, app/javascript/components/icons/getting-started/CustomizeProfileIcon.tsx, app/javascript/components/ProductEdit/ProductTab/PriceChecker/index.tsx, app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx, app/javascript/components/ApiDocumentation/Endpoints/Payouts.tsx (and 34 more) (43 orphaned of 1209 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1209 of the 4058 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Payouts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee91228234ac9ec8bf7c4edb20a45791b940efdb47f09ceeaead37a64162f00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/FirstSaleIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"031e9ba12f960b1216c39ff60e76688a8c01ffa62dab99e87b80d76625451b22"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/PriceChecker/DistributionChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a04d702a79d8fe21ccbb500d7654d11c33a2eb0fce85acc2b1725b444db2b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/attribute_blockable.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"930fafacd59e15b609f66cb46a59ce2d1218ba0c6512567f6f3face8dfb00df5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/product_details_generator_service.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ba44070f595e1d153f359b00174b37ade1057a37308edf576a4d4e4063d173"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/ResourceSubscriptions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d3da734df741a2dd847b032a0f1aeb46d2f47849ed325c5ff51ef4a6a6db1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/CustomizeProfileIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"942c0b8c49edac2e76b2d19acba19e473f2734689f4da68cd6d716f58994065e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/PriceChecker/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6193ba8a8f6f2dd9a9ac745a183a2f786f91ba67fe3f6c05c7d9f2eeb4e43bb5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3dbac5cc14cd334c1640e9eb287dcb8515f59e6fb799ecc206f4ba5f1bd1bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Collaborators/Incomings/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"506129f2016d0ab17aae52616271a91d6ed06047f4963951206f55b8153565ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/FirstPayoutIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44d08d37e570a6aefc5217d0f1794023cb9350788b5d1169d2543adb65b4583"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/price_checker_service.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e54500e2c5292d611cb6044d0e846b13da14af16662f31878769e440fe5bbe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/FirstFollowerIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37796b782d529fefef7f7dda07b3447e595c8ffc8fe42cfd86794e710eaada26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Scheduled.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5dec968998dd19cfec92f33e8f32224c644125b420e0806b3ace4a84aef931"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/FirstProductIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"657c6ed7c3ef3ce62b2908c98f582cc6b125cb0ea8ee78260e99b582b2f03ce5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/EmailBlastIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f71d91a0c11f941ca93753e3ba6afbc69b11e0ad3b26d184151a96fc57f297d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/ProductLevelSupportEmailsForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8098a536d6bc7be83e6593c84f60281c0fc384b1aeb9379e68da9b72c48397c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Drafts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d7a09719e93dbce8d9d3cc4ef37b86280fbe82a341641eaa8a5f96817516da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Form.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70e25475ce946b2b4ecabbd3a3f7aef4097f9f71875e8da6efc696315a2d429"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/MakeAccountIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b11340c885ed41d231fc8d1e24716d5d3f7f25551f5ccb96c89268d858907ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Subscribers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed3bc5217517b0c352970e53f9a69ce1c386b56637a321181074813ef0852c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/hooks/useLazyFetch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8a07254d6272493d4a126881521e2edbd5d259eeb48cb20338346bb8148950"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/CustomFields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21132810adf7286dde59f3c8f0c81fcb844350634705c4e3da24684851a660d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/CrossSellModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f2e9761436e6e622108027c6655fde1b9dc6fe3d99b29f62e35b94d99f09d9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/utm_links_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcbea9669978185a7b637e1522ec6d970d2701103066e8125503831794e585a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/DashboardPage/DownloadTaxFormsPopover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e917802cfa5751d8928e22f3747e56014b56947e3135f3401e789b8de790dfe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/MembershipInactive.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"330d81feb623d40d9ae6af0635eb2559de8d5996da471704443b8a9f2fbc6404"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/onetime/migrate_puerto_rico_to_us_state.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae8835f589d7ef572bb6d3f910767da5766a9d1201310f33f3963513474fba1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Products/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfdbebea2f5bbf2a0e6131b6656db6e37c85fc7a94aa2d315f5ae189d3eb403"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/payouts_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc59c029ff32aaff615bf01e149751e9ae7d85756e1865debb901f3b7e47a370"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/GumroadBlog/Posts/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef71f9c8dd032af7116008bdb8645cc204c5b033480f9a2789424200ceb0f847"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessageInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b195394ef95f93938cdc0dfb0a1d59e6d611a6cf8d5e21167553e4f50165c5f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/useCommunities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee81df8309cb8350c73c2a975224d76efc72092a2f5654cb154025d79e8b72c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/types/workflow.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96df89f816e89eb367b9056c5606e04f9a11d61c8a711f2b88b975b6c62d1f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/communities_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ac5eb72313430d7202292c9a5fb733a3bd9220fb72fedd0a9039b8615d998"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Followers/ExportSubscribersPopover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba3d5131f64436c0caea23436b552228360eb90559b20ff9c503ba505111149"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/events/paypal/paypal_webhook_verifier.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b5e56d797636b35d577221386e2dfee7346e41f184da982f4efd933ca1b0a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/workflows/emails_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe6b7c4988d1dc4a80e8491641c4fd5e1478895bda38b37aacc5448eea536a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/hooks/useScrollToElement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"359f04ea1087d7b532f296a0553fc87012176c033c4f573a76af5ca0f3e0bc62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ui/Details.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a544858430969406df0fd1d93f6334874b6e521f442c346b5c1670156b9184"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/user/payout_info.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"321951ccd1a28a5197c6abc1cee2e348eec58c402016f37df8bb156d60919fca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ui/Fieldset.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f131a858225c4a76adb3ff16e997b9fc3ea38511436ba9f9c0ec553d2b12747"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: stripe_beneficial_owners_manager.rb \u2194 update_user_compliance_info.rb: \u0060app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb\u0060 (context business) and \u0060app/services/update_user_compliance_info.rb\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00600ae3a8a4\u0060 Preserve complete Pakistani CNIC input and saved grouping (#8625); \u0060124bd348\u0060 Validate the PK CNIC by digit count instead of a character cap (#8585); \u006099458827\u0060 Validate Dominican Republic CIE before payout updates (#8341) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"569f62eeb5e720b4923290d04b28812d9002f5b8869c0d4ebe9f1fbd83f181ae"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: links_controller.rb \u2194 link_policy.rb: \u0060app/controllers/links_controller.rb\u0060 (context controllers) and \u0060app/policies/link_policy.rb\u0060 (context policies) sit in DIFFERENT parts of the tree yet change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006043abedde\u0060 Add a one-click \u0022disable downloads for all files\u0022 action to the produ\u2026; \u00605c4ca632\u0060 Stop stale cross-product file embeds from blocking product saves (#6432); \u00600b42172d\u0060 Reject stale product-editor saves with optimistic concurrency (#6245) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe5b5dbe52a65008bfce2f2bad60ae38a672c938dd4a4ad67cd41ecc222dd7f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: healthcheck_controller.rb \u2194 routes.rb: \u0060app/controllers/healthcheck_controller.rb\u0060 (context controllers) and \u0060config/routes.rb\u0060 (context config) sit in DIFFERENT parts of the tree yet change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00609398c307\u0060 Alert when abandoned-cart email stops going out (#7443); \u0060755e0a67\u0060 Replace the overnight deploy block with a long-running-job healthchec\u2026; \u0060505eebae\u0060 Deploy freeze from payout-batch state: /healthcheck/payouts \u002B deploy-\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/healthcheck_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4a2a7ba89b569b9b2d29f3c9891348f79cf9324356b7741cf4e5541a3caae1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: stripe_beneficial_owners_manager.rb \u2192 AccountDetailsSection.tsx, BeneficialOwnersSection.tsx, Show.tsx: \u0060app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb\u0060 changes together with 3 other files \u2014 \u0060app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx\u0060, \u0060app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx\u0060, \u0060app/javascript/pages/Settings/Payments/Show.tsx\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_beneficial_owners_manager.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8814ef709ce8b9d6e1872add8dfede832160706022e392eb4afe441da8efde"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: post_resend_api.rb \u2194 post_sendgrid_api.rb: \u0060app/services/post_resend_api.rb\u0060 and \u0060app/services/post_sendgrid_api.rb\u0060 change together 90% of the time (9 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060f3ef06a6\u0060 Honor follower opt-outs at the email handoff (#8557); \u00602ee49706\u0060 Say \u0022got\u0022 instead of \u0022downloaded\u0022 in the free-purchase post footer (#\u2026; \u0060827a9207\u0060 Remove dead Mongo EmailEvent model and its write-only call sites (#7252) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_resend_api.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a6e8be980532a7140437c91b3a3ccde0bb29598d2e0843ddfe6c0d39b0574f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: state.ts \u2194 link_policy.rb: \u0060app/javascript/components/ProductEdit/state.ts\u0060 and \u0060app/policies/link_policy.rb\u0060 change together 83% of the time (10 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00605c4ca632\u0060 Stop stale cross-product file embeds from blocking product saves (#6432); \u00600b42172d\u0060 Reject stale product-editor saves with optimistic concurrency (#6245); \u0060326baf36\u0060 Add per-file setting to hide Send to Kindle and Read buttons (#6069) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1caabdb48b4ac65f91b5ea9beb5aa4db7ff93dea7f1c53bea91bdb140b896e3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MembershipsTable.tsx \u2194 ProductsTable.tsx: \u0060app/javascript/components/ProductsPage/MembershipsTable.tsx\u0060 and \u0060app/javascript/components/ProductsPage/ProductsTable.tsx\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006082f1bc00\u0060 Make clicking a product in the Products list actually feel like a cli\u2026; \u006033ff66d3\u0060 RTL: dir=auto on Products dashboard tables and product name editor in\u2026; \u0060e8e08865\u0060 fix(products): keep search active and URL query in sync (#3452) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/MembershipsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2f81dcbc8c16b3cd12fd7a8c5f147fccaf8d36a7b10091c1d32b98194ca116"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AccountStatusSection.tsx \u2194 settings_presenter.rb: \u0060app/javascript/components/Settings/PaymentsPage/AccountStatusSection.tsx\u0060 and \u0060app/presenters/settings_presenter.rb\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00601bf1ada0\u0060 Let a seller under a chargeback-rate hold operate their own pause swi\u2026; \u006015896946\u0060 Offer optional social connections during account review (#7539); \u00609c87a143\u0060 Pay 75% of a chargeback-volume hold as a rolling reserve (#7495) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountStatusSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc51ca48264812c0732423770f9de121e3b4783dc58ebafd452cfe472c2f2fcb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: links_controller.rb \u2194 product_edit.ts: \u0060app/controllers/links_controller.rb\u0060 and \u0060app/javascript/data/product_edit.ts\u0060 change together 69% of the time (11 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060e5c7d022\u0060 Never clear a seller\u0027s installment plan from a stale product-editor s\u2026; \u0060354bd7d8\u0060 Omit a blank product description unless the editor marked it changed \u2026; \u0060ecb0c548\u0060 Answer a wedged editor save with a retryable 409 instead of a refresh\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/links_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2d1cbf4e0d802021747d3670e42a4fdfc37aa028ca7001ce71be1c1f253346"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: user_pages_controller.rb \u2194 users_controller.rb: \u0060app/controllers/user_pages_controller.rb\u0060 and \u0060app/controllers/users_controller.rb\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00607c8051fc\u0060 Keep a seller\u0027s slugged storefront pages out of Google until they are\u2026; \u0060430ed40b\u0060 Serve the seller\u0027s share card on slugged custom-HTML pages (#8494); \u006084487b5d\u0060 Pin custom-domain URLs to PROTOCOL and add the missing head tags (#8000) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/user_pages_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf72812f2abca1a412b4520ff3e25e530704ea52af236f1489ecda000b19c41"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PaymentForm.tsx \u2194 CheckoutPreview.tsx: \u0060app/javascript/components/Checkout/PaymentForm.tsx\u0060 and \u0060app/javascript/components/CheckoutDashboard/CheckoutPreview.tsx\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00608b45c3f8\u0060 Keep the checkout payment form still while content loads on phones (#\u2026; \u006066ec0d8e\u0060 Point the buyer at the first unmet required field when Pay is refused\u2026; \u0060d0de02ce\u0060 Fix npm run typecheck: restore vite/client and unmasked type errors (\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e8e1d4fa493783368943cfd73793c3f6d9194444a4d2c3b7444a7dcea076ed"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Api.tsx \u2194 routes.rb: \u0060app/javascript/pages/Public/Api.tsx\u0060 and \u0060config/routes.rb\u0060 change together 63% of the time (12 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060ce301fb2\u0060 Manage automatic sales through the API and store agent (#8436); \u0060dd8cf2be\u0060 Add Sales API v2 revoke_access and undo_revoke_access (#7388); \u0060c2198f5a\u0060 Add schedule/unschedule operations to the emails API (gp#2153) (#7249) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Public/Api.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce37e1f7ffbf91ec099d45a9999ed068d5a42583a07f39b8d9203f5527b9095"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: orders_controller.rb \u2194 purchase.ts: \u0060app/controllers/orders_controller.rb\u0060 and \u0060app/javascript/data/purchase.ts\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00607db2ddf5\u0060 Block unintended membership charges from saved cart lines (#8130); \u00603e5111db\u0060 Let gift buyers stay anonymous to the recipient (#7833); \u00608e8fd797\u0060 Restore a scoped CardElement lane for the confirm surfaces broken by \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/orders_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de5d69c6054e89db043815c9d31510db71970fb5722bcaac1361f507ccce21"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: agent_message_streams_controller.rb \u2194 AgentChat.tsx: \u0060app/controllers/api/internal/agent_message_streams_controller.rb\u0060 and \u0060app/javascript/components/Agent/AgentChat.tsx\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060ca66ac72\u0060 Fix store-agent reply and stream reliability (#7592); \u006024fb1c15\u0060 Bind Store Agent confirmations to proposals (#6570); \u0060f944a395\u0060 Tell sellers when they hit the agent rate limit instead of \u0022I ran int\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/agent_message_streams_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abeacb5d3056bdd258f7906e16f87de9e1018abc370e9e52d466e02a944ba21b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProductEditPage.tsx \u2194 link_policy.rb: \u0060app/javascript/components/server-components/ProductEditPage.tsx\u0060 and \u0060app/policies/link_policy.rb\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00605c4ca632\u0060 Stop stale cross-product file embeds from blocking product saves (#6432); \u00600b42172d\u0060 Reject stale product-editor saves with optimistic concurrency (#6245); \u006026ba4dcd\u0060 Swap product edit to Inertia and remove React on Rails artifacts (#3897) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bf780e7cd68acd195b53b1e9eeae3826648ee4d29dfe24c44ecb094a1c1d77"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: logins_controller.rb \u2194 signup_controller.rb: \u0060app/controllers/logins_controller.rb\u0060 and \u0060app/controllers/signup_controller.rb\u0060 change together 56% of the time (9 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006021cf95d4\u0060 Point Discover canonical at /discover and qualify signup SERP fees (#\u2026; \u0060f250ed6e\u0060 Tell a visitor a deleted account is holding their email, instead of a\u2026; \u0060e0f306f4\u0060 Give buyers actionable guidance when checkout CAPTCHA fails or is blo\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/logins_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86bbc9df3d25c7948f068812296c1a6f04273b5e8318c161ba02707c4bfa7b0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: balance_controller.rb \u2194 index.tsx: \u0060app/controllers/balance_controller.rb\u0060 and \u0060app/javascript/components/Payouts/index.tsx\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00609c87a143\u0060 Pay 75% of a chargeback-volume hold as a rolling reserve (#7495); \u0060c98af4f5\u0060 Fix scheduled payout banner messages for sellers (#4522); \u0060df492b93\u0060 Scheduled payouts for suspended users (#4397) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/balance_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"255deaea612e143527ae6673382d68cc887960fd2b6fbf9e916eb38b0ad31916"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: balance_controller.rb \u2194 Index.tsx: \u0060app/controllers/balance_controller.rb\u0060 and \u0060app/javascript/pages/Payouts/Index.tsx\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00609c87a143\u0060 Pay 75% of a chargeback-volume hold as a rolling reserve (#7495); \u0060c98af4f5\u0060 Fix scheduled payout banner messages for sellers (#4522); \u0060df492b93\u0060 Scheduled payouts for suspended users (#4397) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/balance_controller.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c92c9e662b4dc8f32176d176e87c8136255d89da6f8b2e66a83daaaaac77072"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8b75ea076ebcf4d6653936d2c8cff91037162441364573204093430a639a6a1"}},{"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":"543066aa7768ff14d183158b53501dcc97d2ae07909c73c702358511b5b6f7d8"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"app/javascript/components/Checkout/CrossSellModal.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"448aaafc181d695b73af11e0bd6bc48eb7f879e3005645b6647913821e1ac3d7"}},{"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":"app/javascript/components/Communities/CommunityList.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"852353ed7e3055a48c4383b8e51f4704f521b332b976bc1d49c232fac672891b"}},{"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":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b276dd17725b0e41a68c10ff5c5cb932d3651666807da0cdd335c2dedb124d3"}},{"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":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db026c4068f9543ebb10a76f1534d0dd868a395ae2c06de1bfcf184b648f2ad"}},{"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":"app/javascript/components/NestedMenu.tsx"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fc0210ded1d0cf0b4564846b9d61f0eafad02d5f1ee40de505320e11c548cb"}},{"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":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"023434ee648d07551562be11de206904ebafb87afc690afc3e4872cc3e7ff226"}},{"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":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"53053557bf07fec54357dbfa11558e1f875ae3ec0774e407af8fa7fd78140fe8"}},{"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":"app/javascript/components/ProductEdit/ProductTab/CoverEditor.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e67bd0d49d8fca22aea7cafb9504f3a8dd6a3ca80761166129fb84b726df808"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"120dac85eef9e78298297abad86bf7522c366fee6c923b7922d3a467dac9df66"}},{"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":"app/javascript/components/ReviewVideoPlayer.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1ea3dcd879e32a6168155f37f80f82f931eb3a80982c77b0c18673d78b57fc"}},{"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":"app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d52c5c7e21c1c33231769b0d686b7ab2b62c9d807583c3079593f90dd6404b"}},{"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":"app/javascript/components/Settings/AdvancedPage/ApplicationsSection.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d62516538d1f0810f00a0b77b7a40150a4273d431cb0d230c0ed47988cb79f"}},{"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":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1c5ef01e874ba9db11d877909d8f8fce5ab0e4f27f0deb5b49b26448940e27"}},{"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":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f531e1a9ec629320f216c90d250ce40733df84c17e2a61a0c585204c008ff25"}},{"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":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8de7dd921617d500ee740ac206b870cd79de62514115e6da0a14bd9d556f751"}},{"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":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab789ffb4c6b073e85b88153144a6bf851c7d1b694962f176d9158e3598a0314"}},{"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":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed0afa864a7766bd59ad289c0bc46c736d8af9bb97109ea854f697461c38cc7"}},{"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":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f0b6245d11f436d86ad0ed2412eaa90e16f9492983c0348f6c27496ecdae9e"}},{"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":"app/javascript/pages/Churn/Show.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f925864578d124d1d65bf0ad16fdab3cd9dfcbd81cb8990438ff3e655dd8df"}},{"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":"app/views/affiliate_mailer/collaboration_ended_by_affiliate_user.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f1a27a4bcb64f06a3adca98b17d96f91ada99e087315a0648d3a03846360ef"}},{"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":"app/views/affiliate_mailer/collaboration_ended_by_seller.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"164438b7475b1f5ed9f256e5108dc2359a146f2446df314f407963ae402fa26b"}},{"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":"app/views/affiliate_mailer/collaborator/_heading.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b5abdfdab33c1e59a5b76df74a8fb8261e064496491cf290cd9d02b80536bb"}},{"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":"app/views/affiliate_mailer/collaborator_creation.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f932ba2abf982667e285fa7f2fe8e7d19d49a6d363b54ad28a84c22072cbc8"}},{"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":"app/views/affiliate_mailer/collaborator_invitation_accepted.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"71beb06d56a9b76f0ca88f35043f759f418af0ddeb1d2ab1af300b84a05402ab"}},{"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":"app/views/affiliate_mailer/collaborator_invitation_declined.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c6bfb0df7953c06567715fce72905f97e725dcea29703142b2a5c03e528a5f"}},{"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":"app/views/affiliate_mailer/collaborator_invited.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1679c8e903dde436cfe16b3bf7a80101481a6201bf389c71c5d6bf0b2db56f"}},{"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":"app/views/affiliate_mailer/collaborator_update.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73e4f3a144fa25839cd3824e16da931dc711e275135b7afda154e5cb679827c"}},{"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":"db/seeds/040_posts/01_test.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca31b4cdde5b3b27486cddb58fba5a9785ad40935fe1e1acc5e2c5cd109c619"}},{"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":"db/seeds/040_posts/02_a-trip-down-gumroad-the-road-ahead.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aba3a5906a8d67be584c774a7e7675fa0fa92d1ed1dbb62ef0ae8329a8cbf8"}},{"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":"db/seeds/040_posts/03_gumroad-is-open-source.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b16af0718d2c7a447715d5e524f348e6a33dadf5ba6cc927c1f7a1d7fa734e"}},{"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":"db/seeds/040_posts/04_new-on-gumroad-communities-installment-plans-and-mo.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"034b0eda4764dd66aaaba101ccee75275d36c7497bbfec8837b9c39f11523dfc"}},{"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":"db/seeds/040_posts/04_new-on-gumroad-communities-installment-plans-and-mo.html"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31f19046e71fd73589b13e0845c6799ae2eff104f4f192dcfcf79bd2f08634a"}},{"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":"db/seeds/040_posts/05_gumroad-april-recap-what-we-ve-shipped.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e6812671995dcff959ee6c0d370d40ddf109c16bb1dad30392e82eed35cdfb"}},{"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":"public/401.html"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b53ea4c6432ab2f41c88d5310cb7e437b1d82c9012a215fd8cf211d3ae5809"}},{"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":"public/404.html"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"08eaa38ae67c0e2ea6c266c34ad25841e16f5c477b553950976d2275dbed8c31"}},{"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":"public/422.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"088a45770f82e68ddcd2c4b6fbf1afd2ef54e02fde1d9cb7777912c0a11f513f"}},{"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":"public/500.html"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27b95277082887bdd27b8ab0ca327ffc44a76cbb038db279997a11a8c45f919"}},{"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":"public/503.html"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bed9713b846e90c5b5a22f453a5c963591af4128e4174be7ad6f4d1dd61b43"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb1306690f08dacd1d51cee2bd68cd8f803164344e905a91cf26a66f4a21fa7"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1651d5389b42c9dabea5c8545f3c5ddcd24120eee806cc1da31ff07414d0d9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e90ebb6ded4bc4fc661a96fae2aaf1e0151d9a2a8139bc42febc737c53aa76"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18fc79ba0aa316826cb1edf26fb3c944d6abac2f5be635b68055622d7001c81"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/FormPage.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b5a927985025a093e440d1e0194019c235ff239a5a524eb6193ed6d91a4fc4"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9e453a9d442f44f75544c44fb87186fa285ccb61bcd8be9ed50b1c907561fe"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fdee1db80597dcea924f143c1dc5c8a338f881baf3d52fbbf70b23aa17db97"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7daa913bca5f528c0956a5f805adae082a1860d89d27aae956a8d0b425497c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"1907b5809db320c24b5d2c6119bd35600d75b56af07a62c22752837df364b544"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessage.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df3ebb08764193607fd57ef2476893ec5683fd76f6e37c555216d944cc97305"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessageInput.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc539fd94503c341de37c73952d647e699c3206767304c6ac273b5525854cf2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CComboBox\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Discover/Search.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcc6437ecd7dfc4a86bee738d944e345692fc72a2c731db963f7b48554f0d7e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CComboBox\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ShareSection.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cd5e3283a3ccff86e25efc067dd81f9a4cbbfede8af2715543d8966d0ff298"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"db42f72115d4261743e5797cb2555fa157f20a1cc66902f94c2d8caa7056943d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/RefundPolicy.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"266d1f5b98d91a56442bbd19b8ae62270c0b4a815ce1f664b154ee20872f3b10"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba83e8fdbfe4b1a1d2cf4657ada4ebd9f56caf62649571774b4456a88776fe9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/TaxonomyEditor.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3323c77312595d99c22270e23c3ba037312cc0636635742f5cdfd0f33c87d7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"54aaba1c3d1eaf5be129e88c025a7f5b2ee00da5ece36f2d4819df3db3383cab"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28fba396094875235d565035e0c38470f8fe3ea95c43d3ac083e81b0a053554"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewResponseForm.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e506da5ea249bfce5e4dcdffad9057c2c50ba4887e9d6d592ccb039f042b456"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c0f75b9ad3ef526d05e649e46eaa2f59143bdd584b9e9a34d02ba005ba0fbe"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/CodeBlock.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc97f8ff992c69011253811694234c1b1a9d52a5907a94c5ee443d00434d5015"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Image.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce730a7ed9ff78f154a4e5296124d2a40ad5f8b9d377ce89e8165e84974fe71c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/PublicFileEmbed.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd27e439b92356b114a5f595094039fd587b350c5c36bf11322fda8e682673f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/TextInputNodeView.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa21f192d86274b6d142b0f6ff853cba09c6fb02b3654f964b4d5f536aa0f0a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UpsellSelectModal.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6318d62033b50f8d8110b0aabbe9e9d68de0f88c012dad6a5a9af5d294a3a2d9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UtmLinks/UtmLinkForm.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"020ba029da3fd86c8a75f0c16b9a17f09690122a6feb1acf3f0f85e036ae4658"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UtmLinks/UtmLinkForm.tsx"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d44be60b2af2408db73cfd137659b932c25134932b288d9c8918456fa9f9804"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13478d422777343e19edac83475b54221f3daea31261d27ec372f5ed9837c1c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Team/Show.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b2ce52d13bdc13d50c777474de8388d64acfb4a900a8f002490dc306c9dca6"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id \u2014 and neither does anything it renders (a name prop is the form-submission key, not a label) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Team/Show.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d38066d166f3597ced4661a6a75c0221d335adebf94f0039e465e6dc13bab3"}},{"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":"app/views/doorkeeper/authorizations/new.html.erb"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"251bbfc4213922c38fe856b009141e2e1300933e0da0aef40727f8e624ad3949"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/features.html.erb"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddf6ec4e2642266a10c3837cdec15a1c9a42e77123f770cff9cd1e6d1fc32f7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/features.html.erb"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc672f858d84e83cd69af5791b073784ba611d6b20a3111d7bdbf628f4919cfe"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/features.html.erb"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2856ae335bdfdb6596c18efa09b3635096924aa11d13627a4465419a0ec558b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/features.html.erb"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"819ac9c8d8d7715ad8f6a1bcf3c78dbaf961a476a4234912266761c671ef0314"}},{"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":"app/views/home/shared/_footer.html.erb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c0f98e92ba80db751c747fc57026aa92354e27dad3c3c1373e88b12f3462aa"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/shared/_footer.html.erb"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f02215a4a5793728741fc2f72f30d7442b8dd8671117093282271c21be5f1b"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/shared/_footer.html.erb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb60ec4739bb240178e3e4f39706adbf950254d46aae66a2b7ecc6f18730e06c"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/shared/_footer.html.erb"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"133ac0bdf0ab2bafb3d8727124df7ad1a936901ff18d2f827f629c80cd0315a6"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/shared/_footer.html.erb"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ec55a31eb06f4746cd936709f037d43308e90cdfe265dcfe7d979a814b4ba8"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/shared/_footer.html.erb"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cf46e1610859e3d56f3712816dcc2ade887f064167f0d47764464783fa4b9b"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/seeds/040_posts/05_gumroad-april-recap-what-we-ve-shipped.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6c30d3e544137c2fd9b36dac3e789bce4fe5372cd0df14ab42f16eff58e46e"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f960abccb6a3c9360145584159bbc27c6ae6e53dc20cfc0cfbd8e6cb839de2cc"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"309ef047192dea9065e661b37783aa343085e15ef9e2d9fdeb9cfff7d9f91a57"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"47000e088deb5fd7c7fad24fada4ef56eb7dfaa13be7c711b013e2f165e56c28"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"639e41234882d165f0616d2f9fd9f8fbe5ae7ca8928c8d12032d447a8ac2be49"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d44fdb3bd992b2d73bf8a1ff3ac04e9f9dcec63da053f33fd4a3bee42aaa23"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d7da8db2c8618444920249b428d18a96d4eefd5c5c8ac8871dcb932d211432"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a90fc43b1d586d30f87a778a7c93b4ed2986cc67f670ad50e598003f8d311bb"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a424029400aa51929dffa7cd406ee8699d81259611a408ae1c396f15bf05e909"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"0254810bbf45b5e66f2803214af45cbfab59f4db20e1d9a316657cd2fd726d2d"}},{"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":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ef6cc5366a3bdce6af1c77298dbb2f0ce74935d035504da05f9a3b8cc4794d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch4\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/CrossSellModal.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2970e101777a7964b7aa59795dcb5d4797d51967cbdb471109482edf771faa"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch4\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/UpsellModal.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4a65aa61aedbcddf3fad8283e3d98fb446177568ab56dd344027fa48e1bd89"}},{"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":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d809d2c355e14ea65c2f3a9c4635de024f326b15176c6e04e8ee45fe3cc2f833"}},{"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":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b9bf73c716b76c187d3d7c6e299213fd135a92cc4978ff2fe5fb3d979d2230"}},{"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":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d686f6f8e1c77b863725f21bd36d7e57108d761e42f3a85b4ff75669f833b9"}},{"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":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"681de1246900f6be64f6c66add89c8a51371faaa6ac60c36c43244b1b5102ee2"}},{"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":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8eb2153df35d5aba41dfeb24f7ee7b8a354dc4e82835eb16e242f26e2aa33b"}},{"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":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"988a5fea589f491351514ce9db33fac6bf10e34833d78cb786e0114bdb0dc277"}},{"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":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b1d6097fb1021dae41105e842fef38a26c444aa411b9c64a3eb564bd0fa38e"}},{"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":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b74e3c6f306c2819763d1a33bf34273a93ca3144e7d39563d56245af8eabc67"}},{"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":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc331afec9c25aea1c4112536c34a30632e5388a5fdb5093339fffc115923b2f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: 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":"app/javascript/components/Product/CoffeeProduct.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f4d16a0338681ede4e3394201f4d665eb165da2a349e57fd2a8f67faa38efe"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch3\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CoffeeProduct.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ac7ec7d2aae41a78e8a13ee06b8935cf3549e9d15d168376d768f39432cbb8"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Covers/Embed.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2711b9c16570d79fd9ccd801b164a49f18315028bc4677271d985954248068"}},{"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":"app/javascript/components/Product/index.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"251bada709ecb6e28952d204886611808705192cb2287d21b02aa119ac2356be"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 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":"app/javascript/components/Product/index.tsx"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab36ac7b1c04130cf60781f4aa2f80b280ca05a7c48563068cea583c6f203de"}},{"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":"app/javascript/components/WorkflowsPage/WorkflowList.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe116df2c92bec8d7a69da768fc22911dbdb1f72566e7c2ddcd10a2357aba43"}},{"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":"app/javascript/pages/Affiliates/Index.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4796f9dc23f520df045fad2bc62b5b6959f510bc6fad0f767ac1030eeaa82b"}},{"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":"app/javascript/pages/Collaborators/Incomings/Index.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5921d66c7b168176c8f14bb3622120b8a487a0cdb74b55d846c0147135446082"}},{"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":"app/javascript/pages/Collaborators/Index.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f80915eefb029725f694f8dc615d798d99327a4f0802927399ecaf46b59f5df"}},{"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":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"235af56291b4ce5062b6c1c352f31f80f2e6c73b1637ddb93a17894ca2b493b9"}},{"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":"app/javascript/pages/PiracyReports/Index.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2177079f1aeed0ce3253785d3934c86a17e3b06eea02ddb6df03acfc795933"}},{"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":"app/javascript/pages/PiracyReports/Show.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca0db01022e0d92f176f94078b86de162ed5b795cfdfe630e7a6ddfbdd3cfce"}},{"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":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba3f57c5fb23057f257d4b8f682d3d4cbdfab0c9fd9ca0ee32253f04f8849ee"}},{"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":"app/javascript/pages/Reviews/Index.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e7f2047ea3e74456a9ec978918923c9ce1a30fd7dbc00770dc77921f87153b"}},{"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":"app/javascript/pages/Settings/Profile/Show.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"4847e8491e279ec89fdc17512ab032c0f1c232a612732a772202c77a3681df52"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: 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":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"f034376c81bb8b14582e5b6b27666e2c21283fff4bfb132f5154045da23c8311"}},{"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":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b1b642fe53ac82f0510a87f2bfb8a7e4cf2ed3fb05b8629aeadae5e71b61bc"}},{"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":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d8169f624b18c7e8ce622afaecbe7a8c5da8eab5467b98465f8223e6314f69"}},{"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":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5e82c88bcd033768f3bd97514d87a150bd68a89fd397fc33e68ff06314f825"}},{"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":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa083d6b9caf62f5ca89a97683022b7c3d107743c8affb8597a8efc8c62f7854"}},{"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":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2d872a6e0e4d2c69d7581f7c21e2b53d7f5f803815f57e6844ca1147faaa56"}},{"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":"app/javascript/pages/Wishlists/Index.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb336daac24ca83a258fa212f6df3f824a386751a65e2bc94e092223387604c4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/affiliate_mailer/collaborator/_table.html.erb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82c40b0e551bbfe4d4ea5a39a436b270322c8d45193d5ccb8624423d9eea71e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/affiliate_mailer/notify_collaborator_of_sale.html.erb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"928a3c23d9be252ba4feec05279eb767dc7ad92ab0e996c20fcf44a107745109"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/contacting_creator_mailer/notify.html.erb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e727e2d963d64e410cda1ca956049c0efdedda5dbda3732e1824dfd158a362be"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/contacting_creator_mailer/notify.html.erb"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e47536b0785b94b02425bb8ebf9982b287beb4440da765421aa53d70ce49c2"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/contacting_creator_mailer/seller_update.html.erb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8ff1e0e6591edcd331538ae11daef3eb675a22c8b2cfda6ad80e004326b716"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/creator_mailer/year_in_review.html.erb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b5949b38f341f0fa62b901417890af57328c95208762b34638a48e2e8c49ed"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/creator_mailer/year_in_review.html.erb"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a3290961398c6503b6044acab40431b199b33efb9d79380a99d58bc07819f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/creator_mailer/year_in_review.html.erb"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35e18c35703a19ee1968eac2ca079534d8747bad983ee2391be83b6efdab9b7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/customer_mailer/gift_receiver_receipt.html.erb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"762c1ca8679d6fb37cf46c2405ed17d626e07b436621a30eca986e18e69304c1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/customer_mailer/receipt/_attributes.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e60a8527264aa3853432d4d996bc6be60f4e29c617ed9f360664091f031156"}},{"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":"app/views/doorkeeper/authorizations/new.html.erb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28501a1977a3ecbc1b6c50f6572c82694a551da006b4f18c280856e6f50fbfe"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_110-gumroads-subprocessors.html.erb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c13b4cb08f5b231f4dc0f9a4ad6b52c7a11156fd2515251858526d6edf4895"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_153-setting-up-a-custom-domain.html.erb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f9a3521973627ae78ec307a1a2d23116f1f7f0853a1c62322d145c3cb330a6"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_153-setting-up-a-custom-domain.html.erb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d9612952c946885b7dd86b57e7098628d79f5775bb12084cc30ef18ce48927"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_153-setting-up-a-custom-domain.html.erb"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c2113b252219d5f92163b622da8ffaaa3357cf7bdcbf563134602a2b5b08b1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch3\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_190-how-do-i-get-a-refund.html.erb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c72ec7315b8b17ac7c00b8909e7efb7af74617bf3ddd7edf481e444d86b334c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_196-contact-gumroad.html.erb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edbe8ef8f6ebb51267c7df2c65385127eab2ee272d01d13588a4d7163a81f0d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_20-how-do-i-contact-gumroad.html.erb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02357259e89a81a3b5f167a9f3f379f2be5088b87c5c4fc957425fa6c3f2f94"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_270-url-parameters.html.erb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7350b333d222b2ed8dd1f801557e89c6a78d669e4792324ab09b21b0b702611"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_285-turning-off-third-party-trackers.html.erb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"834731078267813d2c2efde3f7d92eb19ae6bf03c990c459d7fff4284210a30e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_326-teams-and-roles.html.erb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"afba0c1fd19a34bd10e9eea3f0390d7d107ffe18e48b00e7b518c08ca13248a5"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch3\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/help_center/articles/contents/_54-not-receiving-updates.html.erb"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dc9c4798825507db09dea039d97cca7a5ca90f712ee668a8d05ff336820691"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: 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":"app/views/home/small_bets.html.erb"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45ec15a32eeba773343945a77706119068e7d32fcbfbc05709ed79ebf3092d5"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/layouts/inertia.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd1fa89e76bbd55bc3702d47cfe36c5f0ce38657c3e110ab3fee63c92877a4c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/layouts/mailers/_receipt_footer.html.erb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8519f292a1ad4c0a77229efac7506ba07c0bbac4ec3a92666ca4731d4e5a4d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/layouts/mailers/_subscription_restarted_footer.html.erb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eb300b7b2599803c592f9b2dd605b8c14648a424c4f0bb346f86665dd4969e"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/layouts/native.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"de603b6db110db1c26f46775007c1d77f8a7494cc55a04183e83f2661a08e184"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/layouts/native.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3990999d9b62406221aa197fff460ba7d65a18dbc67588b289a563a11de8e5e1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/layouts/native.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2441813cb5f95dfdc3887e076cbc3a5c576a2af0cd85929505e9ecbc441e2660"}},{"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":"app/views/oauth/device_authorizations/new.html.erb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d23beba0dd1983b64dda0402dc69cc0d8f5f57bf05955bd1729d0c0e02bcf9"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/purchases/invoices/create.pdf.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e011eba383bde24cc8722d69829f5a52d7dd6b57646b551e00b9ea9e16dfe2a"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/purchases/invoices/create.pdf.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3efd6aa3de85b7dd15d76c1314c818c0d7c928996b8063fab6293170beb0fdf"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/purchases/invoices/create.pdf.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0706c6980047c93b7918e775bb50f1e7618121ff13fb1bddbf0dd54af24254"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/service_mailer/service_charge_receipt.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9281910339c44eb003aefab3815af3e1bb9b8d22cfe730a1f73ec2c35445e3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/service_mailer/service_charge_receipt.html.erb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e78477f28241bf898531615840e6b7750819c949bef8c7c834b6c1c6aff0c61"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/shared/_product_preview_oembed.erb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbba956b6c5dbc780966c5e49e8c641e6b834cd48711d16e0e59ca8e7c33d421"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/third_party_analytics/index.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac145094f3f4da9b5132e259cb6472a06311ac8a49cb0d117b28e2a6ee7393e"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/third_party_analytics/index.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa76543ab3083b7d198e57c3d4c0d0a9a75fb69df55ca1383b1b6943b5a9f230"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/third_party_analytics/index.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c375391f76ad3a8a0507ee30c899a98d0cc90469bd566f94bacf3e2c319e86cb"}},{"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/401.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ae0bafec45c31cc4e85974fdf77096436d78c1306e566bfba725229d444633"}},{"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/404.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f58360c35cb03d42c0bb2d8a47cc4bffbda73ad4ce70e8370ed5c2c0dfa4677"}},{"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/422.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"980f54903ce4d9aa7c45a14e539dd8a6a7b2ac9eeccc4f8ddbc82abed83aca23"}},{"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/500.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afe2925828f4947ba69a14ff6f205790dc0264118b0c9c5ef032751b656652b"}},{"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/503.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9d27a95d543193d301dca035bc99e6b2b4eaa95946df77874e69560d56d2d7"}},{"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/cloudflare_challenge.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e0a2e1b6cc730db543d6ca6df7f62f84e59935b9b6dcd695a705bf79af3cad"}},{"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/cloudflare_down.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf969e239c937d5a16760ced5f72d4b1a2539bdbb62bd3f5aa8e34b2866da81"}},{"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/cloudflare_not_available.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5927defffc6ff13a97b2983458546bbd11b59d259c0016e7c7f3b2f553377c3"}},{"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/cloudflare_timeout.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d8eb0bbfea57f154169629983757084632cddf14868c4283775a8e2f4d8ea8"}},{"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/cloudflare_wait.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a83ca6904c81f9667cc45af639abc1a5bef84090e650f0814353513a48a71a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6751e41380843bf41bc4613c0452a49bc2b5060ee8f687a1ac18fcc5292e580f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessage.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5413d7106b26a247eca24a7a2d0f9dd707e49d2ed3e9aaf0b480db40586cfbd8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessage.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"392db497b057588314181b72d60111f40a43774441590141a26cfac4be0b889f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DashboardPage.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4200762ffb2e8b30ca60c97af1b0253776c3af02388102af59594f1f969bb5"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DashboardPage.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39093d8d858a2a557b51242e827b19d1e63a6c84dbe4721650bf8132eba87ed"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/NestedMenu.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"13980acf5a685200fff9835b3629a3a95b423185bd7972dbe54e447e9ee9c964"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/NestedMenu.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0137744a4a3f9529df14001c752e3228a0c11b0ca959b10dd673d26e9ba4f7"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022tab\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022tab\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022tab\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Covers/index.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c925464feaf425416da923e0544a27d68f03d719f7178ea1a0db67614f181e"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/Layout.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cc67b0f67923d476f257f5a376629e49a430a6cd4d72cc13c71f5d80e1bad0"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022radio\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022radio\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022radio\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RatingSelector.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf85cdc1583d600d3fd0adb5019321850d15ee44568f6cac18ff0ef1b6905d6a"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cspan\u003E: This \u003Cspan\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64284922729029176a6bb010bb094d271a910b3cb256f895e71872ad8c02d59"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/Alert.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"741248b14ae6a05451f0d95ff533da116d880ffc7ede6925a2635d6bea1ae57a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Discover/Index.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8332a36b280e28c2c9701f1c3665517ba88cfebdefe3dfdea9d74567dc50188d"}},{"ruleId":"AC5","level":"error","message":{"text":"Invalid ARIA role \u0022nav\u0022: This role is not a valid WAI-ARIA role, so assistive tech ignores it. Use a valid role (or the native element)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Discover/Nav.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"814255d8bb9e3736f5349947200d517e00b01f9ec71f1def818d018a375009f6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"64985ca77ebc2c529061b9d982e5a98419b1248f40826956ca641b4c56a47fe2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/LoadingSpinner.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"619c4d6d2352f40da1d7220d5858ac2be133a605e2c8c49580023ddd45e47333"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/PriceChecker/index.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba6f4797d5780611b7d1ad10398009307bc3e79969477d4b099bf10b129edf2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ui/Input.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5d19897350060bbbc2eada6c6087fb59b055f82b11f81ab36240b655f0c81e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ui/Textarea.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1f4d01d375ff31b834d054e0a5f454393afdadd4ffc12f6a06b3e1f1630d31"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.gr-slider::-webkit-slider-thumb\u0060 moves (\u0060transition: box-shadow 0.08s, transform 0.08s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/saas.html.erb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e3e8c5f2a20ef85a4df03d5596b25a145a3f25f5c55c25d75a249a7b20d441"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.gr-slider::-moz-range-thumb\u0060 moves (\u0060transition: box-shadow 0.08s, transform 0.08s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/saas.html.erb"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9330e493aa35cedb8adcf38c1c69fcc7459e1bb32b800422862e4cba3b33a5f6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.gr-slider\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/home/saas.html.erb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b08c5ba3568552d11d4697b0d164a15d0ccb4230fe5d1c346ae97fc007b1a6b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Csvg\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"public/cloudflare_wait.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33fef79c8cdf726b06e6801e6fa473685329b4c29e9a73b45ecc670ce913b20"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.parallax-up\u0060 moves (\u0060transition: transform 0.1s linear\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/stylesheets/tailwind.css"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbc7481c7176439393cd0dab14745e1505d672f9bf0fff8adcb2d66c6dab28a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.parallax-up\u0060 moves (\u0060animation: parallax-scroll linear\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/stylesheets/tailwind.css"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c82e759f42dea8b49405e238cd506eedc6bc0607effbae21e09339e8f8606a7"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 906 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"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":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: AdminApiToken: \u0060AdminApiToken\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/admin_api_token.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3a3ddedaa93c29f5036a7918d176e397222952db5c02324f1a5074d2188bd5"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: AffiliateRequest: \u0060AffiliateRequest\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/affiliate_request.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cbe45a38063d8928f7df7c2e2dfdf63ce15527ca0b45d77e7f1fbdb746d493"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Balance: \u0060Balance\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/balance.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6123aa20b5a2fdddea44cc52b21fe959675cac97a835ec532ac26e3ded70eee"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: BalanceTransaction: \u0060BalanceTransaction\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/balance_transaction.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c130eafb689ab393c4cebb4d6e9dc9cfc2ecf7b3cb5065b965bdc62b79b11acc"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: BankAccount: \u0060BankAccount\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/bank_account.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec114dd1569f038b980d3af02360df329fe51c9c53e32fb9bf97e4ad40c2baee"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: BlockedCustomerObject: \u0060BlockedCustomerObject\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/blocked_customer_object.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff709f51e59bd00b91a8038341ca0b4dc41c7ec8f97b17fbb724709b97560e6"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Charge: \u0060Charge\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/charge.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf69b84247dd07eae01715d29f29876d8640ca26e64531e85db61aa3da9a6093"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: CollaboratorInvitation: \u0060CollaboratorInvitation\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/collaborator_invitation.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb96f6865e9ed4121e5f848e8470612f1ac4580351c1afb75cdd0463b806756b"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Commission: \u0060Commission\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/commission.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e597079718a692150c01ea1dcb92d599cd18cb8687360d725b424a25f02c608e"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: CommunityChatRecapRun: \u0060CommunityChatRecapRun\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/community_chat_recap_run.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b3d00b6e5044a07bf82f16a26aa4c11304bc58a8248d7531b83cb9471bc9dc"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Credit: \u0060Credit\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/credit.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1649fa10f6862705fb4387afa388e6a3362d0630e3887f1a5ca3277e5b9250c"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: CreditCard: \u0060CreditCard\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/credit_card.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88dadf629cdd065ef4cd0fc41a4a92636ca48cfb4742bc54391c9fc776b8273"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: CustomDomain: \u0060CustomDomain\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/custom_domain.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6506c2b92b688191beea777596b81d55a1407e7a9eadf2272569256fcf236d2"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Dispute: \u0060Dispute\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/dispute.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab1bd3e7b5139eedeaeb810e6465e58157280458ebff58c2db4b7d1e0d72c98"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: DropboxFile: \u0060DropboxFile\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/dropbox_file.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c625d07b9c31aecf40818bc2cc910f8f16994e39ad4e72aacfe0e3905704925"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: EmailInfo: \u0060EmailInfo\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/email_info.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50816db6338037e69fac24ce7f511b86ece2b805242ab54cf8bfd82228d797d"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: FailedRefundException: \u0060FailedRefundException\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/failed_refund_exception.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac56721b1c139bfc0366f5dfeefb44451b30a8bdad98a4e4fc6a257bcdc01ff"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: FeatureAnnouncementCampaign: \u0060FeatureAnnouncementCampaign\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/feature_announcement_campaign.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba85f05bf52c073cc9bf2702f0f653579be5bf99f748250c4faf0ebc73c216ab"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: FeatureAnnouncementDelivery: \u0060FeatureAnnouncementDelivery\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/feature_announcement_delivery.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5327e37be15fb01d63e8fc8b0776043e0ec215687c8c01df22f303a1351441df"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Follower: \u0060Follower\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/follower.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea148a16e70ad3990676b6b8f13f4db41714c5d1c9315c5eca5a4f513b1ea53"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Gift: \u0060Gift\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/gift.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d76ee023599be368978522deb1e191574bb792654e3820a27dd388564852ac6"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Guardian: \u0060Guardian\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/guardian.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93fd3df4330c194d24014f04cc659b5158f71a5cc59380f7862e9d3afa149b5"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Installment: \u0060Installment\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1487ae7f0c881faa4f7882334f7ac92d59a3d478388c8044010b0cb181c846"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: InstallmentRule: \u0060InstallmentRule\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment_rule.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"88858b079ad48d33d6c815e10d2cb3a7232db13cf9b3c5517961af7b9ce80a79"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Invite: \u0060Invite\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/invite.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb042f4871642d725c5a3ff7fce53adbc2768c2e044dc9f73c1511fa80413e0a"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: License: \u0060License\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/license.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"82523f3d0b399652e3d2fdc34889d8df65a77de23e889d357ff247c30aaff968"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Link: \u0060Link\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f6ce826a771c280594f869a9467f9072c56552cb3825c9efd07236ac71d206"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Action: \u0060Action\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/marketing/action.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30e91f371c3094fbacfcea6835a772658a4e1b7f6bb1e5f2129b84705ca4d0e"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: MerchantAccount: \u0060MerchantAccount\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/merchant_account.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc918d1ee4df79a6b452f6dd68f09194babb909647e458d3fdbb2a0721a22ed"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: OauthDeviceAuthorization: \u0060OauthDeviceAuthorization\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/oauth_device_authorization.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e940771f8591d16173e3c2b0c4cb7bdbde80c7050dfce2880bd35e2f9598d34"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Order: \u0060Order\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/order.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60709a889c3244db2eb0592a130815969d2fcbd20754321bcecce84d291e99c"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Payment: \u0060Payment\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/payment.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"85111e525d595e7a1a2c0a8c7c0938d0a406e184c5b08144c515765e583b4bc5"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: PiracyReport: \u0060PiracyReport\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/piracy_report.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6143519447ae3042f05e5d6acbf73b3ab04d00bc5f8e199745f3c8d65900adc9"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: PlatformBlock: \u0060PlatformBlock\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/platform_block.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"db76b71d5f668a0bbef93471a81defd57fc08a8edf7d6913c5ea3870070fe4de"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Preorder: \u0060Preorder\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/preorder.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4961f6cc908234421fe5698a76927064b8828945f23d31987352d3ac2c537588"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: PreorderLink: \u0060PreorderLink\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/preorder_link.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4755ab431bcc057a5f44953c7b29f09e60b2133d2de2b2a83f5947f0890523b"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: ProductCachedValue: \u0060ProductCachedValue\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/product_cached_value.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"808187c9d88ca3179bf41ed829c16cc9ba6b7486a822b561e4a23870e26ab5f3"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: ProductFile: \u0060ProductFile\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/product_file.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c47199b60a89cb83a9c767aedcfbd6594c2d397ee96ca8f3644275be04ff4c7"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: ProductFilesArchive: \u0060ProductFilesArchive\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/product_files_archive.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3627337d01420534339fa0a8e883cdef7036fe4604a4d22e31ac890cee227b"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: ProductInstallmentPlan: \u0060ProductInstallmentPlan\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/product_installment_plan.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b5df51e017a23111f3b9aee7ab1505328367c81d8a01f6800ace17dc2b05ba"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: PublicFile: \u0060PublicFile\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/public_file.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9800a1c84431d26312516b22de9da48f3223eb3e4d65635cc24bdae542de64f4"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Purchase: \u0060Purchase\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a080075e3e12960161bca473cdb8d433bd3747fd6688e902f80ef7c903ec24"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Refund: \u0060Refund\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/refund.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"732d06337d9c8371a60aaa65f2a1cb8d9c234fe441d8d2d0364d224b5fa4cfb2"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: RichContent: \u0060RichContent\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/rich_content.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"55175877dc32200920aa2342e1072088f50901c797a7ce9743afac12f4955836"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: ScheduledPayout: \u0060ScheduledPayout\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/scheduled_payout.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1063755e66b180df5fc68689e8aa8b1334344b284c9fd3f843ef6d0bed48b02a"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: ServiceCharge: \u0060ServiceCharge\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/service_charge.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"395d6a4c92bcdd62ab70e546a53fc2ffe905281086d22836aeee6b98e5a7f7e1"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Shipment: \u0060Shipment\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/shipment.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"14791a29159c1fbe6addb8d6ca44bd763c8e95e66337a7bdaec1794117e9a9d2"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: SocialConnectVerification: \u0060SocialConnectVerification\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/social_connect_verification.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38c65ba08ea463673a4d6be22d98d2d1c4ac2f72898d7be958b1cf7a7ab1c57"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Subscription: \u0060Subscription\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"39458f5bb1e72799f31a331a74b505a643675bfdd3674cae864ad56b56282920"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: SubscriptionPlanChange: \u0060SubscriptionPlanChange\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subscription_plan_change.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ff842e843aa27d3e061a6910127b15a215fd3e96b7dd728e50225b30bd5b75"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: SubtitleFile: \u0060SubtitleFile\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/subtitle_file.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6728ea2c1ba18d377fcc1da332e21f185125182ad5f6858bd48cb16748ea52af"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Tag: \u0060Tag\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/tag.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83e4240167de8e0bf1553a19e73f36c52481dce12f6da7dd00e0d57e73323a9"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: TaxRemittance: \u0060TaxRemittance\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/tax_remittance.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"29781d85bcdec9a2799a052db4479e5cdf830c9078ca2e5aecbec0ed3f516e6c"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: TotpCredential: \u0060TotpCredential\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/totp_credential.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e3b71787a7b625683ef7b9174928d15ed63a3a6598fd1b5e739b3222c034ea"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: TranscodedVideo: \u0060TranscodedVideo\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/transcoded_video.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17499809591389165983a284d6a0887db1246f0b7af3496a4e1f3aa3c5bc9e2"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: UrlRedirect: \u0060UrlRedirect\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/url_redirect.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a148fac206c22a83f2d0d3c962a7a56ab67bbce860eefbb931cc70af982c665"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: User: \u0060User\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eaef449c757115c7383c0bf6e223c91522160052aff8cfe40806c1de1c04b2"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: UserComplianceInfoRequest: \u0060UserComplianceInfoRequest\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user_compliance_info_request.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"416befe58e3b938de7cdf4d316274c5cb70c65b64dcc1503d35a8315a1c539b4"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: UtmLink: \u0060UtmLink\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/utm_link.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5123af94906163c1333b5c8f34515195f24dd8b98a76bb6efdd4f198156ecafd"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: WatchedUser: \u0060WatchedUser\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/watched_user.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fab707fef634e4e62d6d26b4588778130c5e4a746599378b68a79b37f3032f0"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Wishlist: \u0060Wishlist\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/wishlist.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21d00839887ce6bf8d0bdebcf1ad02efc8ad9144922c0942372a67452d7145b"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Workflow: \u0060Workflow\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/workflow.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"495858d13831440f8edf8711cb03476753ed66b3d04f8ef215d2e6db3280112b"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: WorkflowInstallmentScheduleIntent: \u0060WorkflowInstallmentScheduleIntent\u0060 is a domain concept fused to persistence ON ITS OWN DECLARATION (Rails ActiveRecord \u2014 \u0060ApplicationRecord\u0060) \u2014 the domain entity IS the ActiveRecord row (active-record), and it carries domain behaviour on the persistence type. A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/workflow_installment_schedule_intent.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fe2a655e295c132989d7f53000aafc74a5abb0becc71f2dc3a6097594bfd21"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060braintree_device_data\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/braintree/braintree_chargeable_credit_card.rb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c000e376185e873468b42ac6770aa1226595c4c470b2d83a1b46f40b2363411"}},{"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":"spec/config/test_redis_isolation_spec.rb"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ed3d7b6cb938faea85ae8224e47109c4f590ff4b92066a8980671d61761fa6"}},{"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":"spec/requests/products/collabs_spec.rb"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9498bb9db8e44d472f1b2d7a1740e7d3c10580fb62e6800aa06ff887a16ff4b8"}},{"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":"spec/requests/products/collabs_spec.rb"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3629861aca30f2eb45996e4de4933c749887105de9da1e83139975bb01f37d47"}},{"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":"M4","level":"note","message":{"text":"README/code drift: CONTRIBUTING.md links to \u0060./before.png\u0060, but \u0060before.png\u0060 does not exist. 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":"CONTRIBUTING.md"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe09df08deb1303dbbfb3a87897a46c166913935825a84c8d72a962d801d8cb"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add brakeman for Rails apps, otherwise \u0060semgrep --config=auto\u0060 or CodeQL\u0027s ruby pack as a CI step. What was searched, so you can tell an absence from a miss: the 144542 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/integrations/paypal_integration_rest_api.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5957e353e7c58920f458835b1660bd88e8c67eeca6c11b0f18c963ed71e0b9e3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/integrations/paypal_partner_rest_credentials.rb"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1536b29237d2c8b94388574b7ec1051b088364f2049870d696c6c61b3af03bf"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a68b7c10d7fdda9a66a5ae4eff0c94c922620a08cee57362125062b8d1cae48"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"4558e1adcf25c938f0d4b94f8e0bc3754cec10cf507f4e4e16568bfb90f96132"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"452eba5e32bd57902da09d60de4271db1fec2b24682ed748cbef6b9b7b465d0a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b64967115b275ade90d751d857c50d35a64b1ddcb79fb48b98fce71c945bd3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b7138ccc90048cf8da88b588fda451be75ba6249252db6519f1cce9c6d663f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cd276fbc1db1b2b8a901b730fef09962c28b77d9b213af00e006f962f19310"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/payouts/processor/paypal/paypal_payout_processor.rb"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"162b6b2d4130909564d6a717fdb172c40fd61aedef7370700c1695548588d3b8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Net::HTTP.start\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/reports/stripe_balance_summaries_report.rb"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"862fad527a59819e3df317debe55258bef9316e9dd788e70f226c9ce8cba47d7"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.get\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/dropbox_file.rb"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3428455b91543c604774231f2bccea9713bb4c18339b1632fef5a039866af539"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060RestClient::\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/google_calendar_integration.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef1874f07d8d8ecd8c9878e86f98214afee326c4b37ef2dd8b7826adf68af59"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Net::HTTP.new\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/multipart_transfer.rb"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c971a52fa732768d5007e7209f62c02000e30610211b4043cdbf0bfecf0e347"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.head\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/multipart_transfer.rb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda249a2004371d837ab189e28017776255bd94fbff763bc8eb01404d594ee13"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/circle_api.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"283daf6f9d89024b233d6d61d21a30954411b72a4353db03d03928b69403ecd3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/discord_api.rb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"df26613807cc41a3b8b86b9f4031ffd766bc330e9b506da3f542637146b6cf2a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/google_calendar_api.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a899bf64b6827f7b49a655ac7e05c9b7711f14d1cb9cb80ff33ae5680ebaf11"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/google_calendar_api.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f2ee1b181e08ae2ebb5ea1dba19a3ef90b82f998cff900156b4d7da9b1d6d1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/google_calendar_api.rb"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4cdd60c2eeaaf71a0b2466941538fd0496eda78e943452c61f69ebf7ab0a25"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/google_calendar_api.rb"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fadbcf7df54b35c185fa91dc5add967e684982137d8a02ff743805156882f3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/notion_api.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c617a8a78aacd5042a0e380d38401587789fd824706c833d99c68a938e74ff8a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/regional_vat_id_validation_service.rb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1952d8d5188da18a431b8ad0dbda0f8a6485ebd6c3f6ed3d2ed73278bffb964f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/stripe_tax_forms_api.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04093c4ef3d7bc102ba6569cdbf5ff38482dd214cb37febd615d61a9499c049"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.get\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/stripe_tax_forms_api.rb"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e772a3028a91f3b59b23e4b0fa1c613e36f776ca0ac92c8c493178ea816ef9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/stripe_tax_forms_api.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09f78800020c49ee12efd9a2729321440b18643e71528cd1a14aba8fdcae567"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/zoom_api.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b26be8b88df5e9a382dbcd16d6fe1ab6b577a1a19e057ec64a0332d2bed2bc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.post\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/zoom_api.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b76b38284602237144fce6ef0c6316608c4323e18e277676ab52b4768f3b0b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Net::HTTP.start\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/transcode_video_for_streaming_worker.rb"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"220fe00025ea32b1eb7234a79b4f5605a3c1275b03c6cc9e50085cfea6cc0cf1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HTTParty.get\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":"db/migrate/20120501233604_migrate_preview_images_on_links.rb"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2317036c78c5bbec7f67d94df4a3286c5a5ec49dff57645d1ee814ef952c8d10"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Net::HTTP.get\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utilities/sidekiq_utility.rb"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2158a83a8feb55676b98f02123704108a2ad40b889bb2b30190a00882091dbb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 26 sibling directories (69 clone groups): 69 duplicated blocks under app/javascript/components/ have copies in at least two of the sibling directories Agent, Analytics, ApiDocumentation, Audience, BundleEdit, Checkout (\u002B20 more sibling(s) not listed) \u2014 35 of them are reported below, and 34 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 69 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 69 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 69 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/RichContent.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a86f8527d2bb0a29c335c9331c72be6b2cbda1c64bc0293ab04351888ac6aa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (50 clone groups): 50 duplicated blocks under app/javascript/ have copies in at least two of the sibling directories components, data, entrypoints, packs, pages, parsers (\u002B1 more sibling(s) not listed) \u2014 26 of them are reported below, and 24 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 50 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 50 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 50 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/mobile_tracking.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c137e9e4fa4e3dd5157368cd97687c9f59cf530ed559d61e9c46ccd9befe7c07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 24 sibling directories (24 clone groups): 24 duplicated blocks under app/javascript/pages/ have copies in at least two of the sibling directories Affiliates, Audience, Collaborators, Customers, Dashboard, Emails (\u002B18 more sibling(s) not listed) \u2014 12 of them are reported below, and 12 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 24 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 24 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 24 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Collaborators/Index.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34fdd10535309aa041e5c4f28dd87691eae562c85b51f1f2ed347144ebcafe3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (5 clone groups): 5 duplicated blocks under app/javascript/pages/Bundles/ have copies in at least two of the sibling directories Content, Product, Share \u2014 1 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Content/Edit.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"627dc57f30ca28d135805e2f9544c946d9c13f42eee4ca0097b32f934e7ba7ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (176 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/DurationsEditor.tsx:22 \u00B7 app/javascript/components/ProductEdit/ProductTab/VersionsEditor.tsx:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 1130 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DurationsEditor.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1093dc0428ad7554a86a00881257d2bda2c46b776daba7399db51975e645838"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (174 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx:54 \u00B7 app/javascript/components/ProductEdit/ProductTab/VersionsEditor.tsx:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 1129 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0765b80f0336b30242dda14ff94f1778d724521fc63553297379f55219eb63d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (151 matched lines \u00D7 2 locations): app/javascript/components/ProductsPage/MembershipsTable.tsx:27 \u00B7 app/javascript/components/ProductsPage/ProductsTable.tsx:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 1010 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/MembershipsTable.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e79e079b8487e622cfa89de174ae1ccee16380bafe6faacb8801cb9e607927e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (114 matched lines \u00D7 2 locations): app/javascript/pages/Affiliates/Edit.tsx:29 \u00B7 app/javascript/pages/Affiliates/New.tsx:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 676 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Edit.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"950c783877b17d7511df7ca528dbd0f24a5267c85488f508632a91212e45eac3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (90 matched lines \u00D7 2 locations): app/javascript/components/ProductsPage/Collabs/MembershipsTable.tsx:24 \u00B7 app/javascript/components/ProductsPage/Collabs/ProductsTable.tsx:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 657 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/Collabs/MembershipsTable.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0544d66753ceea75102de42c9a9dda4db8ba210bbe256f844afd984dc2daf90d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (86 matched lines \u00D7 2 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:1082 \u00B7 app/javascript/components/Audience/CustomerDetailPage.tsx:1502 \u2014 the two spans are one implementation copied and then locally edited \u2014 499 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f7c58d409ed2124378526478543852d08faa8bac84f8caad28d4db0792e2b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (77 matched lines \u00D7 2 locations): app/javascript/components/Profile/FollowForm.tsx:22 \u00B7 app/javascript/components/Profile/FollowUserForm.tsx:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 418 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/FollowForm.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c74da9a25278dd7e9585611f5d096d70baebe46964528b20a88e791eee6aa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (70 identical lines \u00D7 2 files): app/javascript/entrypoints/mobile_tracking.ts:1 \u00B7 app/javascript/packs/mobile_tracking.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 70 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/mobile_tracking.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5325eefb10362f6927355457b0eee529f11cb8c72d528a19cad5f526176997"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 4 locations): app/javascript/components/ApiDocumentation/Endpoints/Licenses.tsx:25 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Licenses.tsx:95 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Licenses.tsx:165 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Licenses.tsx:235 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Licenses.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68753a03ee2437085f241941dfd58bf9b4cedee4988ee68cfe50b084ac0c890"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): app/javascript/pages/Collaborators/Index.tsx:77 \u00B7 app/javascript/pages/UtmLinks/Index.tsx:191 \u2014 the two spans are one implementation copied and then locally edited \u2014 312 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Collaborators/Index.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dbbf7abbcb51d4f9fed394b0afaeacbdbbb727b7d355f0290a0730aacc0994"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (60 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/CircleIntegrationEditor.tsx:96 \u00B7 app/javascript/components/ProductEdit/ProductTab/DiscordIntegrationEditor.tsx:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 301 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CircleIntegrationEditor.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f661c544ed8602bd0d69fb109f386d961602a39190b5e5665890dc3879b9d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): app/javascript/components/TiptapExtensions/LicenseKey.tsx:32 \u00B7 app/javascript/components/TiptapExtensions/Posts.tsx:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 302 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/LicenseKey.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"696037bfc4aea016186783ebd31b7b1829f2fa2ba019238f7be0af555d9368b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2 locations): app/javascript/pages/Settings/Payments/Show.tsx:849 \u00B7 app/javascript/pages/Settings/Payments/Show.tsx:1082 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1955bf96c137c74ccb23b2b21972274a79702d7deb44a6ef41fec7957fcbf68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): app/javascript/pages/Emails/Drafts.tsx:96 \u00B7 app/javascript/pages/Emails/Scheduled.tsx:117 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Drafts.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac59593dd280ae01900b4ddc57ee699fc3ab0c01a588f885af4c17317d40c421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): app/javascript/components/ConfirmBalanceForfeitOnPayoutMethodChangeModal.tsx:28 \u00B7 app/javascript/components/UpdateCountryConfirmationModal.tsx:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 241 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ConfirmBalanceForfeitOnPayoutMethodChangeModal.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"857a88a56421cadb952546ed7b7a1a88cd21d2288a850ba1ef6b4cecf94b2947"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): app/javascript/pages/Wishlists/Following/Index.tsx:60 \u00B7 app/javascript/pages/Wishlists/Index.tsx:76 \u2014 the two spans are one implementation copied and then locally edited \u2014 256 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Wishlists/Following/Index.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"09476d2fbe3d33438ddbb133fccd5f667db5db50f07e72a958a98494a5e2d179"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): app/javascript/components/CurrentSeller.ts:24 \u00B7 app/javascript/components/LoggedInUser.ts:99 \u2014 the two spans are one implementation copied and then locally edited \u2014 227 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CurrentSeller.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5960d64698f241dd97395d43636b1070252e7f1e272fe8f79fb325d1eb313923"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:765 \u00B7 app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:819 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcedab5a9b47a9f2d835acf0b74f03adc723bdcd8db7c8b6a82bd139401fa71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): app/javascript/components/ApiDocumentation/Endpoints/Emails.tsx:118 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Emails.tsx:336 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Emails.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1cb86c84536bb357df565752c4b46cccbbb98e76a2019040d1bcfaa66ad77b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): app/javascript/pages/User/Passwords/Edit.tsx:24 \u00B7 app/javascript/pages/User/Passwords/New.tsx:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 222 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/User/Passwords/Edit.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60cdc49945ebe7676b9fe14680a37b670c4453c4bb835b1e6226afcfebc841d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): app/javascript/components/Product/Card.tsx:44 \u00B7 app/javascript/components/Product/Card.tsx:109 \u2014 the two spans are one implementation copied and then locally edited \u2014 220 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Card.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cca6c6d2d56dadb152d2b8f4b6b56c22f435d104da2a8b477335fa6b8f58a74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/SuggestedAmountsEditor.tsx:13 \u00B7 app/javascript/components/ProductEdit/ProductTab/VersionsEditor.tsx:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 257 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/SuggestedAmountsEditor.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2129220b087e107169e35feefc60e71acc61e494d637eb8d4627da0e5dbd11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): app/javascript/components/Download/RichContent.tsx:367 \u00B7 app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx:269 \u2014 the two spans are one implementation copied and then locally edited \u2014 166 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/RichContent.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aea12de876a53921b679bb6f79a20bc1966b00bb2821681fc5df99e700b97b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx:742 \u00B7 app/javascript/components/TiptapExtensions/PublicFileEmbed.tsx:96 \u2014 the two spans are one implementation copied and then locally edited \u2014 196 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafd2f102da44d59580e5997a1a45ae0f242b84d24d479a2b36fc22f1913ee1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): app/javascript/components/ProductsPage/Collabs/MembershipsTable.tsx:64 \u00B7 app/javascript/components/ProductsPage/MembershipsTable.tsx:100 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/Collabs/MembershipsTable.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2ed50b1232a23cf8ffd9dd5898b6064d567f1d13bd14c242201e195a70eb94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): app/javascript/components/Profile/SectionsForm.tsx:368 \u00B7 app/javascript/components/Profile/SectionsForm.tsx:619 \u2014 the two spans are one implementation copied and then locally edited \u2014 174 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc830bd515d6c6fb36c2f7d8875ec21f52f2ea646729bb3712fac1db9e5d658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): app/javascript/components/DashboardPage.tsx:379 \u00B7 app/javascript/components/ProductEdit/Layout.tsx:274 \u2014 the two spans are one implementation copied and then locally edited \u2014 150 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DashboardPage.tsx"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"906be697a346d404bfd6044d4bcbf985a0a465ede916863f98239f35c28e52f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:737 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:1274 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"790081de4f3d014ff18c1ff5f4a4b1f1f4c34f5937b54f973bb3e16fb7d9cc9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:842 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:972 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1002 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1032 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"933aa50ecb7854cd845bbb62360709d76e664e52ba61121249c3b9581b3aa302"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): app/javascript/pages/UrlRedirects/Read.tsx:414 \u00B7 app/javascript/pages/UrlRedirects/Read.tsx:821 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"1931e3492a48ff2c761c0af5287e33d1533543ab9096fa1cf601fda613bea41c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx:294 \u00B7 app/javascript/components/server-components/ProductEditPage.tsx:918 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcff1d23ad670a265ccecaa1c447ab50ee51b87b39628371dbddd1e648700db7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): app/javascript/pages/Checkout/Show.tsx:1213 \u00B7 app/javascript/pages/Checkout/Show.tsx:1262 \u2014 the two spans are one implementation copied and then locally edited \u2014 94 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b83a24ddabc46ba69bc863667b532b5689c6925b5417c39ae35775b848c6987"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): app/javascript/pages/Emails/Drafts.tsx:65 \u00B7 app/javascript/pages/Emails/Scheduled.tsx:81 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Drafts.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e551434761b93b33a04e9c64bbd7a66099c0a74d666eee7c498870a4dc3701"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): app/javascript/components/Analytics/LocationsTable.tsx:102 \u00B7 app/javascript/components/Analytics/ReferrersTable.tsx:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 181 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/LocationsTable.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ec551601240d2bb92c592db9a409f06c8182ee9a48b132170c692f50ceb49c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:227 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa452471e90a7359c8f0865c34514dbe0a239c75ba888cb729e3658090bbb46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:782 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:876 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7172e08f5e18faa902d334ca5a9f193bccdd87ce5191d88eac7652d64c067ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): app/javascript/data/upsells.ts:43 \u00B7 app/javascript/data/upsells.ts:92 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/upsells.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"da649636a1de85fa75abea0ea9a6d6177745acb5c1b35d2005b1bdd4d0513053"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): app/javascript/data/order.ts:330 \u00B7 app/javascript/data/order.ts:437 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/order.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22181f328ef4fa12f3bec094b4102372faffa34c474cfd4b3ddd23eb1c635d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): app/javascript/pages/Logins/New.tsx:99 \u00B7 app/javascript/utils/passkeyRegistration.ts:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 166 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Logins/New.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6782aa88e71bab137d750229a9f745cffa202b013fad1ff47b78570241f52d13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:251 \u00B7 app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a16a1721ac03250e8a18ad27e4477625497b50777e64ead1f84b76b5ddc1af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): app/javascript/data/order.ts:211 \u00B7 app/javascript/data/order.ts:257 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/order.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f69cd09e82b9c06f6ef03fa698628e02a0d2ee6509e74752fe5a76db0453bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): app/javascript/pages/Purchases/DisputeEvidence/Show.tsx:337 \u00B7 app/javascript/pages/Purchases/DisputeEvidence/Show.tsx:365 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"e414f54d0294515425ade62b85f47c6004cac705a8dd863aff7d6e585377d06b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): app/javascript/components/ProductsPage/Collabs/ProductsTable.tsx:61 \u00B7 app/javascript/components/ProductsPage/ProductsTable.tsx:130 \u2014 the two spans are one implementation copied and then locally edited \u2014 148 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/Collabs/ProductsTable.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f741bd08c0e114152bfb2e66a25077f829bc76498c0871e75702ebbcf3a3eb07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): app/javascript/data/discord_integration.ts:30 \u00B7 app/javascript/data/discord_integration.ts:54 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/discord_integration.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb63bac90da3487d89e9595eef53bd9e77e761ffebde2e6d05b64ed3bd92682"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): app/javascript/data/payment_method_result.ts:181 \u00B7 app/javascript/data/payment_method_result.ts:214 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/payment_method_result.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"941cfed07faf600c7ba781f0222616a8ba4c3dd2d7667554c8ebdb47828b8865"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:464 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:398 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed9c7aca95060560625fb0fdb75d8d3f5106c301daf7b37143ee79b41afaccd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): app/javascript/components/BundleEdit/Layout.tsx:242 \u00B7 app/javascript/components/ProductEdit/Layout.tsx:477 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/BundleEdit/Layout.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf71e14b2e04615eb57c36c74cc2ca64b33b84309d58d27e1e87384833e16761"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): app/javascript/components/Product/Covers/Embed.tsx:7 \u00B7 app/javascript/components/Product/Covers/Video.tsx:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 122 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Covers/Embed.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a8f305619b44ff04b139aba1019e0656fd4dd30c70eb71a9f9e284a14dde3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:2561 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:2581 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd9c4c95e72c76556915bb080e9c9f2ddc9e1f57696454643410c04a3e0309f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6 locations): app/javascript/components/ApiDocumentation/Endpoints/CustomFields.tsx:76 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/CustomFields.tsx:111 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:53 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:81 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/CustomFields.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44c94ecc2418e31d48ba17b462fcada7b850a7f852f343af5dd28ede12f5560"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/javascript/components/Checkout/CustomFields.tsx:37 \u00B7 app/javascript/components/Checkout/CustomFields.tsx:57 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/CustomFields.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf0cf44ad8fdb055fd1a57f7c0319823df0328c1a2e93e23b448297c5735ab1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:243 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:144 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3415081caad43aed8ca949b624e15b3d0a66483ecac9276fadb14bc788e3366d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): app/javascript/components/ProductEdit/ProductTab/DurationsEditor.tsx:153 \u00B7 app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx:234 \u00B7 app/javascript/components/ProductEdit/ProductTab/VersionsEditor.tsx:159 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DurationsEditor.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c0992a2d0778e24170a7647a82478e74bb86557418b5e813d64dc87797c907"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:654 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:1092 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdbfd083ec8f2193f4f85d1b1295ce98bf1948a30aaf8ac80185ec68d08f4fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 10 locations): app/javascript/components/icons/getting-started/CustomizeProfileIcon.tsx:37 \u00B7 app/javascript/components/icons/getting-started/EmailBlastIcon.tsx:54 \u00B7 app/javascript/components/icons/getting-started/EmailBlastIcon.tsx:75 \u00B7 app/javascript/components/icons/getting-started/EmailBlastIcon.tsx:96 \u00B7 \u002B6 more site(s) not listed \u2014 the 7 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/CustomizeProfileIcon.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d0cb440c0c395c9c7524bed09ce2578b1a5ff306cca041879c43470391ad25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/javascript/data/charge.ts:4 \u00B7 app/javascript/data/charge.ts:23 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/charge.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8369993397e3cc78d75d3332007983b73fc4398cd03f42930198d9fb37930a74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:188 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:258 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f864548b86297db3e307e0aa8c4a07dd2abc99a20b496a70a342317d436e3050"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1444 \u00B7 app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1690 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb75469b03e05948d9dfcff11c744d1ba43d20ca7e1ff11c86a73dd40fc18d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ReceiptTab/CustomReceiptTextInput.tsx:7 \u00B7 app/javascript/components/ProductEdit/ReceiptTab/CustomViewContentButtonTextInput.tsx:7 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ReceiptTab/CustomReceiptTextInput.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"82670e479286cbf2895e601302a09da41ebeab58a99e0b0cfd53082685cfee0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): app/javascript/components/Profile/EditPage.tsx:244 \u00B7 app/javascript/components/Profile/index.tsx:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 103 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditPage.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1692233fb82bd0be832590d424ac6da25339e7ddd59f60de544d0646e1e04e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1327 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:2070 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e348ee8454b78b4b94df12a36b6bb0e9b90035621eeda9245f7d9bcfa9733a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/javascript/components/icons/getting-started/CustomizeProfileIcon.tsx:5 \u00B7 app/javascript/components/icons/getting-started/EmailBlastIcon.tsx:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/CustomizeProfileIcon.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"922a7cca022af627bb367ea1174c9493b8b21fcb84a69c692d3938e0ecb5e845"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/javascript/components/icons/getting-started/FirstSaleIcon.tsx:174 \u00B7 app/javascript/components/icons/getting-started/MakeAccountIcon.tsx:76 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/FirstSaleIcon.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"51075447ed573d63142ce37af033ec3a8feb926e62c8d105891052f6578aafdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/javascript/pages/Logins/New.tsx:166 \u00B7 app/javascript/pages/Signup/New.tsx:69 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Logins/New.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"13998b5653f3a91ac5b80b21018182ef5a918a8b78cb17c168824ccf780bdae4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/javascript/pages/Settings/Main/Show.tsx:235 \u00B7 app/javascript/pages/Settings/Main/Show.tsx:275 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f0fcc7d76433877e37df65fd370e105761e380fab4bec26e4e1857dc28471"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): app/javascript/components/Analytics/ExportSalesPopover.tsx:10 \u00B7 app/javascript/components/Audience/CustomersPage.tsx:408 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/ExportSalesPopover.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccd124eb723ab24f584e2cfd040c0126cc120286ee74a4c806677e4615a9b72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/javascript/components/ApiDocumentation/Endpoints/Covers.tsx:70 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Thumbnails.tsx:61 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Covers.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1ff46758fadd447d4e68fae9fa796eb225f026f8b8aa46014f888f1b4bab20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:146 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:315 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3393c78fcf77e48090ed75c14e7603ff8bb6e119efa1085af23e5be1733576f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/javascript/components/Audience/CustomersPage.tsx:286 \u00B7 app/javascript/components/Audience/CustomersPage.tsx:317 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"947a9a41d18527bc0cc5c6aa2bedb0b2be7107867fcebbbd2309847548d2c2b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:559 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:303 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eb80b8a926e73c7005ae409907d84c0c02eb7a92032d5557dabbde169dbab7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/ContentTab/index.tsx:797 \u00B7 app/javascript/components/RichTextEditor.tsx:511 \u2014 the two spans are one implementation copied and then locally edited \u2014 120 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"181563647a55eed52d9e7f5de920dc54f631d513c3e8aa4ae37a43a89ddd878e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): app/javascript/components/Settings/AdvancedPage/NotificationEndpointSection.tsx:119 \u00B7 app/javascript/pages/Settings/Team/Show.tsx:133 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/NotificationEndpointSection.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9200112dc28f809b1de02b707fc75a5f3080466dcd79100ace66247f152c06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:1291 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1262 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"56225dcd2814b9657ab1bf81dad7359cc58b28af3167488f0e2137157ab009b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/javascript/components/WorkflowsPage/WorkflowForm.tsx:561 \u00B7 app/javascript/components/WorkflowsPage/WorkflowForm.tsx:585 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3db4a3a87fd4506f9f5edb9454e150419acad938ab3c3ec646195c6e45bead2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): app/javascript/pages/Collaborators/Incomings/Index.tsx:44 \u00B7 app/javascript/pages/Collaborators/Index.tsx:93 \u2014 the two spans are one implementation copied and then locally edited \u2014 131 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Collaborators/Incomings/Index.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a57cb88ee9e2dcc98abb4db8d7336f16020605c67da97715a457b8a5bd28c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/javascript/components/EmailsPage/EmailForm.tsx:1155 \u00B7 app/javascript/components/EmailsPage/EmailForm.tsx:1203 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51dec440819040eea18ce4abad3762636a2451d8225f52d37f9dca7ccbc62d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/ContentTab/index.tsx:1002 \u00B7 app/javascript/components/TiptapExtensions/PublicFileEmbed.tsx:171 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"663374073222d353271786955e245f48c1b4994c59f179d855023e70bd3efbaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/CustomButtonTextOptionInput.tsx:15 \u00B7 app/javascript/components/ProductEdit/ProductTab/CustomSummaryInput.tsx:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CustomButtonTextOptionInput.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfc5fcfb61e7d125657d81bcd818d3efa991abd7f027a59349b405c4933bc57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx:68 \u00B7 app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx:85 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm/ReviewVideoRecorderClientOnly.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"509d6c9b5a93f4b64696a3b958b95ff037b5f3c9c7b4e25d695eb3e61fc74a9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1600 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1639 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbcdf6a20ef42d51a0577f23266f47ded4dc3e6e364a17fea30170fd8d6c79a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/javascript/components/WorkflowsPage/WorkflowForm.tsx:416 \u00B7 app/javascript/components/WorkflowsPage/WorkflowForm.tsx:436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b0c3f8c325a085d4bf0300f39ce16b06ad8006b53842cdf504c0ba931046ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7 locations): app/javascript/components/icons/getting-started/CliIcon.tsx:5 \u00B7 app/javascript/components/icons/getting-started/CustomizeProfileIcon.tsx:5 \u00B7 app/javascript/components/icons/getting-started/EmailBlastIcon.tsx:5 \u00B7 app/javascript/components/icons/getting-started/FirstFollowerIcon.tsx:7 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/icons/getting-started/CliIcon.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20f9299aa6c227c28047367f84dde55a836a597b59c8920281d2e8a010294b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/javascript/data/covers.ts:19 \u00B7 app/javascript/data/thumbnails.ts:19 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/covers.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d0df97c9ddff6157a4ccff9a0f3b8316b9bbd117da843dc76bd14e192fabcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/javascript/pages/Affiliates/Form.tsx:135 \u00B7 app/javascript/pages/Affiliates/Onboarding.tsx:289 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Form.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeb58fac7b7d30e080b046d28efaa47a19bb2312c1914dfbb4ea2a5e49ab07b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/javascript/pages/Churn/Show.tsx:197 \u00B7 app/javascript/pages/Churn/Show.tsx:258 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Churn/Show.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"446997399eaac65292b4b9ddd26d809a0badbed427861828b028de7ac13856eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/javascript/pages/UrlRedirects/Read.tsx:198 \u00B7 app/javascript/pages/UrlRedirects/Read.tsx:521 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"99004cd55ccd61350b48d16a5461a75a0a1d72d369c4db1c0e016816f751edb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): app/javascript/components/AffiliatedPage.tsx:223 \u00B7 app/javascript/components/Communities/ChatMessage.tsx:187 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/AffiliatedPage.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dc34702a7b518807657bc0a8fff686f4480c30f1c94243fa08dabb25829978"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:462 \u00B7 app/javascript/pages/UtmLinks/Index.tsx:415 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a707effe7d6e24ae2c078ef611c2af900a80d6c4948173f83c4308c93538bb1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/FormPage.tsx:339 \u00B7 app/javascript/components/CheckoutDashboard/FormPage.tsx:366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/FormPage.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"9249e049ee815ab57c698b84efd53d008f74b320db367a46c548f8d9daedb870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/javascript/components/Profile/SectionsForm.tsx:928 \u00B7 app/javascript/components/Profile/SectionsForm.tsx:951 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aaff09fe328a1d89ff84f3613b0fd1483b22dc5fc73a719f415ab1efa06af2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx:80 \u00B7 app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx:96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fdc48202498644a64d9fab0bdfc5fca37c6bbffc53f82e67c96343844660ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:362 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:663 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9912c016b4e56ecd864b040284058dd2e63189d57ed1bde7ca9b04810516c50f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:609 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:999 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bf85fbe904e07d66e86527232e97676a17ce1a26d7e9c55205b985d61d8010"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1064 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1087 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bdec290b44b824dff390eb16ceffd33c8a596253cb0adc6a1791646da02b5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/javascript/data/wishlists.ts:102 \u00B7 app/javascript/data/wishlists.ts:138 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/wishlists.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29d6237950616fd6bb43648793f438af9d0b9f5e020a3fecc1526c8b27a8b13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/javascript/pages/Collaborators/Incomings/Index.tsx:106 \u00B7 app/javascript/pages/Collaborators/Index.tsx:71 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Collaborators/Incomings/Index.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d49a8a258fae366928896f50b8499fc28991d27780b9a24f3834277ad2566ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/javascript/pages/Collaborators/Index.tsx:98 \u00B7 app/javascript/pages/Settings/Team/Show.tsx:318 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Collaborators/Index.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3386921ec28a5e5d8a1a10e18f8d101a3e31a12fcd0feae3dc73723e1393025f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): app/javascript/pages/Followers/Cancel.tsx:7 \u00B7 app/javascript/pages/Followers/FromEmbedForm.tsx:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Followers/Cancel.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c0145b37d97b2394abb3dd6def2c330df54763a0c7f68e6ad553bd6b896537"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): app/javascript/pages/Settings/Payments/Show.tsx:588 \u00B7 app/javascript/pages/Settings/Payments/Show.tsx:758 \u00B7 app/javascript/pages/Settings/Payments/Show.tsx:799 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"04922dfa84094cc12d3d429ec73b2000430163e1ac70e3234a810d12bafc91d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): app/javascript/widget/embed.ts:33 \u00B7 app/javascript/widget/overlay.ts:75 \u2014 the two spans are one implementation copied and then locally edited \u2014 131 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/widget/embed.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96ff5e8d9b458d830388fb5c2e971a6f78405f6d0e67bf52386c786715caccd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): app/javascript/components/ApiDocumentation/Endpoints/Emails.tsx:369 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Subscribers.tsx:99 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:152 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:321 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Emails.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"251606b7307f87c752a62bd985d8d694b0b63446123ec798dc5bf53696b480eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:35 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx:96 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Variants.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a5aec60bb1b1e2d5716d587939310f0dc56c1c001c731bba98006dec9c1309"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:574 \u00B7 app/javascript/components/Audience/CustomerDetailPage.tsx:658 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0aae6bef757a8f07f226244d454c8c092f7b4f2252942578e266a856190a57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/BundleEdit/Layout.tsx:99 \u00B7 app/javascript/components/ProductEdit/Layout.tsx:159 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/BundleEdit/Layout.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b652e05c21ec9ef2a0a24af11320dc34e4a1f7fcbf585c928a7f72a5549a92b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/Collaborators/Form.tsx:254 \u00B7 app/javascript/components/Collaborators/Form.tsx:323 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Collaborators/Form.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e447738eaf55c7210531c57a449c987eb5115be58012125b2e5b8089df62f5c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): app/javascript/components/DashboardPage.tsx:503 \u00B7 app/javascript/pages/Settings/AuthorizedApplications/Index.tsx:169 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DashboardPage.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5b8b32b9dfff25047dd23cc05546d97000019a2936d90994287c82885e68d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/DiscordButton.tsx:46 \u00B7 app/javascript/components/ProductEdit/ProductTab/DiscordIntegrationEditor.tsx:89 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DiscordButton.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e5190e2d10d7e908eae6093a68f9074e9abfa2cac646ec27c2d17755ebf6db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/EmailAttachments.tsx:467 \u00B7 app/javascript/components/EmailAttachments.tsx:486 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailAttachments.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ec499315ee5bd78c50bd80e1b247dd97cccc17e6f346dd7bdf6637d8f1f2ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx:850 \u00B7 app/javascript/components/ProductEdit/ProductTab/index.tsx:466 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f9bd4cd5e44c54ab188e24f393ec52c8f999744c20dbaf925eaf07e66bc698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx:154 \u00B7 app/javascript/components/TiptapExtensions/MoreLikeThis.tsx:84 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbedGroup.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a005d67f6ed5f14831d885b789e9153f3c581d45089094919c25b388430f05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/Layout.tsx:420 \u00B7 app/javascript/pages/Settings/Profile/Show.tsx:332 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/Layout.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceffc8064fd9e6e8c53c278748e628ebbdaf9f4ededb9aaf56707bab62dd0a19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:627 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1074 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49fbcc3aaaf30c3e68c227d0a5affa278876636d0a73e6e0d0d317a4adc91bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:1024 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:1070 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e839bcd611ae4b668b0e595eb529b8c500dd5e7fe3740cd47fd40e96b600fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/components/WorkflowsPage/WorkflowForm.tsx:388 \u00B7 app/javascript/components/WorkflowsPage/WorkflowForm.tsx:402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1490db85d0680dafcb972a77fe18eb3ae854428ef27dec166aa46205abe1a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/data/offer_code.ts:121 \u00B7 app/javascript/data/upsells.ts:152 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/offer_code.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ac83c464278a7ffd3f3953c3c1c2bd8843c5e6142e30bdb037a30025b7cd0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/pages/Payouts/Index.tsx:142 \u00B7 app/javascript/pages/Payouts/Index.tsx:161 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b01859d2633e897bc6902e2b9bd10f9b7c078b655c5f1cf88992f14254facf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): app/javascript/pages/Settings/ThirdPartyAnalytics/Show.tsx:116 \u00B7 app/javascript/pages/Settings/ThirdPartyAnalytics/Show.tsx:135 \u00B7 app/javascript/pages/Settings/ThirdPartyAnalytics/Show.tsx:150 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/ThirdPartyAnalytics/Show.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c348d3b58cfafd3cbfcfa84b6f93eb59dc9a0738b94195f14dc5f169e6e16763"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/javascript/pages/UtmLinks/Index.tsx:457 \u00B7 app/javascript/pages/UtmLinks/Index.tsx:473 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec94d18723e896f320ab27448fb1a664b052ffd8e8ee90bd69049bfabb47e09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/ApiDocumentation/Endpoints/Products.tsx:26 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Products.tsx:60 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Products.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffbfebb21e70eb7626664993298c704b239c3b6b95a1c6c737362bbbb0397d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:2225 \u00B7 app/javascript/components/Download/CustomField/FileInput.tsx:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae53450859551979e546f2dc1ed64233850fb1891c828a705c21e691860db06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): app/javascript/components/Checkout/PaymentForm.tsx:570 \u00B7 app/javascript/components/Checkout/PaymentForm.tsx:583 \u00B7 app/javascript/components/Checkout/PaymentForm.tsx:597 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5465e8bc0e3c25e0cc2f433d490aff3ab478b266a0138eb47dc6825a952bcf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1510 \u00B7 app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1565 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"0813c42be4f2c54a542ec0e9aa6fd8e9be818eaeae3ea5a7bb49b8e737268245"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/PayPalConnectSection.tsx:62 \u00B7 app/javascript/components/Settings/PaymentsPage/StripeConnectSection.tsx:42 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/PayPalConnectSection.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59a1a61ce0701b2a3704eb4ed08ce1d48b8416da07377a53f78159dd403b281"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:191 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:205 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f32cb26571187b53bb7fe094fbd676e8b901d502eb238257471d577329bf3da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:719 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:732 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e4a9558e5f423b59612cd66be757829163355cc8e1c94fa81a21cda8425756"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/Download/CustomField/FileInput.tsx:57 \u00B7 app/javascript/components/Download/CustomField/TextInput.tsx:45 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/CustomField/FileInput.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca17398fe9a5e25713411b5d2d14755a95a04b689979d125f59e1ca3cf940649"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/EmailsPage/EmailForm.tsx:1171 \u00B7 app/javascript/components/EmailsPage/EmailForm.tsx:1188 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5b6cb950be04d3201d9e48e09a6a8861708caa677fb20d9e38462a4649fc20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/CustomPermalinkInput.tsx:54 \u00B7 app/javascript/components/ProductEdit/ProductTab/CustomSummaryInput.tsx:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CustomPermalinkInput.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"755bd17e33d3eb75ea448265c8dbbdd32cc10c903ea5190ffc1c2896f203429e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx:137 \u00B7 app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx:195 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de6f24d477c5b72c0ae7644b916641f1012aa8f31b883b5128f07e5bd977a56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:675 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1184 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb9504743739039a5ccfd9043ecc854e2bae39146efe777c1a90e90ce8d328f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 81 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1065 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1080 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1097 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1113 \u00B7 \u002B77 more site(s) not listed \u2014 all 81 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef50612c8a036ad4e26494cb717f7f44f7b7816b02bce72bfe54932f1e11e77d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:2531 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:2545 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b0fcb4a26786e28d8bc23261fb9b24894316c3c18c00a5731c8dc68f0b14e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:910 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:929 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:948 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b081914a708ec716cd3a017f360870c46392267cf506931f5ca475687edfdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:925 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:944 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"218760bccb619f9efbc080b17d9bc1c398dbc188b0eef2e95c5d8c4e3ab83e6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): app/javascript/components/UtmLinks/UtmLinkForm.tsx:393 \u00B7 app/javascript/pages/Settings/Team/Show.tsx:147 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UtmLinks/UtmLinkForm.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c394608c1b9a50bdb0bf80366c4d4da300077c0108a74e06f33ee426c15cf170"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/data/facebook_pixel.ts:20 \u00B7 app/javascript/data/tiktok_pixel.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/facebook_pixel.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"404ea331a94e6e1cdcba5482f68799054707c72268dbdaea5ca614454fb6b116"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/pages/Bundles/Product/Edit.tsx:464 \u00B7 app/javascript/pages/Bundles/Share/Edit.tsx:212 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Product/Edit.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a9eb02e8348a4da23ce9cf0aa792c790e2740e3745f303de139580b087b66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/pages/TwoFactorAuthentication/Show.tsx:138 \u00B7 app/javascript/pages/TwoFactorAuthentication/Show.tsx:155 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/TwoFactorAuthentication/Show.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"47969cbaad1187927bab5dfa4a0007101d613f35fb8059ec19e72ac563f1d071"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/javascript/pages/UrlRedirects/Read.tsx:449 \u00B7 app/javascript/pages/UrlRedirects/Read.tsx:889 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"239287b7de079a50a829e564b56a905817949c265ab467dd86bff82eaabc384f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/javascript/components/AffiliatedPage.tsx:177 \u00B7 app/javascript/components/ProductsPage/MembershipsTable.tsx:91 \u00B7 app/javascript/components/ProductsPage/ProductsTable.tsx:115 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/AffiliatedPage.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"668bb872060345c96ec350005ae6dfbbab5d85ecab9767b9a4636afda547bd76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/components/Analytics/SalesChart.tsx:214 \u00B7 app/javascript/components/Churn/ChurnChart.tsx:44 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/SalesChart.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39eb3e690bdfbf60a51a7341ac7667a77bf440a0e030ce64a3be8434762265e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): app/javascript/components/ApiDocumentation/Endpoints/PublicProductPage.tsx:12 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/PublicProfile.tsx:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/PublicProductPage.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f586af6d9b7c1d6c0f5bd940a3def6bc5acc3b70a84d8a8a373fdf511175ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/components/Checkout/PaymentForm.tsx:260 \u00B7 app/javascript/components/Checkout/PaymentForm.tsx:457 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbe50b4ffadb0dbef0aa8f4109a8fff2af276dbbf21a9e0f11d8fabb007e43f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:744 \u00B7 app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:263 \u00B7 app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:290 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd954eb1ed1dce7971152567c381dbc7a5ffbd90fb78fae1d5f9bcfb048e1a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): app/javascript/components/DownloadPage/Layout.tsx:370 \u00B7 app/javascript/components/Settings/AdvancedPage/AccountDeletionSection.tsx:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/Layout.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cf620a33b975806e2714d2f2320ddd4df2f80d831c23a4c889595a54230157"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/components/EmailAttachments.tsx:448 \u00B7 app/javascript/components/EmailAttachments.tsx:499 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailAttachments.tsx"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f3218ac28c8dceed0279ab6443573dfb2f57d2f7c5f736370937ea68e605db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/components/Post/PostCommentsSection.tsx:116 \u00B7 app/javascript/components/Post/PostCommentsSection.tsx:216 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab11ccfce437225d69c41c8e2f7f14c6a1454801e312792a27f4b621fe3a2ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx:701 \u00B7 app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx:726 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6fb82e53afce0890bf610e9c43f80a381e3afd22e0d1afdb60c556dcccbe47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx:229 \u00B7 app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx:241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccda8d9b8e728f30f8a3db34bacb1b2e2f879fbd00ed04cfbcc7a3bb7b840f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/components/Profile/EditSections.tsx:500 \u00B7 app/javascript/components/Profile/Sections.tsx:119 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditSections.tsx"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14500089c82a833ab627d706218d5f46515ad201f405f2a5c74e2f046127caa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:551 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:585 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:837 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:854 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"059ce8f59445bc146ec45de45c14a4092c0dd1b875ef2a4e3593f0c09fae1ee3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1126 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1143 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacc310f698f49018d369f2d86be554806ffbee3b8800ad5bb7d9be16053a855"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1316 \u00B7 app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:254 \u00B7 app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:266 \u00B7 app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:281 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17e685c31b0cae4156de9e9a2ac20f6c65c418527b0a6278f0a052f2e9d9fed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/pages/Discover/Index.tsx:133 \u00B7 app/javascript/pages/Discover/Index.tsx:150 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Discover/Index.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"899150dbd0aaf479ada36c41c7ff76fcd9095ace5106f1dac579d49853bea103"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/javascript/pages/GumroadBlog/Posts/Show.tsx:36 \u00B7 app/javascript/pages/Posts/Show.tsx:59 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/GumroadBlog/Posts/Show.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb8bf53be93b98382ddcb3283729455a57a91b488dcc95aef7d0bfc29b1fcc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/javascript/components/AffiliatedPage.tsx:382 \u00B7 app/javascript/components/CollabsPage.tsx:66 \u00B7 app/javascript/pages/Products/Index.tsx:43 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/AffiliatedPage.tsx"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"25250b9693eb39901f77d02975154fbf24168786439bf524bbb6ce8f5a3c0a9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): app/javascript/components/ApiDocumentation/Endpoints/Emails.tsx:115 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Emails.tsx:248 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Products.tsx:253 \u00B7 app/javascript/components/ApiDocumentation/Endpoints/Products.tsx:338 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ApiDocumentation/Endpoints/Emails.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c479d62f93f2298c52f17ef98e0eed6f522574dac0323cc8d92c01ed8d33553"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:778 \u00B7 app/javascript/components/Audience/CustomerDetailPage.tsx:859 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"e725a84bbd91c0321c9f37018b7732ca5c1c1f7aa81c6e0d57e8e8d20a9ca2a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 15 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:1017 \u00B7 app/javascript/components/Audience/CustomerDetailPage.tsx:1040 \u00B7 app/javascript/components/Audience/CustomerDetailPage.tsx:1051 \u00B7 app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx:818 \u00B7 \u002B11 more site(s) not listed \u2014 the 15 copies are spread across 5 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0df8f292ed0dc66a123bea485b7adfd41babaa9074a83e6db71a5bf9383813"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/Audience/CustomersPage.tsx:265 \u00B7 app/javascript/components/Audience/CustomersPage.tsx:276 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc864a426ad64a9a3a3f932723e3e603f998849f67bae47d843522acc8d17cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/Checkout/payment.ts:1710 \u00B7 app/javascript/components/Checkout/payment.ts:1761 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dbbd2bc4f21f3ee4c82e77581ddd561fa500f9d13550b237b04a368a494b4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1223 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:720 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:733 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9048fb0a6b6475095ea055073445d6bfe5529692e8ed38b2a2afdda7e44ef933"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:175 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:190 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"87652b770f364d2324b57500cc5c0df07ccd7ee7f95a1651a3b3eef167db61f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/CountrySelectionModal.tsx:32 \u00B7 app/javascript/components/server-components/TaxesCollectionModal.tsx:29 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CountrySelectionModal.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"913d39abdffb281049ddae1efdbbfab3ded7e37ac837294c1e0bb5b6fc36cb9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): app/javascript/components/DateInput.tsx:33 \u00B7 app/javascript/components/ProductEdit/ProductTab/AvailabilityEditor.tsx:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DateInput.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0aa033516a7204f9d91c7d805a7e09f95134023e24ea16504c9f34795a5c95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): app/javascript/components/Download/FileList.tsx:849 \u00B7 app/javascript/components/Settings/PasswordPage/AuthenticatorSetup.tsx:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a4d83207e7a5d99b53d6c1334471d0c604d2434a9baa35a7f464009ee9f6a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/Pages/SearchListingFields.tsx:54 \u00B7 app/javascript/components/Pages/SearchListingFields.tsx:74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Pages/SearchListingFields.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd10c6d2799cc6169783ee5d6bbe15779f9b8af4f711d9ce5cd9ca110fe6c56c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/CoverEditor.tsx:55 \u00B7 app/javascript/components/ProductEdit/ProductTab/CoverEditor.tsx:169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/CoverEditor.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f0be021eae99ab668cd768d1038b976bcb8ba436acca57b01384672b083da9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/index.tsx:166 \u00B7 app/javascript/components/ProductEdit/ProductTab/index.tsx:356 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/index.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d26c4d1cc2ba9a7951f9d1d67e707d32ac0e5806702f8f56c0814efa3838ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/ReviewForm.tsx:367 \u00B7 app/javascript/components/ReviewForm.tsx:378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"371fddd9f5f949d8a1cb4c2de39cc2e0c6d26b7b8d21f949ea87d82815a1447a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx:193 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1397 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cbefe7d093f8c812b39b9cf74ced3b0d0daf57bfca41793d6f607e49b4f45f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1188 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1221 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1405 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1624 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"665193267c9f5a07372c8d043985d8f4780955307defab552d49f53d3f4b54ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:298 \u00B7 app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:376 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa075bc1c0cc0dba7e97727e26ade3fdef9a938100617264e942bf285d3f8e8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/components/SubtitleUploadBox.tsx:39 \u00B7 app/javascript/components/TiptapExtensions/Image.tsx:352 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/SubtitleUploadBox.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"67770d589edf1922143b325c9f49ed91796f122d311d365d6b80cdf9d7f606bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/javascript/data/affiliates.ts:45 \u00B7 app/javascript/data/offer_code.ts:200 \u00B7 app/javascript/data/upsells.ts:171 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/affiliates.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9f5e1fb2822bc7ddbfbe2cc5f71331600f856a038203e01f8fa5291f779c55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/data/customers.ts:202 \u00B7 app/javascript/data/customers.ts:380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d56914d1101de9a9e578b96fedd070374bc3de553ab25423691d4cc25a017a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): app/javascript/data/customers.ts:298 \u00B7 app/javascript/data/customers.ts:344 \u00B7 app/javascript/data/customers.ts:411 \u00B7 app/javascript/data/customers.ts:451 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"853aadc7754f5abdb9a8ddc38ae00ee2bbd7f29504657efd29a821c65d6d9847"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/data/customers.ts:499 \u00B7 app/javascript/data/customers.ts:511 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda50b84cba166dfc8111b43068bb1eabec6267913fc30aeded0e07d7cf77c2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/data/installments.ts:190 \u00B7 app/javascript/data/installments.ts:202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/installments.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc93377c91b4f3faf1146221753c6b05914ead5724a724bd441270e4d6d6f8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/javascript/data/offer_code.ts:183 \u00B7 app/javascript/data/upsells.ts:113 \u00B7 app/javascript/data/upsells.ts:127 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/offer_code.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea581df4db06289349eb16705a9c0b7b198f0bb8c3259be29c895032a2ea14aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/javascript/pages/Collaborators/Incomings/Index.tsx:75 \u00B7 app/javascript/pages/Collaborators/Index.tsx:176 \u00B7 app/javascript/pages/UtmLinks/Index.tsx:298 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Collaborators/Incomings/Index.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3dd7376cb49f7477ba243643d49723543705703247b32527f25666c44bad92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/pages/Library/Index.tsx:511 \u00B7 app/javascript/pages/Purchases/DisputeEvidence/Show.tsx:388 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Library/Index.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c43cbf098f0fd7d96514bc371e6120d2a9d76117b765a268f43363569a590e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/pages/Payouts/Index.tsx:126 \u00B7 app/javascript/pages/Payouts/Index.tsx:209 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50ae859195f8e965dd5926874cdc3f4f99a55fb428d96ca30819695e92f6f58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/pages/Purchases/DisputeEvidence/Show.tsx:518 \u00B7 app/javascript/pages/Purchases/DisputeEvidence/Show.tsx:539 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba595b0c3c47785b24dea90b0f70cda4cdd0dde85d136bb60102cac31f85691c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/pages/Settings/Main/Show.tsx:149 \u00B7 app/javascript/pages/Settings/Main/Show.tsx:354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"28332ed0ee52b33881bcd0ba34a065b5fe90b6657298b23011249aee3b038f2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/pages/Settings/Main/Show.tsx:310 \u00B7 app/javascript/pages/Settings/Main/Show.tsx:321 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f37428284fa74b3f168bbbe8c585afdcd9d53f47ef942105d6beea9e6e16d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/javascript/pages/Signup/New.tsx:98 \u00B7 app/javascript/pages/User/Passwords/New.tsx:62 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Signup/New.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"466989939618149b1f25d111ae2763e8e25450714cd53a3b6a87c7ce24e19702"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/Agent/AgentChat.tsx:204 \u00B7 app/javascript/components/Agent/AgentChat.tsx:372 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e596bfbd04b275965c9183259cc35f526ad92cded166dc31c5d943e734e7cbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/Analytics/SalesChart.tsx:210 \u00B7 app/javascript/components/Audience/AudienceChart.tsx:49 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/SalesChart.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5a99177270bc2a2c601cf5d080e934488a7be0fa86bdc0b78e8425d7b9d074"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): app/javascript/components/Analytics/loadChart.ts:18 \u00B7 app/javascript/components/ProductEdit/load.ts:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/loadChart.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac5b9144db28722f41f6ac82366c5c2d78b74fb73c80227db78ddad36558229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:802 \u00B7 app/javascript/components/Audience/CustomerDetailPage.tsx:814 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"01559feeb1af8ca06e321f24c0d792992d5a192ee9f11146e4d336a989c4d27e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): app/javascript/components/Checkout/CrossSellModal.tsx:86 \u00B7 app/javascript/components/Checkout/UpsellModal.tsx:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/CrossSellModal.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2ddaf95fff593d3d8763b02a6c63e5ed7a651f6d0c75608620b9b1bd3c164e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1269 \u00B7 app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b3cfbde9f5a3400ff692a40d9f7bddf083321c56784aee7f53fcc408d0840b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1465 \u00B7 app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1508 \u00B7 app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1680 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe072fee3f5b6473a5549b22c9831cc097d8676f6317c177a4ab17ad659d0b37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:880 \u00B7 app/javascript/components/UpsellSelectModal.tsx:185 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b98908726e59316cf5ed88b6f173e1e0bf63620bc01e7d117fe067e0b60a9d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/Communities/ChatMessage.tsx:198 \u00B7 app/javascript/pages/Pages/Index.tsx:190 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessage.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2c500b144d2e9bd444c0003e4aafcb89cd652fcec3f44c1b0f4a9f73b3cafd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): app/javascript/components/Download/FileList.tsx:852 \u00B7 app/javascript/components/Settings/AdvancedPage/CreditCardForm.tsx:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e93f459aa33279de03213f0d543332e5993eab698a6763b837d759ec9ec0a6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/PasswordInput.tsx:10 \u00B7 app/javascript/components/PasswordInput.tsx:31 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/PasswordInput.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"98974e2da017b90484d58db1cfe5697fa6d7b84566c7bc334f3718afdbe1e38f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx:166 \u00B7 app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx:220 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcc83d8173151dfb9b7dd0adf5a0ee2de1aeb081a24c5d247adcba32b75c599"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx:354 \u00B7 app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx:365 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"5720cd2ce964b4ff58e2cc028092f69682a2337a139ae83c68b5a5ae65f43707"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/index.tsx:417 \u00B7 app/javascript/components/ProductEdit/ShareTab/index.tsx:123 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/index.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"267c8d80db3f254b399bfc564e2adb45f2fd481272407d03352bf2fd0a1c2ed9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/javascript/components/ProductEdit/ShareTab/LandingPageEditor.tsx:137 \u00B7 app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx:412 \u00B7 app/javascript/components/ReviewResponseForm.tsx:104 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/LandingPageEditor.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"435e106cffcf9c10c7a8ec6c2984b23ca0eea91ce8d7219dd44e4038677ab41d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/ProductsPage/ActionsPopover.tsx:109 \u00B7 app/javascript/components/ProductsPage/ActionsPopover.tsx:119 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/ActionsPopover.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc3504261b985efbad2d0fb52fa8e3cec6bec38aba7a14c9f39fb3d7c6bfbfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/Profile/Sections.tsx:71 \u00B7 app/javascript/pages/Posts/Show.tsx:140 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/Sections.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"96630e7aeb0919c9a37703179e7f2ebff8c7a63f75c4b8d35a0966cdda79cb64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/Profile/SectionsForm.tsx:146 \u00B7 app/javascript/components/Profile/SectionsForm.tsx:327 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e27c7e5ad560a2614e84dc1ff3a1050b881784aaa574f9d4807512bfb94efc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:525 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:879 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:915 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe0b9463370db8768b8efa83b714ee93f8537077da034c6d0717b6f10ecc8cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:804 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:819 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:1080 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:1105 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"53344ef41bf28f526ad9e9d38a322f8088d8b7090e5e94fc69dd9e14d47f9269"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1087 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1184 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1217 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1250 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fee0498b8f52b55c67befb970c7ab1c38a88b8d4e05563890e4b30ce2b6563"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1155 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1372 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1585 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1949 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6098c5d371820bb052b54c140448985e98dfc47acfa865a6bd2c0c4bac44db6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1535 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:2147 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b413c88925a6be2add90d98a426e63927679503d8912f91ac855fbbcad7b9bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:994 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1024 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"0670fb4b9c9ddaaa448f2b2abffca59757858e409c2a684759cd82fd53a7e508"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:1211 \u00B7 app/javascript/pages/Purchases/Invoices/New.tsx:238 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f43cc378aaa6c33db7cc192f47deb194b3387afe4ef8f162eae3e0f95896f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/TiptapExtensions/Link.tsx:91 \u00B7 app/javascript/components/TiptapExtensions/Link.tsx:102 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Link.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7847956e681c4ac143e36d5f4b69b8f7545209b42486281da1d58c090fced917"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/Wishlist/WishlistEditor.tsx:58 \u00B7 app/javascript/components/Wishlist/WishlistEditor.tsx:68 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Wishlist/WishlistEditor.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2339f434ef13e8b5b5a5b88a57f04401af30315412ea1a12337805b1b715f177"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/components/ui/Menu.tsx:24 \u00B7 app/javascript/components/ui/Menu.tsx:43 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ui/Menu.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b620bf32090a73be14ac3aca6f8d95bc65c63efc79f5bf408113136d0e0664dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/data/account.ts:21 \u00B7 app/javascript/data/open_in_app.ts:14 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/account.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c8d3c57f1d750d808f958785491b740ffe45767a00928d5cea15987e524232"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/data/card_payment_method_data.ts:217 \u00B7 app/javascript/data/card_payment_method_data.ts:286 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/card_payment_method_data.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dca0870a37e5e6466ef80b22f3f76461c26d5c1740e1ee99d7da690e388689"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/data/comments.ts:48 \u00B7 app/javascript/data/comments.ts:73 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/comments.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f3e625655d5539d9dcbde720b96aef869060239e20d0726f6d967f786e2361"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/data/marketing_actions.ts:87 \u00B7 app/javascript/data/marketing_actions.ts:104 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/marketing_actions.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2bf1d769a837ce698397b68292f029deb57bd19bd7c178e7793f612cfabf0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/data/product_reviews.ts:97 \u00B7 app/javascript/data/profile_settings.ts:102 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_reviews.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65d8bc7e3ae69f5ee55dc2dd2c28dd254827a3d4715f526dd7511f80a12ce1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/inertia/layout.tsx:67 \u00B7 app/javascript/inertia/layout.tsx:86 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/inertia/layout.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"055dbe392c5f42c511653daac8a9474cab4c6949281e4f42d943b447b914a195"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/pages/Followers/Index.tsx:79 \u00B7 app/javascript/pages/Wishlists/Index.tsx:32 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Followers/Index.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efac649fd50619a859e62938800d8b245e4fa73c848fd7fb471ed245b0337b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): app/javascript/pages/Library/Index.tsx:166 \u00B7 app/javascript/pages/Library/Index.tsx:323 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Library/Index.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b33187ef020ccdd2b02e2955d55b5805868c32fdc000cb72f66d62a14f4c171"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/pages/Pages/Edit.tsx:114 \u00B7 app/javascript/pages/Settings/Profile/Show.tsx:190 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Pages/Edit.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3c405651dc39c48444a2362ec0c1922631d8642112bfb158737853aa7fe0e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/javascript/pages/Payouts/Index.tsx:190 \u00B7 app/javascript/pages/Payouts/Index.tsx:222 \u00B7 app/javascript/pages/Payouts/Index.tsx:271 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcb77954f18917559edea9103c7b40ef738c15f0b37fe99593092787125b013"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/pages/Payouts/Index.tsx:205 \u00B7 app/javascript/pages/Payouts/Index.tsx:227 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e836c56e3eb288421da24b3c557e17e98d09e7b445102c9f94648ea16e8ea6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/javascript/pages/Settings/Billing/Show.tsx:78 \u00B7 app/javascript/pages/Settings/Billing/Show.tsx:90 \u00B7 app/javascript/pages/Settings/Billing/Show.tsx:102 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Billing/Show.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0098e180c5c4f393ad9d25352ba448c50cfa640ab74c24b1bbed7dc299e529b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/pages/Settings/Main/Show.tsx:594 \u00B7 app/javascript/pages/Settings/Main/Show.tsx:604 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"382078d465ff4b28f214329d1036ac14e4201a6ee41d849de1115a2627817d56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/pages/Settings/Password/Show.tsx:67 \u00B7 app/javascript/pages/Settings/Password/Show.tsx:92 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Password/Show.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"519e4280ee6e43015573b6ec22a0930212c9fd97129b014c53dd66ed999000fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/pages/Settings/Password/Show.tsx:129 \u00B7 app/javascript/pages/Settings/Password/Show.tsx:142 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Password/Show.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f4fc95f9e2396f7321ce5c999c5b2513449150554abdaac70e8f817ec87995"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/pages/Settings/Payments/Show.tsx:1589 \u00B7 app/javascript/pages/Settings/Payments/Show.tsx:1604 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"6349af166c947639dd7dc735390b96ab706246825fb0567371b50d4add471bd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/pages/Signup/New.tsx:87 \u00B7 app/javascript/pages/User/Passwords/Edit.tsx:49 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Signup/New.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1aedbbba10153247f5efea976159ad2416936ce3dacb76be6ef1fefd4ef72a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/javascript/utils/price.ts:48 \u00B7 app/javascript/utils/price.ts:63 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/price.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca64a35fcd874b3d8a68cd19d0b7fba5716a16bf110ae5cbe99386ae1b44c26a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/Analytics/AnalyticsLayout.tsx:25 \u00B7 app/javascript/components/Collaborators/Layout.tsx:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/AnalyticsLayout.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5712469ba0035f61c2bfb3c0afdbe8123316c53431793a51e4de527182346e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:1064 \u00B7 app/javascript/components/ProductEdit/ProductTab/DurationsEditor.tsx:188 \u00B7 app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx:263 \u00B7 app/javascript/components/ProductEdit/ProductTab/VersionsEditor.tsx:187 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce5144d1b634aecc5af7f00b7941f5b93fdea6f40c7dd2028f8378ce815289a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/BundleEdit/ContentTab/BundleProductItem.tsx:50 \u00B7 app/javascript/components/Product/index.tsx:637 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/BundleEdit/ContentTab/BundleProductItem.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e27ece927193449fdfedc58cb20c43a5136f10d5cc25bae442e92bfb1da3a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): app/javascript/components/Checkout/PaymentForm.tsx:455 \u00B7 app/javascript/components/Checkout/PaymentForm.tsx:570 \u00B7 app/javascript/components/Checkout/PaymentForm.tsx:583 \u00B7 app/javascript/components/Checkout/PaymentForm.tsx:597 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"429ac06b4536757a60206cb26317a0ec63d2d808e9abdf5b39663ff0ce9e2a5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1324 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:804 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:899 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"588d97a976ef760a91c3391276fa170e84e1ba333be8e3a32019beffd65dd9bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1669 \u00B7 app/javascript/components/EmailsPage/EmailForm.tsx:1165 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"93799cb31d4d95207d949a9bdc8fbb13d2e26b0ff383cf808ca00c49dbec180a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/FormPage.tsx:461 \u00B7 app/javascript/components/CheckoutDashboard/FormPage.tsx:472 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/FormPage.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13fa3f5d452204152b6cef3076b0fdccf42589438680b77b32e1c1f50dfd1d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/PayPalConnectSection.tsx:96 \u00B7 app/javascript/components/CheckoutDashboard/PayPalConnectSection.tsx:155 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/PayPalConnectSection.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2059b704c487c26d150a767e08ca1d415d1481cfba0c9049a35c8142a4f28c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:803 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:827 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:898 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db11e11b96b7c13eb5223f903ed05d58d118c0a03483c1ebe27516ff8215ccd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:826 \u00B7 app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx:517 \u00B7 app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx:171 \u00B7 app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx:183 \u2014 the 4 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a676e9475409cc53837843c47dd7697595774a39a8ad7d80f8492bead79d0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/EmailsPage/EmailForm.tsx:1035 \u00B7 app/javascript/components/EmailsPage/EmailForm.tsx:1052 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b125675439b8685a6c5d1613893415736d228d89963fa01b242e3ac2a156896"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/EmailsPage/EmailForm.tsx:1268 \u00B7 app/javascript/components/ProductEdit/ShareTab/TaxonomyAttributesEditor.tsx:92 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"238deee103cffd858303c2338ddcdfb3681cd3ad4e75653ba33d4879371c883e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/PasskeySetupPrompt.tsx:48 \u00B7 app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/PasskeySetupPrompt.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bbf0a5c54b0a241ffe0087dbaed87c4ca9552741e3ae22ef69a8948db73fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/Product/SectionEditor.tsx:72 \u00B7 app/javascript/components/Profile/EditPage.tsx:173 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/SectionEditor.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68a0301130409d4d1c166d46fc117eee6b5d7dd81a2e0b841e3252449b19414"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): app/javascript/components/ProductEdit/ContentTab/index.tsx:906 \u00B7 app/javascript/components/ProductEdit/ContentTab/index.tsx:1337 \u00B7 app/javascript/components/server-components/ProductEditPage.tsx:999 \u00B7 app/javascript/components/server-components/ProductEditPage.tsx:1033 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b106ab7cedf3205865edf770aabedc7d9d6268bbcf62f3dacd43234c6cec6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/DiscordIntegrationEditor.tsx:43 \u00B7 app/javascript/components/ProductEdit/ProductTab/GoogleCalendarIntegrationEditor.tsx:93 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DiscordIntegrationEditor.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f6fc641a58995aa987536073677c9ab688d21704f0f68e563767da8d0c713d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx:55 \u00B7 app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx:95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/ShippingDestinationsEditor.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"207bc5719664057715f3c11f89f8c682a1db7fab5a9e5549b7ef250c20f329f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ShareTab/LandingPageEditor.tsx:93 \u00B7 app/javascript/components/ProductEdit/ShareTab/index.tsx:89 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ShareTab/LandingPageEditor.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5026ec15857f2d2809797f43c1e0c661d3d217687fdcdf211462028167b2f9f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/ProductsPage/Collabs/ProductsTable.tsx:97 \u00B7 app/javascript/components/ProductsPage/MembershipsTable.tsx:138 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductsPage/Collabs/ProductsTable.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c8bc434235e0865047165f3eee265ca9d389e7410d7f95334e5c03fa6c30ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): app/javascript/components/Settings/Layout.tsx:48 \u00B7 app/javascript/pages/Settings/Profile/Show.tsx:269 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/Layout.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"97af817b8fb12cefbd15e3f245352367a4b14bb1224983df78916ce87db29fde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:514 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:832 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:904 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a883bae85759f672493b2243eda4dc052a55df57eb5f59be210518a40359c17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:1198 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:941 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e408ad132156d041a50647f9599832fcfd357859cd95c59cd3fcfc529f0399"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1282 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1530 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1819 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1871 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bf2a3e4f9f74a5bbe37efef17c47b1908cb5934286a5d510a51009d9b4cd30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/javascript/components/WorkflowsPage/WorkflowForm.tsx:286 \u00B7 app/javascript/components/WorkflowsPage/WorkflowForm.tsx:389 \u00B7 app/javascript/components/WorkflowsPage/WorkflowForm.tsx:403 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80077001144c3663f11108a854ed2eeaa2f202f25e4c9b9c6785d4da3fe4d1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/components/WorkflowsPage/WorkflowList.tsx:83 \u00B7 app/javascript/pages/UtmLinks/Index.tsx:270 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowList.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"577bf2c510cd47459ee7e5e898784364a64ae8148fe327a2c684c492a43e06d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/data/customers.ts:446 \u00B7 app/javascript/data/customers.ts:465 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6714d998fd375ef8a605eeb4400352233e59d348ba037041bbfcebce8459b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/javascript/data/dropbox_upload.ts:21 \u00B7 app/javascript/data/installments.ts:172 \u00B7 app/javascript/data/installments.ts:211 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/dropbox_upload.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0298035b13beb0abbede809fec5561b328b56cea259051733208eb26f6e1f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/data/google_analytics.ts:72 \u00B7 app/javascript/data/google_analytics.ts:81 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/google_analytics.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30faaddd25e32e9db3e73c4633b3064e1caac95b328be9e6cb6a581cdd8593d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): app/javascript/data/offer_code.ts:166 \u00B7 app/javascript/data/offer_code.ts:180 \u00B7 app/javascript/data/upsells.ts:61 \u00B7 app/javascript/data/upsells.ts:110 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/offer_code.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3064ead14c2364db35fa9f77c40182c8a5e4410055437636fe72b41d4f50fde4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): app/javascript/data/offer_code.ts:86 \u00B7 app/javascript/data/wishlists.ts:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/offer_code.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"55acf92b206266abd4f4d529fdaf7e595eac4a41ee20319a264fc81d98dd2727"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/data/order.ts:359 \u00B7 app/javascript/data/order.ts:460 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/order.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c832cc8902a6e6e63864cfdb26e8b255631883933f1624973757c28ed16566"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/data/product_dashboard.ts:15 \u00B7 app/javascript/data/product_dashboard.ts:41 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_dashboard.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddad12287be585b520e6108d5b0ad50b07c9cb4c6de26bf4c7319263683ad53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/javascript/data/profile_settings.ts:125 \u00B7 app/javascript/data/profile_settings.ts:135 \u00B7 app/javascript/data/profile_settings.ts:145 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/profile_settings.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a739517cd6e2a662e3ad5d817d7b1254b6174d0750bef5da7ebbd4edbc14c575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/javascript/pages/Products/New.tsx:383 \u00B7 app/javascript/pages/Settings/Billing/Show.tsx:76 \u00B7 app/javascript/pages/Settings/Billing/Show.tsx:100 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Products/New.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c92d0f3b6225c04092e731ad234daa8ab0ba7d25d11ed6a99577c3687208df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/pages/Settings/Advanced/Show.tsx:45 \u00B7 app/javascript/pages/Settings/ThirdPartyAnalytics/Show.tsx:74 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Advanced/Show.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d0a673550d7caaaba915415cb1c04272865153e56c18cbd6271b335aa4e0ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/javascript/pages/Settings/Billing/Show.tsx:132 \u00B7 app/javascript/pages/Settings/Billing/Show.tsx:173 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Billing/Show.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a20d463ac4b06b5b789833e2f1eff71b00f76da8446f60752af3b83195cb21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/Agent/AgentChat.tsx:1173 \u00B7 app/javascript/components/Agent/AgentChat.tsx:1181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f72f905c3f8b3df946ab4bfa1516cfb5509647109f11fe03741aa8e31943e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:96 \u00B7 app/javascript/components/Audience/CustomersPage.tsx:56 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deeb0f9333d6c7a6fb9e91ca6bd7f80003daea1aff7c5a2753781f38b1d2e19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/Checkout/GiftForm.tsx:74 \u00B7 app/javascript/pages/Payouts/Index.tsx:650 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/GiftForm.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f18981ca6523abb3d03c3073638ce34e9daf783d45c73c487ea961d7bf672a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): app/javascript/components/Checkout/PaymentForm.tsx:238 \u00B7 app/javascript/components/Checkout/PaymentForm.tsx:574 \u00B7 app/javascript/components/Checkout/PaymentForm.tsx:587 \u00B7 app/javascript/components/Checkout/PaymentForm.tsx:601 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1233a0d82bc92a41f1a6567585a37f3a21d813ca4ee5b59bb081f26f1720f8a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): app/javascript/components/Product/Thumbnail.tsx:6 \u00B7 app/javascript/components/ProductEdit/ProductTab/ThumbnailEditor.tsx:13 \u00B7 app/javascript/components/Wishlist/Card.tsx:15 \u00B7 app/javascript/pages/Products/New.tsx:39 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Thumbnail.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4eb09444a2d5924c46cf72e0d9772d6ff757c710cc8478ebd15f49b09472557"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ContentTab/index.tsx:1062 \u00B7 app/javascript/components/ProductEdit/ContentTab/index.tsx:1071 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b7c2c2c93bd51e7d70c59d3493e127242d86ae41b677f3ee6ae18ec9ff6c67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/Profile/EditSections.tsx:389 \u00B7 app/javascript/pages/Settings/ThirdPartyAnalytics/Show.tsx:314 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditSections.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"91376ec6c357b08f51c8edee252e874c0ef47b2405f2f83d0d6d2855eeb04de0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/Profile/EditSections.tsx:688 \u00B7 app/javascript/components/Profile/SectionsForm.tsx:762 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditSections.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd34742b0658cba502b47d5bf35a183d9b2270d5a48e3ac52b9aa402949d888"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/Profile/SectionsForm.tsx:817 \u00B7 app/javascript/components/Profile/SectionsForm.tsx:843 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5de7323f1f047e86358979d3eb89641179a0ab52cc0d03a19b0a4e95a6e081"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:127 \u00B7 app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:150 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cc865b2c8661cc074f028f78eda896330ce1755ce2c281c3e0bc2b66a338fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13 locations): app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx:446 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1075 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1172 \u00B7 app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx:1205 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb94e23ee30adaf0feaa17a8d3de26dd06973cbce515ce13c6424680a2147f0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): app/javascript/components/TiptapExtensions/UpsellCard.tsx:132 \u00B7 app/javascript/components/UpsellSelectModal.tsx:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/UpsellCard.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6538cd78a77efcb8e17a4d1b5fda9003d208e85c57b1306918d8bfe6675f0861"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/UtmLinks/UtmLinkForm.tsx:232 \u00B7 app/javascript/components/UtmLinks/UtmLinkForm.tsx:242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UtmLinks/UtmLinkForm.tsx"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59ea096a52ed5fe5df5e4cab24bc1fcdb488e27734d940ee3999ff386479a99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): app/javascript/components/WorkflowsPage/index.tsx:26 \u00B7 app/javascript/pages/TaxCenter/Index.tsx:162 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/index.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b47a3e7ae38a363df5935013e5bc5169f60ec02b08a5c073bfbe938d8fc17d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/components/ui/Card.tsx:6 \u00B7 app/javascript/components/ui/Card.tsx:32 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ui/Card.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8c672ce04c85b87ddf0a4ec005845afda5a7b441e8accf3849c25a7583b3cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/javascript/data/affiliated_products.ts:23 \u00B7 app/javascript/data/offer_code.ts:121 \u00B7 app/javascript/data/upsells.ts:152 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/affiliated_products.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b41a4a465e82a4b94e696260d96575b76993c8688fd8c6eb358b6874cd9996"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/data/agent.ts:243 \u00B7 app/javascript/data/global_affiliates.ts:11 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/agent.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b2d59499497a274d4836d72ee6c71b89fdb450ae329e9bf7b39b6a4f4039b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): app/javascript/data/customers.ts:217 \u00B7 app/javascript/data/customers.ts:228 \u00B7 app/javascript/data/customers.ts:301 \u00B7 app/javascript/data/customers.ts:347 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cebedc28647c06e0da1232e9d6ccdf350b74f8e20e7385f0259dea1755bb963"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/javascript/data/customers.ts:349 \u00B7 app/javascript/data/customers.ts:407 \u00B7 app/javascript/data/customers.ts:456 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3e886484af90867d27ea872d22303ff4a5961b655f7701502a600702b2cbda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/data/installments.ts:115 \u00B7 app/javascript/data/installments.ts:175 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/installments.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9d145c260b9f41f13692c5a0c73d03abd0cfb4e3d27e8a44d156668eff6a00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/data/settings/team.ts:61 \u00B7 app/javascript/data/settings/team.ts:90 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/settings/team.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d6772d68dea42f99e82e6190d47b5501694b73cada37aed65d0404dc01fbd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/inertia/layout.tsx:38 \u00B7 app/javascript/inertia/layout.tsx:91 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/inertia/layout.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed03b7b9783ddc2f56fd292ea12065a03f4cd959c8a9d2f8a2ce2a49754b88c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/pages/Emails/Published.tsx:304 \u00B7 app/javascript/pages/Emails/Published.tsx:312 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Published.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99d32ad7c953831e17619070cdedb4bc7e6c8353310d961835c9f9a0fb6ed6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/pages/Public/Widgets.tsx:256 \u00B7 app/javascript/pages/Public/Widgets.tsx:283 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Public/Widgets.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9860e22dc0e18d6ef0c63c65c181b4aaeb8d48b8d8c2923e3b40cd512adef44c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/pages/Purchases/Invoices/New.tsx:269 \u00B7 app/javascript/pages/Purchases/Invoices/New.tsx:340 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/Invoices/New.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35a2fbb8cadcb26409bb87988f99eb5635a816ffc7523993d7e12cb33acf008"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/javascript/pages/Settings/Billing/Show.tsx:119 \u00B7 app/javascript/pages/Settings/Billing/Show.tsx:130 \u00B7 app/javascript/pages/Settings/Billing/Show.tsx:141 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Billing/Show.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1762578ade4793439465e01983db18d61b4170daf80727a31327dc86cbf5c9be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): app/javascript/pages/Settings/Billing/Show.tsx:182 \u00B7 app/javascript/pages/Settings/Password/Show.tsx:127 \u00B7 app/javascript/pages/Signup/New.tsx:89 \u00B7 app/javascript/pages/User/Passwords/Edit.tsx:38 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Billing/Show.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7cc69bea8371c395d24b6e954096dcbb59e4394e3b8635eff0a3a69f06ac57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/pages/Settings/Profile/Show.tsx:589 \u00B7 app/javascript/pages/Settings/Profile/Show.tsx:598 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Profile/Show.tsx"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76541817c571deef2766948e5a565c7401064ace50e448ae4f425aed71eddb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/javascript/pages/UtmLinks/Index.tsx:437 \u00B7 app/javascript/pages/UtmLinks/Index.tsx:447 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7daf1eb91e22d554740560a047e1f55eb7c04f73285d90c16f7299d2754b363"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): app/javascript/components/Analytics/LocationsTable.tsx:98 \u00B7 app/javascript/components/Analytics/LocationsTable.tsx:169 \u00B7 app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:432 \u00B7 app/javascript/components/CheckoutDashboard/UpsellsPage.tsx:263 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/LocationsTable.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9b72de348b73cae4e35f19a29536f6134b8a884d632fd27395e44ba1f34fc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:1319 \u00B7 app/javascript/components/ProductsPage/ActionsPopover.tsx:155 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c71934aa1f3f0f42811d96c6848b1805ab58da7c48b6794d4acb489b93efdd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): app/javascript/components/DownloadPage/WithContent.tsx:116 \u00B7 app/javascript/pages/UrlRedirects/DownloadPage.tsx:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/WithContent.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b164245a715c7daf52f7bf001ae6b6023695ef29bc52a1e05c136c25aaf28a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/EmailsPage/EmailForm.tsx:91 \u00B7 app/javascript/components/WorkflowsPage/WorkflowForm.tsx:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"82990dd72ef0356d2809d23df511ed501d3b741a231c124bae2c732d900f58d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/EmailsPage/useEmailSearch.ts:11 \u00B7 app/javascript/components/ProductsPage/useProductsSearch.ts:7 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/useEmailSearch.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13c02f7e0bb3985a53b5a58182c8794429eda35744acb92125d6493162f0a42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/EmailsPage/useEmailSearch.ts:20 \u00B7 app/javascript/components/ProductsPage/useProductsSearch.ts:20 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/useEmailSearch.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4453e155e0b6453332aa2a65adb9ee37d92dbbfe7298e21d4f6cb3c27bd3d545"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/Home/Shared/Nav.tsx:230 \u00B7 app/javascript/components/Home/Shared/Nav.tsx:271 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Home/Shared/Nav.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3140e343e63d02b8e70f83479bf1da4934e37394103bf185bd10e7821419c21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/Post/PostCommentsSection.tsx:364 \u00B7 app/javascript/components/UtmLinks/UtmLinkForm.tsx:569 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc9b1237c6a4a18df31494a502cc5972b6dfc007344009488e1333eb28b9397"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/Product/CardGrid.tsx:360 \u00B7 app/javascript/components/Product/CardGrid.tsx:388 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CardGrid.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f1ba7b5975722faa61217f42975423647f40bc60a67ba6d99da88c719f8a72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): app/javascript/components/Product/CardGrid.tsx:263 \u00B7 app/javascript/components/Wishlist/index.tsx:214 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CardGrid.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ec1478a7bb1200c7cfd22ef946218068411e0f0631be55c698dda759de84a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ContentTab/index.tsx:653 \u00B7 app/javascript/components/ProductEdit/ContentTab/index.tsx:822 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"30608911f156df684bdd3dfac78450da9b896d47063e6d882499238a42876f2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): app/javascript/components/ProductEdit/Layout.tsx:231 \u00B7 app/javascript/components/Profile/EditSections.tsx:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/Layout.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbfa9e096c18c350b9ba7e7430d28f37df25ec4dc09adbaadb3f6efac949f3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/RichTextEditor.tsx:746 \u00B7 app/javascript/components/RichTextEditor.tsx:753 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0f29b64ee5c9a728b71e43448f4b376f29891c1c414c5833a1e5826b8b3cc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx:88 \u00B7 app/javascript/pages/Settings/Password/Show.tsx:74 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3099954b9404b7487eb8419116e6b2919cb6f92405ae58a408fd881c1b755d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/ui/DefinitionList.tsx:1 \u00B7 app/javascript/components/ui/InlineList.tsx:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ui/DefinitionList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc12e2fa11580e21a6d013567d2d91a9b84b9d64ee24b88adb472b0a5f0899f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/components/useAddThirdPartyAnalytics.ts:18 \u00B7 app/javascript/components/useAddThirdPartyAnalytics.ts:46 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/useAddThirdPartyAnalytics.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4017806d19c0dd18bdf3e1116f2c112298b74a485be4af370a25c001dee1d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/data/discord_integration.ts:4 \u00B7 app/javascript/data/google_calendar_integration.ts:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/discord_integration.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5c481aa3f27f584627d3e450582b9aec668e4bb418e15f0a69a59632b7d84e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/javascript/pages/Checkout/Show.tsx:284 \u00B7 app/javascript/pages/Checkout/Show.tsx:601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc299dab47cf08b914f3615d810fdadefd3342dfde3fe3d5518ccc69ab6bade"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/javascript/pages/Purchases/Invoices/New.tsx:201 \u00B7 app/javascript/pages/Purchases/Invoices/New.tsx:211 \u00B7 app/javascript/pages/Purchases/Invoices/New.tsx:222 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Purchases/Invoices/New.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c69e1648dff26ae9fc7dece33c151721b4023e2d95db85ba7453100ac7e1879"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 27 locations): app/javascript/pages/Settings/Payments/Show.tsx:537 \u00B7 app/javascript/pages/Settings/Payments/Show.tsx:546 \u00B7 app/javascript/pages/Settings/Payments/Show.tsx:555 \u00B7 app/javascript/pages/Settings/Payments/Show.tsx:564 \u00B7 \u002B23 more site(s) not listed \u2014 all 27 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f56f16375f7ade87b023dba5369a74af48ca48cbb2559cfa2769cc29b225c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/javascript/components/Analytics/LocationsTable.tsx:60 \u00B7 app/javascript/components/Analytics/LocationsTable.tsx:132 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/LocationsTable.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9440a12ad1a85c0c8368304bf86e8a1ebaaeda77d695244a9aaba4d5ee331"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): app/javascript/components/Audience/CustomerDetailPage.tsx:1499 \u00B7 app/javascript/components/Audience/CustomerDetailPage.tsx:1610 \u00B7 app/javascript/components/Audience/CustomerDetailPage.tsx:1720 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6637772efcfaa8fd85742d47b49f934088bdf27bdd94b5b4af55f784b519dd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1334 \u00B7 app/javascript/components/CheckoutDashboard/DiscountsPage.tsx:1533 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd232c381de04680552f28ab98c7605bd55ffc633311861886ce551bd8f36fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/javascript/components/CreateBrandAccountModal.tsx:76 \u00B7 app/javascript/components/Settings/AdvancedPage/AccountDeletionSection.tsx:25 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CreateBrandAccountModal.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bb30a16e53da9c38fa70ce16484028dd3c1bce42807344298512c3f78cc3e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx:173 \u00B7 app/javascript/components/ReviewForm.tsx:67 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7eda4d3cfcd19e4ee0245312802518f5b299f1d3702068ba6d52cf6b459e99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/MaxPurchaseCountToggle.tsx:22 \u00B7 app/javascript/components/ProductEdit/RefundPolicy.tsx:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/MaxPurchaseCountToggle.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e50e9aacd6b56eb76adc7c5b4d60013639370419268a2546a7f53889c4454e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/javascript/components/ProductEdit/ProductTab/ThumbnailEditor.tsx:16 \u00B7 app/javascript/pages/Products/New.tsx:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/ThumbnailEditor.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb53acc4563515bb7ac4badd52b9bc778affdec23871c5b07fa6d2f123b1ec31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/javascript/components/Profile/EditPage.tsx:107 \u00B7 app/javascript/components/Profile/EditSections.tsx:356 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditPage.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bb0b99de40965b06a6ac6091c19de94175c958cb271901426e81fd8e0d1155"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx:241 \u00B7 app/javascript/components/Settings/AdvancedPage/NotificationEndpointSection.tsx:108 \u00B7 app/javascript/data/account.ts:37 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/ApplicationForm.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa871e65c4c1be1f1867dba749bbcd6dc394e3fdf56a840ce0a06d72c5fce79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:554 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:562 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:570 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b5abfb75f5c19bd239a8ac0b7d1af300b02ab74a0bb52492a3fd0576276136"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/javascript/components/Wishlist/Card.tsx:18 \u00B7 app/javascript/utils/discover.ts:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Wishlist/Card.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b139e0f2356c316adb851d31fd42ebcd03950a223a6e1dd95a7fcf06ca13fe6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): app/javascript/components/WorkflowsPage/WorkflowEmails.tsx:358 \u00B7 app/javascript/components/server-components/ProductEditPage.tsx:1002 \u00B7 app/javascript/components/server-components/ProductEditPage.tsx:1085 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e517d02a565a7ea4662148ae04ec4341ba8cfb3634be8154bb54bcb19c0fd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/javascript/data/marketing_actions.ts:54 \u00B7 app/javascript/data/marketing_cart_recovery.ts:14 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/marketing_actions.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f0fd74acf1ee1cdcbd52b8e3417980f7fd252d3f536495005f54a2d5cc8a85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): app/javascript/components/Agent/AgentChat.tsx:468 \u00B7 app/javascript/components/Support/ContactSupportModal.tsx:93 \u00B7 app/javascript/components/server-components/TaxesCollectionModal.tsx:25 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df9e230f7c16aee7f53b97c5ed637364187d3e80c5a75b0ea16019ed06900f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/javascript/components/Audience/CustomersPage.tsx:205 \u00B7 app/javascript/components/Audience/CustomersPage.tsx:210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2777cab27d741118e690208cccb1af62c4b9ef8ee32ca52ef474df86662e8aa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/javascript/components/AudioPlayer.tsx:27 \u00B7 app/javascript/pages/Settings/Payments/Show.tsx:289 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/AudioPlayer.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3093d3c43f83d5c78c9caba4db60c559d8d55bd00a659d1745a75743d7fb42d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): app/javascript/components/Checkout/payment.ts:2073 \u00B7 app/javascript/pages/Checkout/Show.tsx:1046 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/payment.ts"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fecfd520525dc830faa74844a889a7d23f5d4ff9484347266ddfd8b453eedf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/javascript/components/CountrySelectionModal.tsx:79 \u00B7 app/javascript/components/DateRangePicker.tsx:138 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CountrySelectionModal.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"83baa07fc65a0ea3fe6d473f403d284b141133421f83c228aee5f1a567e728e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/javascript/components/Post/PostCommentsSection.tsx:384 \u00B7 app/javascript/components/ReviewForm.tsx:435 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ecdfc891752b09e8d4f253ce63f6733ebad467cd90bb32eed0da2cb0e2eee2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:600 \u00B7 app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx:623 \u00B7 app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx:182 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7edf1d15ca1ad5d65a114649c9f92c3a470239329dae1acf03c0a73223618d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): app/javascript/data/comments.ts:89 \u00B7 app/javascript/data/installments.ts:194 \u00B7 app/javascript/data/installments.ts:206 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/comments.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"83650062564fcdceadd93db72c20c0f9e0a3c6a228256c2689096806e598ad37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): app/javascript/data/profile_settings.ts:100 \u00B7 app/javascript/data/profile_settings.ts:120 \u00B7 app/javascript/data/profile_settings.ts:130 \u00B7 app/javascript/data/profile_settings.ts:140 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/profile_settings.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d174e3f8b2425979c9212f46fc709e8846adc4311ed1b5c4376c26b7da81a7d9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: app/javascript/types/epubjs-internals.d.ts:84 imports epubjs/src/utils/queue, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/types/epubjs-internals.d.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13542e3dd210d58a3ccd9ac4b580fe6b73002828b0fbd01a581a00c424d4856"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BankAccountSection (cyclomatic 202, cognitive 200): BankAccountSection has cyclomatic complexity 202 and cognitive complexity 200; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"576fb57722474309796de933f56c93ae193aa305af3eaacb21145cc7a87b8e6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateBankAccountFields (cyclomatic 180, cognitive 184): validateBankAccountFields has cyclomatic complexity 180 and cognitive complexity 184; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"175400204efc662a78073c63cb06b050dc81cee527ab0e2637ef5cab821cfb5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCheckoutAction (cyclomatic 161, cognitive 244): applyCheckoutAction has cyclomatic complexity 161 and cognitive complexity 244; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/javascript/components/Checkout/payment.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2f66248ad2b8e619413eb542414e0b46b39bf1d5cc8312d24b3c5664a28060"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AccountDetailsSection (cyclomatic 154, cognitive 145): AccountDetailsSection has cyclomatic complexity 154 and cognitive complexity 145; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7509d58991a43382ba55e943e1f5b321b9e7298556dd1881b13f6284ff3f1d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Product (cyclomatic 122, cognitive 109): Product has cyclomatic complexity 122 and cognitive complexity 109; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/index.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a7eded94ca3615f9d360ce0914bef8086430bbed86445059902177a82577ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileEmbedNodeView (cyclomatic 101, cognitive 93): FileEmbedNodeView has cyclomatic complexity 101 and cognitive complexity 93; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"849f3c21aa87e713f9bcf095ebe9b62c34737035248b04da7cbcd19d9d261580"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateComplianceInfoFields (cyclomatic 98, cognitive 126): validateComplianceInfoFields has cyclomatic complexity 98 and cognitive complexity 126; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec47189dc2a41bc12cce3d6b440d9bf52b2ec8badebc3c76b07b400db6c582a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Checkout (cyclomatic 97, cognitive 89): Checkout has cyclomatic complexity 97 and cognitive complexity 89; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"69705a30b1abcf00a6c4156c9da461843cb9a96a2ea61047162b613037f2e5d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmailForm (cyclomatic 96, cognitive 91): EmailForm has cyclomatic complexity 96 and cognitive complexity 91; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf801f3b6068bde496e114671766ed360817a075d7209b7c31592739ded6b852"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomerDetailPage (cyclomatic 78, cognitive 70): CustomerDetailPage has cyclomatic complexity 78 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f06e2b1791d1e7933e3930eff9f25266277ef9766b2fb4ff3ce9c46ef92d09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 76, cognitive 159): (anonymous) has cyclomatic complexity 76 and cognitive complexity 159; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/javascript/data/order.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0739f2a4a3596ac7e64d11eb717277d6a6a67b56c983ff291b0a6d601dec7123"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubscriptionsManage (cyclomatic 74, cognitive 66): SubscriptionsManage has cyclomatic complexity 74 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Subscriptions/Manage.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b440db737774d45cfb8cf2a1a3d7ee7b48520b9918f50d134aa7189a5ae2f230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Form (cyclomatic 69, cognitive 64): Form has cyclomatic complexity 69 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78b609f5208e407e8043bc248320d70c648054eff519ec287e92f9ccd7cf6cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileRow (cyclomatic 54, cognitive 52): FileRow has cyclomatic complexity 54 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Download/FileList.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf5d5cef38daba71ee4650ea52c5d4475c9d80d98deb1b22e85c6dfb5bf2bfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PaymentsPage (cyclomatic 54, cognitive 50): PaymentsPage has cyclomatic complexity 54 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95e938ac4d6ddd110e4049959d23240a88c838428222e828bbdcc4608bc8d05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCanonicalIds (cyclomatic 52, cognitive 68): applyCanonicalIds has cyclomatic complexity 52 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dd46f1e20c5a9a16198ec2ccfa1620f995ffc6d67baea43252b2443c1489f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pay (cyclomatic 49, cognitive 60): pay has cyclomatic complexity 49 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbaf1740b7b4b37fa514bd32c52ff5f2474e9718d64378f7342f571a3bf75d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Form (cyclomatic 49, cognitive 48): Form has cyclomatic complexity 49 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f3b0bffedaafa955860d19932fff3cde1dec2c7b350712d83fa3b5d0ffc498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 49, cognitive 44): handleSubmit has cyclomatic complexity 49 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac2dcd3a5b0ea02f83525662ccc5213376f665d8d7b0156f319832c7bb9da05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 48): (anonymous) has cyclomatic complexity 48 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25ef5cb48c3121b03085a10757d8709f474637ae62be8594098307a3de71ed0"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx: 2645 lines of code: app/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx has 2645 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/javascript/components/Settings/PaymentsPage/BankAccountSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"711b33245a6c5e4731512561d33b97a191171887dbb450dcd6f1196997e1178e"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Audience/CustomerDetailPage.tsx: 2344 lines of code: app/javascript/components/Audience/CustomerDetailPage.tsx has 2344 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/javascript/components/Audience/CustomerDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55428a8ebf0e859b90dfaf7cc3721134aceef8e08b209d842ff136544656a55"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Checkout/payment.ts: 2024 lines of code: app/javascript/components/Checkout/payment.ts has 2024 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/javascript/components/Checkout/payment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6cdd2a6ef94c87cb42e6c2f7aa159e2d3a891428d6893e6f8451ab7a0dac49"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Checkout/PaymentForm.tsx: 2006 lines of code: app/javascript/components/Checkout/PaymentForm.tsx has 2006 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/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bbff3ec501409126797edee17f48328e3d1c186251ac421f6cb6b37b4e9310"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Settings/Payments/Show.tsx: 1684 lines of code: app/javascript/pages/Settings/Payments/Show.tsx has 1684 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/javascript/pages/Settings/Payments/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2656d11d43529229c9fa8a17b9c9c9c1a9b53d0f985599df177483eb7f9cd99b"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/CheckoutDashboard/DiscountsPage.tsx: 1654 lines of code: app/javascript/components/CheckoutDashboard/DiscountsPage.tsx has 1654 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/javascript/components/CheckoutDashboard/DiscountsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba927b669b86152463fde94b4082699b8106529fc496c11deaa46a45cec9dd43"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ProductEdit/ContentTab/index.tsx: 1631 lines of code: app/javascript/components/ProductEdit/ContentTab/index.tsx has 1631 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/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c357d092f5fe5a8448668e802120c202a9d696aa99bd22a172453acd52f6f3"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx: 1364 lines of code: app/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx has 1364 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/javascript/components/Settings/PaymentsPage/BeneficialOwnersSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"736bb27233880ce3ff4227d23bc91ded3336c6b4d9ce8a3cfd901ee05b7bb97b"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/EmailsPage/EmailForm.tsx: 1322 lines of code: app/javascript/components/EmailsPage/EmailForm.tsx has 1322 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/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1929a09252922ec3f721d92f9e094dea0ab911299e27508e69fbd13fda92a2d4"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx: 1317 lines of code: app/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx has 1317 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/javascript/components/Settings/PaymentsPage/AccountDetailsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b40952f3d1e3f04edd4462daa2d1914f390e94476d29fb82e082ec5bc29895"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Checkout/index.tsx: 1277 lines of code: app/javascript/components/Checkout/index.tsx has 1277 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/javascript/components/Checkout/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a0f1402280455abf2e46a8a786eaba4c522e4da22231e1a637e3bbc6b85833"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Product/index.tsx: 1266 lines of code: app/javascript/components/Product/index.tsx has 1266 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/javascript/components/Product/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd467b875acdbb02f279f12118c1d7964bf113efd522447328986ce9569d1090"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Checkout/Show.tsx: 1257 lines of code: app/javascript/pages/Checkout/Show.tsx has 1257 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/javascript/pages/Checkout/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c09e60441dbe5da35658ee19774d6912baf086709d1ce54a96e9e5dd5b6143a"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Agent/AgentChat.tsx: 1198 lines of code: app/javascript/components/Agent/AgentChat.tsx has 1198 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/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce34714e49b27d2202ae5cc6e539223a0277a37af8b39a7c9ca0f307bb8f93"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/server-components/ProductEditPage.tsx: 1155 lines of code: app/javascript/components/server-components/ProductEditPage.tsx has 1155 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/javascript/components/server-components/ProductEditPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9432353be7d89cb965e74677342cca6bbca6b51e9163c59d4fe22d7393bd8e"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Product/ConfigurationSelector.tsx: 1028 lines of code: app/javascript/components/Product/ConfigurationSelector.tsx has 1028 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/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b5df3b8acac3e063a1a0ba39cebfc1f660fe14c2e9fb9c33b96146f4997ad0"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/CheckoutDashboard/UpsellsPage.tsx: 989 lines of code: app/javascript/components/CheckoutDashboard/UpsellsPage.tsx has 989 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/javascript/components/CheckoutDashboard/UpsellsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5200388071d1a99ce44940db073daf202e49fe2a0e8f791885ca9075978bf97c"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ApiDocumentation/responseFieldDefinitions.ts: 975 lines of code: app/javascript/components/ApiDocumentation/responseFieldDefinitions.ts has 975 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/javascript/components/ApiDocumentation/responseFieldDefinitions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"708ca097158dfcb242047d1a43b65d00182337e24f22313776cfedfbab265311"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Profile/SectionsForm.tsx: 952 lines of code: app/javascript/components/Profile/SectionsForm.tsx has 952 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/javascript/components/Profile/SectionsForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb735ae38bc4b36c79cdc562e1b5005ec04f1fade19663a3f74f08c92e8674e"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx: 942 lines of code: app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx has 942 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/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af225302af736dfcdfecdfbd5b62dad65df9ac6a294e94cfb8b5ef5aa31a809"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/UrlRedirects/Read.tsx: 900 lines of code: app/javascript/pages/UrlRedirects/Read.tsx has 900 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/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cad47773f140c28ad78a623842f950ed721e82d190526331eb1241d0ec6166"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Payouts/Index.tsx: 851 lines of code: app/javascript/pages/Payouts/Index.tsx has 851 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/javascript/pages/Payouts/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7075a6f47bb33fc3534a61adcb4a8af57e47dd8f7306c567ea0c36df9c22f54"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Download/FileList.tsx: 849 lines of code: app/javascript/components/Download/FileList.tsx has 849 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/javascript/components/Download/FileList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65726636aad3160e228f8f443aa037b4da76826ab469119517597927679c90bd"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/data/order.ts: 848 lines of code: app/javascript/data/order.ts has 848 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/javascript/data/order.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9cb6b368d87bb4584ca1a5e8497ef5b23a9dbeffa07ff6d15b2b605d548b96"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/RichTextEditor.tsx: 799 lines of code: app/javascript/components/RichTextEditor.tsx 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":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64551bf0be6d9a7cc452193882d674d815c1ec748e8669d3cff18e674944110"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ApiDocumentation/Endpoints/Products.tsx: 787 lines of code: app/javascript/components/ApiDocumentation/Endpoints/Products.tsx has 787 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/javascript/components/ApiDocumentation/Endpoints/Products.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3590a7b36404308f1e27d3647116523a193c635d0600c760932247b968240baf"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Profile/EditSections.tsx: 765 lines of code: app/javascript/components/Profile/EditSections.tsx has 765 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/javascript/components/Profile/EditSections.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c1b6ae1830ff4169ac1083c09ebdeda2e4ec3ad893d04f68200b0a4f431fbe"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/WorkflowsPage/WorkflowEmails.tsx: 756 lines of code: app/javascript/components/WorkflowsPage/WorkflowEmails.tsx has 756 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/javascript/components/WorkflowsPage/WorkflowEmails.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d53875cc02f9ac2076f6d1b9c787ef1d02bc4721a7c07aab595a945ef7ddf1"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Communities/Index.tsx: 751 lines of code: app/javascript/pages/Communities/Index.tsx has 751 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/javascript/pages/Communities/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e8011c88366e3df276eccc4f35f8e07026fa432a0bb0c8451ef29c967d684a"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/data/product_edit.ts: 689 lines of code: app/javascript/data/product_edit.ts has 689 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/javascript/data/product_edit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7b8b5113570614997f8e9bda6cd3324b5372719bb6803cd304a10fabb5d2e3"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Settings/Profile/Show.tsx: 670 lines of code: app/javascript/pages/Settings/Profile/Show.tsx has 670 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/javascript/pages/Settings/Profile/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dba06f1d107269257c0c17640b7849b1832f8d7fed580ca3e9b131e1fe8f39a"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx: 660 lines of code: app/javascript/components/WorkflowsPage/WorkflowForm.tsx has 660 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/WorkflowsPage/WorkflowForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d4b219cdd11bc7ef575ac0236d71179d898594fd8e25cc22aaaebc973dd458"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Settings/Main/Show.tsx: 655 lines of code: app/javascript/pages/Settings/Main/Show.tsx has 655 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/javascript/pages/Settings/Main/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df960e9978ce52fd54778c34a388c0576d82754f280c17e120ef40863caa9864"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/utils/mimetypes.ts: 632 lines of code: app/javascript/utils/mimetypes.ts has 632 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/javascript/utils/mimetypes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eef2dc3347e746017433f96a2ce36faaf97730a4181653e1231e90af30cb53d"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Audience/CustomersPage.tsx: 629 lines of code: app/javascript/components/Audience/CustomersPage.tsx has 629 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/javascript/components/Audience/CustomersPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0f2b1652a9f53e8c734c332a92935dccfe8770452b3ff44411a5cd39b4ce18"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Library/Index.tsx: 584 lines of code: app/javascript/pages/Library/Index.tsx has 584 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/javascript/pages/Library/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b658968904e8841c877f85ab524e2319767dd6823a4c20d26bfa642f83392d"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Products/New.tsx: 572 lines of code: app/javascript/pages/Products/New.tsx has 572 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/javascript/pages/Products/New.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73501eb032a7438ad3bb7b95478299a7c47e50d642f109fcd8643997223a99e1"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Discover/Index.tsx: 541 lines of code: app/javascript/pages/Discover/Index.tsx has 541 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/javascript/pages/Discover/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd752a48a1b70a821c37b4ae236b06ae0c7dd96bf7dd698b49276df18a99bc4c"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Purchases/DisputeEvidence/Show.tsx: 536 lines of code: app/javascript/pages/Purchases/DisputeEvidence/Show.tsx has 536 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/javascript/pages/Purchases/DisputeEvidence/Show.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cdfae486164c1a1f904afaf4b07b1d9a6fc2fa90447842d9f3596a03781cd8"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx: 533 lines of code: app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx has 533 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/TiersEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d37eef4b16cd78b2b04c097a40cd54941710ec4a2ecad0f5a242fe802c2ea0"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/UtmLinks/UtmLinkForm.tsx: 532 lines of code: app/javascript/components/UtmLinks/UtmLinkForm.tsx has 532 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/javascript/components/UtmLinks/UtmLinkForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f03920267d0abdc1479bcf6ba7a181d56a436d34ac173b4c25d4c2ea056929"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/DashboardPage.tsx: 531 lines of code: app/javascript/components/DashboardPage.tsx has 531 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/javascript/components/DashboardPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c26a3f1875f0c61319bde75892e9ac455053dedb4e62c035e94eb8cd2ae3619"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Subscriptions/Manage.tsx: 529 lines of code: app/javascript/pages/Subscriptions/Manage.tsx has 529 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/javascript/pages/Subscriptions/Manage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4de2813ff08cd79f9777a08cb4bac36246f1fc64bf59b27ede6449696b4de9"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Checkout/PaymentElementInput.tsx: 518 lines of code: app/javascript/components/Checkout/PaymentElementInput.tsx has 518 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/javascript/components/Checkout/PaymentElementInput.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5333506cf523341d0bfbf88e8adad4e5ac8cb0852bcb0cdd45258f2837abc003"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ProductEdit/ProductTab/index.tsx: 518 lines of code: app/javascript/components/ProductEdit/ProductTab/index.tsx has 518 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/javascript/components/ProductEdit/ProductTab/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"187e955acc6704082af46598c5a4a690e945b21fff7471ec51fd76e4bb83a5c8"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ApiDocumentation/Endpoints/Sales.tsx: 513 lines of code: app/javascript/components/ApiDocumentation/Endpoints/Sales.tsx has 513 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/javascript/components/ApiDocumentation/Endpoints/Sales.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bf08e1b62395be21086462116a57681b50efe326bb76ec0f88ad294826bf36"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Affiliates/Index.tsx: 501 lines of code: app/javascript/pages/Affiliates/Index.tsx has 501 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/javascript/pages/Affiliates/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9e109fb56a0811c1b5facaf06f2ae29d1a989bf1bbb206858e9bb8db1cf523"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/EmailAttachments.tsx: 497 lines of code: app/javascript/components/EmailAttachments.tsx has 497 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/javascript/components/EmailAttachments.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d08b584b8fa435cc40caba67dc2cf37a37c32a5521bffdc220d028ca908e22"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Product/CardGrid.tsx: 486 lines of code: app/javascript/components/Product/CardGrid.tsx has 486 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/javascript/components/Product/CardGrid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3302f00a1b3055aa1fdabccd95e07980d2a6c7a2e9942893a97333f9ea1616b5"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/CheckoutDashboard/FormPage.tsx: 485 lines of code: app/javascript/components/CheckoutDashboard/FormPage.tsx has 485 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/javascript/components/CheckoutDashboard/FormPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3105200e1b440fe1af6a58000f37ce3359097ecc9773de5b31b2bba9e37f2d07"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Download/RichContent.tsx: 483 lines of code: app/javascript/components/Download/RichContent.tsx has 483 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/javascript/components/Download/RichContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b16b040cf14beea57772995de90392d9e62c2e57790fcb8e7bc2dc25493111d"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Bundles/Product/Edit.tsx: 481 lines of code: app/javascript/pages/Bundles/Product/Edit.tsx has 481 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Bundles/Product/Edit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d449e12b669431dc9c8a5769c6abfc50f52b3ea0273bd42acf2e333b60afb0"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/data/customers.ts: 478 lines of code: app/javascript/data/customers.ts has 478 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/javascript/data/customers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf989733259c3345817369b8b7b100df9ef071c20fe4e4606f2bb2c4a3a4fde0"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/UtmLinks/Index.tsx: 478 lines of code: app/javascript/pages/UtmLinks/Index.tsx has 478 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/javascript/pages/UtmLinks/Index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a625ce04e17918fc76c172af7a1ff4515280ed032ea150326f07f9123f0f6379"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/data/agent.ts: 468 lines of code: app/javascript/data/agent.ts has 468 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/javascript/data/agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab622ba62fa73fe1fdd082991c31a9f51073264241563cdc33d057e70ac444b"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ProductEdit/Layout.tsx: 465 lines of code: app/javascript/components/ProductEdit/Layout.tsx has 465 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/javascript/components/ProductEdit/Layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0761223a253554f27587b3e874991407efbeeb15d220e9c83cb9fda1d0d4f9"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/DownloadPage/Layout.tsx: 463 lines of code: app/javascript/components/DownloadPage/Layout.tsx has 463 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/javascript/components/DownloadPage/Layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a95c0608cf3bafd7109df3c39ddf973e99f5e6a64e2789e82efb51aaf72c0b"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ReviewForm.tsx: 460 lines of code: app/javascript/components/ReviewForm.tsx has 460 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f71629809ce7e9bb1a0493d2fc4c860a4075ec2f400dcc0b8a3285eafbae18"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/data/purchase.ts: 460 lines of code: app/javascript/data/purchase.ts has 460 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/purchase.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aabbf2371ceb80509326b5e80b3580490fe5e1952de4a8a0393e74ece38d67"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Pages/Edit.tsx: 443 lines of code: app/javascript/pages/Pages/Edit.tsx has 443 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/javascript/pages/Pages/Edit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5832ab07346788edd142df96ec9e03fa071c2221fae58e304096024e97554c7"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ApiDocumentation/Endpoints/Payouts.tsx: 435 lines of code: app/javascript/components/ApiDocumentation/Endpoints/Payouts.tsx has 435 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/javascript/components/ApiDocumentation/Endpoints/Payouts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2224379c0f3f7e69f7c2e0978ea5a875342a8541de3bcf3447f8a0724834c89"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/NestedMenu.tsx: 435 lines of code: app/javascript/components/NestedMenu.tsx has 435 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/javascript/components/NestedMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735b992e0cadc1e2fa67a70064398968ed16b733d5dfecbe6304bcca13763cee"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/TiptapExtensions/Link.tsx: 431 lines of code: app/javascript/components/TiptapExtensions/Link.tsx has 431 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/Link.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0296af5e2d1af6f0f5fb85c10d65d8cc0f018ddf5b63ad4560d54afc09340ace"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/data/card_payment_method_data.ts: 430 lines of code: app/javascript/data/card_payment_method_data.ts has 430 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/javascript/data/card_payment_method_data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a63a911c2935ea0437506407c392995967b34ddbc00ceaba1f630d96ada27fb"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/pages/Emails/Published.tsx: 417 lines of code: app/javascript/pages/Emails/Published.tsx has 417 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Emails/Published.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ceee1860c61ca7cc7ab5afd9ed9cca528ec8765cb5b7dce0ee2142dbeb263c"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Analytics/index.tsx: 415 lines of code: app/javascript/components/Analytics/index.tsx has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0e63d23f5f6970e40275777f132a88601dad36a2ee96e993238a0af8c27d53"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/DownloadPage/WithContent.tsx: 411 lines of code: app/javascript/components/DownloadPage/WithContent.tsx has 411 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/javascript/components/DownloadPage/WithContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"359c2fb20cd21e9c17313a55f591a25a662f76dbe9170aa589202bfbf765c905"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx: 411 lines of code: app/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx has 411 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/javascript/components/ProductEdit/ShareTab/ShareYourLaunchCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"428f7002711dd9d6c3dbb1c219b9b206b8fd83f7d869edcb689988be3a925ec5"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/AffiliatedPage.tsx: 409 lines of code: app/javascript/components/AffiliatedPage.tsx has 409 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/javascript/components/AffiliatedPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea17564398f95179ab3a95b31afc37203b4327f89bf3cdcb17db5fac22a7019"}},{"ruleId":"R3","level":"warning","message":{"text":"app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx: 409 lines of code: app/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx has 409 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/javascript/components/Settings/PaymentsPage/LegalGuardianSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"905c50693c047c0768d1b11b4302251d89382bf17f9b740192e7b74d31268b76"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/hooks/useLazyFetch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a344c4cb07080d7b1a0b295c88a820c932bfe327f569d6d45b6cab9d9f0977"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/widget/overlay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a6784f80e2ec7ea565cdba77a6fcc7ae23dc93a25b0004c98f4cc8e6527a5f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/mobile_tracking.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef11bf62f5433166152a6a9e77a60ef3e1214192b2c6dc56ea88ac3fcdc1fb67"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/packs/mobile_tracking.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5a2f83211255915cd8d307e4316539f7f65e4b0c071369725d7dd1e09d2525"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/custom_html_analytics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b0eab24cbf91c8bee5cec637e81b9efee4942ec9191c3f2ae2f3317aec43ea"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/widget/embed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f96ffd226735223deb87656260e1c0f36e6df1cbac99e4d27806adea1e96de"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp-review-video.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5013404ff53360ba8bba7ce5cc912ac1da72e4656e7743eec989d2e9c78e25"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/useIsIntersecting.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4628adab93f73496acc1c41f9e9f7259fca32b22eac4ea806fd82969e16cceb0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec4d6a9e0b8ccf8ad4c3dc3500aa83e94ad3396a3d3f056103ca977ee1e46f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/packs/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"541bb0d5cd63518ecf3d5c41a7ab1584fc352c1a07e7330b16d82927a9ea3e36"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/overlay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f2901207a2752379cb0e9d116942dcecd0aa9f242ea18b7f4a75ee657f0482"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/design.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"502d8f21a22059b883d55c895216b096167263f21f5598bf6c285fe2d8c6210d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/email.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f5dae011ded7ce5ae3ecd9338e4b0638c26b79e5a0a6a84d19d73244248d94"}},{"ruleId":"R5","level":"warning","message":{"text":"Dependency Freshness: 75 outdated package(s); JS/npm CVEs scored in D30"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7de98450603a813bc7a991bc6e60f440c1deac6f9c9bfd4d0da057afed869bcf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~188 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/hooks/useLazyFetch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9076122afb573dd8b594858dcf37c2bf91a041fd5fe66796b88e42b569bd3215"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~97 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/mobile_tracking.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"703096efc4359d70980df56ebe7e3105fdebfd42ed609645a38f3d07a8cc6050"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~97 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/packs/mobile_tracking.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77a44a8083b16d18cf93e1066bd4cc423f3c581e15890925cea1ccd00b4c17a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/custom_html_analytics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6896e2fed9e14f43521ac8fe04b25c514a35e75a26f441e540974cae1397139"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~38 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp-review-video.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94acac82dfebd436287d99a21cfbaecc1b3e920671122bab48bf7d45e2336c24"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~22 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/useIsIntersecting.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5804f43cc7de5b141b4896990210a95830a8c319856bbb21facf19af027f2e28"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/types/domain_settings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b84ead07fe633ab5e37c7680fe475e3d340abeecacfa96cee1c2b4b018cd7b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4caf095a81cf40b7900d62faed4eeae64563960ffd9662358d1e8db558b185"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/packs/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa931fe72b4885abd0502a36e98d852e9677e54a32c93191335d12807009a026"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/overlay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1678470d84c26976b0be85a187477b34f2cd97e8a9601004d4850c49935358db"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/design.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"678d7a02128d0f13499958734481f1d64bd48384e1534b36d10b8964d48923b1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/email.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"414121e19b153387d7e048bae59ab321bb3aed110daae4cc36660b44bf9cf74b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (7 application, 18 tooling, 265 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/entrypoints/embed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a475256b87efb083c824b7654b77ab0901f7f8c628d2ea781a3f41465e6d177b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ConfirmBalanceForfeitOnPayoutMethodChangeModal.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"387c189041489ed6d6d145de2aa6c5c6236711e58f17060c30f81ea7029a056d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CountrySelectionModal.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ba3ce5dea27d753831637c6a1a3efbb161550ce19da12fd7a6daba73df7644"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027readDesignSettings\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DesignSettings.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95207c8d35b1eff80fa906b542cbf042df1873594a8655b6771f089da27304c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027InertiaNavLink\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Nav.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad808acac5307d071d5079fe3565c602b37e2c767c742f6f7306fa75258b50e4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/PayoutPage/CreditCard.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba171a92c47c2fcf70923d60cfcb877b49300b4b54e620577058a74f468b6200"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/CreditCardForm.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"65551edd3670b54b497a83480694c0be49689af466d87482c8fa07918e170510"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/UpdateCountryConfirmationModal.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"601f8b127855631eec5691eaa0b4cfcff53c0988e32949c185a1996f3fc57e4c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Wishlist/index.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fe0eb1435087164e6f7d57f94480c79ce14a3348bcb75a5de04c4dc72d9a53"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VisualState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/design.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daa26111191166e5f6f9c0658088f45a3f446c675be0449c050e1df862b4fc3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MainColor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/design.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f07eb589a42b0ff47c67357307331e34dc78830a589d0e9259244d9695b0ccf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getMissedPosts\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77d6725addbe7d41afac91fedff766600cbafc18c5286da27e275b8a46271fe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getCustomerEmails\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"23272ed000b73dffb022c24fffb98208af7ff89f15822d1ea69e1f6028fd0302"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getProductPurchases\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff42eda64bd3db0fe37d2115a9a2a6c6dfa65fc0045cc1c3782f41d4d17fe41"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PriceDistributionTier\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/price_distribution.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84bd51c0d866a7e48cf03ab7678d4e9261812c140ada76818c94d095b0fdbeb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DisputeReason\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/purchase/dispute_evidence_data.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad55c8326222f82fd6e5354e28d4529c047d2d62bcf0c2b275eff146c0dd996b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027saveThirdPartyAnalytics\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/third_party_analytics.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfb51f0f9b2405564e7df0cebf36b980b22e6acac3b8fa9ce0bdac7af295966"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027deleteWishlist\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/wishlists.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8380bf8299e36354cf399b08347b27b8bf9e332360803c576c49c4d65d24e83"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ZOOM_OAUTH_URL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/integrations.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"294701bfda02cefaf6ce26e7271441cca5f9a69f34080e85da43c7c89e0d4d87"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ZOOM_CLIENT_ID\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/integrations.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ce923ffac27fad85f7f7453d46b8ee0802f44ed7c84d8247264d7194e3fab1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027GCAL_CLIENT_ID\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/integrations.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6136f4773b24cb5ebbfce41f808cf054adea8395942fd8e816969e4366526e02"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027prepareImagesForUpload\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/prepareImageForUpload.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"71af8029d2024fca70846d7de0bfca5323b959faa6717745c55549a0b1b7bdcc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027paramsToQueryString\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/url.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ac68ed33465c1246d980eef9e5ee6a2b310996f2f6db6032f9054c4ec903e2"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@inertiajs/core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Communities/ChatMessageInput.tsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3b3e9f38d54d53c812084fcca3748ff310493f35af5915c0d1f18f582185a4"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027axios\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/inertia/prefetch_rejection.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4d33a32a66147958e25c7331fa2d5d8950f5f89d968ed0c5b35dc5b8e16e1c"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027jszip\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/epubjs-patch.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2859b168ef0d6a1cf606c6eb09d83a42047fe3394ead5a3bbd2139bafa24f69"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/javascript/components/Analytics/ProductsPopover.tsx \u2192 app/javascript/components/Analytics/index.tsx \u2192 app/javascript/components/Analytics/ProductsPopover.tsx (one verified cycle inside a mutually-dependent group of 6 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/ProductsPopover.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"19be1a2103cc312b3a5d948d97a0c85431c026ee6301a0f392e1b80dd7c52885"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/javascript/pages/Communities/Index.tsx \u2192 app/javascript/components/Communities/ChatMessageInput.tsx \u2192 app/javascript/pages/Communities/Index.tsx (one verified cycle inside a mutually-dependent group of 5 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Communities/Index.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1ade60903a61227bf5eed72f761a40c43f0a5f20031fc6477dd1c78455261c"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): app/javascript/components/DownloadPage/WithContent.tsx \u2192 app/javascript/components/Download/FileList.tsx \u2192 app/javascript/components/DownloadPage/AudioPlayerContainer.tsx \u2192 app/javascript/components/DownloadPage/WithContent.tsx (one verified cycle inside a mutually-dependent group of 11 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/DownloadPage/WithContent.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ec13e6a13e883d0ddf71e5dcc78ed3a9c2624d8948be8efe939edda46b9d81"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/javascript/components/Product/Covers/Embed.tsx \u2192 app/javascript/components/Product/Covers/index.tsx \u2192 app/javascript/components/Product/Covers/Embed.tsx (one verified cycle inside a mutually-dependent group of 4 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Covers/Embed.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"079e8fd47855accfc4776f4c6f8fcb1ed1898d24d17b9e76f9d8e07f39717697"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): app/javascript/components/Product/CtaButton.tsx \u2192 app/javascript/components/Product/index.tsx \u2192 app/javascript/components/Product/PurchaseButton.tsx \u2192 app/javascript/components/Product/CtaButton.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CtaButton.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dd749e38b77dc36af856e9b95ecd7e5d6ea126a73fe0c7ebbce37f2ec7e0f5"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/javascript/components/ProductEdit/ContentTab/index.tsx \u2192 app/javascript/data/product_edit.ts \u2192 app/javascript/components/ProductEdit/ContentTab/index.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a49b720bb32835ef54e68d2c8d31d466af62a9e84b19dcda2d47a310da3fa9f"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/javascript/components/Profile/EditSections.tsx \u2192 app/javascript/components/Profile/EditSections/WishlistsSectionView.tsx \u2192 app/javascript/components/Profile/EditSections.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/EditSections.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30138277195978875879b83657042ea4850d4a5eeff6b5f3045195d8a1248dc"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/javascript/components/RichTextEditor.tsx \u2192 app/javascript/components/TiptapExtensions/Image.tsx \u2192 app/javascript/components/RichTextEditor.tsx (one verified cycle inside a mutually-dependent group of 4 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e08c79d6c9de3ef60a732b1f58970364bb4f31d97d9f5e0eec4d8a4654fca3"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/javascript/components/client-components/Nav/footer.tsx \u2192 app/javascript/components/client-components/Nav/index.tsx \u2192 app/javascript/components/client-components/Nav/footer.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/client-components/Nav/footer.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b4dd41a57d699f463d7c18a07a7e42ad4ee2a655d0f0d01351cdf653878929"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/javascript/data/google_analytics.ts \u2192 app/javascript/utils/user_analytics.ts \u2192 app/javascript/data/google_analytics.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/google_analytics.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0477143f881cccaab6c639edc9102510d3784d1d27da97921a6db67653dbe356"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/javascript/utils/currency.ts \u2192 app/javascript/utils/price.ts \u2192 app/javascript/utils/currency.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/currency.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"def434fab9535f7b03bd56c57b8986bb0595339f16ea932dc1f796dde2001fab"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/concerns/events.rb"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04596bc387df6be0f5e987a1b4b549e2f7721e4d52843beacdab278f4c8adf4"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/products_helper.rb"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c868eb28ee3542d2f56ed6eaf1213f8cfd1b4a2ab9b2a31eda7c2eca68b00e3"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/signed_url_helper.rb"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef388ff2dfa119f8fbdfc5519df042659a297c02a3bc5272dc5e27c4a150c24"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/product_files_archive.rb"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a49a3180e8926f208333ed1ac0226e95fa91cf1e900f18330b46234de0788d7"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/sent_email_info.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9ac7adb7ba308e5446c54f9e6ed4e86dabf3f50f06233083a5ef68297e071b"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.rb"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be1438da12a93e2ca4db9a8d943ef59d71112117d17d90df4234869a363f280"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/s3_retrievable.rb"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1a6ac617cfc5488873c791550fc806690b508453155afe83076d9474185448"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/utilities.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"38356e0ed134d81b8f628ec9dcbb33b986e1be16f89d789cdd75a9b2ee0bbd40"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/price_checker_service.rb"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec38086a74d550679b93c00e677306667e9f49fd40fe97812904b8a6e82e78b4"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/price_checker_service.rb"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"372f3678a0b11b278caf719b4ae9b24f492bd3561f095471e60066c12bf77f51"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/auto_top_up_negative_destination_balances_job.rb"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"675079d34f7f06d80afaeb93aaa39c114d2ba734b731430fd133b7765714557d"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/recover_stranded_buyers_job.rb"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde9a3d5c67e0471bf973899e5a71c3e55d7b5c6408c6b5cfea3d8aeb798ea4f"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/recover_stranded_buyers_job.rb"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b5b3ed588c4df3fa6f33bbd1902f41942a4a7abcd51ac17a5568dbe298597f"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://www.dropbox.com/static/api/2/dropins.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. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository. 8 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/shared/_load_dropbox_dropins_js.html.erb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f5e39c89343902401bd1a9ba8729f23389c0110fa5840615b6d8871c07f2f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isDirtyRef.current || visit.method !== \u0022get\u0022\u0060 appears character-identically in 2 files \u2014 app/javascript/pages/Pages/Edit.tsx, app/javascript/pages/Settings/Profile/Show.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Pages/Edit.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e5b95dddd76ba0c35520836b9be3374045bc32a7614f1add0747323463104c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!optionsResponse.ok || !optionsResult.success || !optionsResult.options\u0060 appears character-identically in 2 files \u2014 app/javascript/pages/Logins/New.tsx, app/javascript/utils/passkeyRegistration.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Logins/New.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"924c025d7a56b3343c8c0b80d3c3dad1dc8e0f338336cff8ff95a2b88c1773f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060application.icon_url || placeholderAppIcon\u0060 appears character-identically in 2 files \u2014 app/javascript/components/Settings/AdvancedPage/ApplicationsSection.tsx, app/javascript/pages/Settings/AuthorizedApplications/Index.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/AdvancedPage/ApplicationsSection.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4791ad2364354e7338747b6f67c9ebc7dde5a52f89359d8416b330a39cacd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060buttonLabel \u0026\u0026 buttonLabel !== \u0022Subscribe\u0022\u0060 appears character-identically in 2 files \u2014 app/javascript/components/Profile/FollowForm.tsx, app/javascript/components/Profile/FollowUserForm.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/FollowForm.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbdf0eeb9e2f649f24b1b9072b740884ab9f88f25d3054645495e2bd8334125"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060buyerCurrencyDisplay || !canUseStripePaymentElementClientConfirm(state) || !directListedCurrencySelected\u0060 appears character-identically in 2 files \u2014 app/javascript/components/Checkout/index.tsx, app/javascript/pages/Checkout/Show.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c906023790d75ca9e17139579fb0dcc3d6da6647b47b7fe67b71124c01c187"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.trackFreeSales || data.value !== 0\u0060 appears character-identically in 2 files \u2014 app/javascript/data/facebook_pixel.ts, app/javascript/data/tiktok_pixel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/facebook_pixel.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70247e2a4b66b406e6f3dc5319fc4129aab29455d3430b1ef95417bcd3a8e42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configuredDirectListedCurrency || recurringUpiRegistration || !canDisplayBuyerCurrencyQuote(state)\u0060 appears character-identically in 2 files \u2014 app/javascript/components/Checkout/index.tsx, app/javascript/pages/Checkout/Show.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdb778149a1c1ca2b23aa85ab5916f8c7492588a2a02f24e9548d7a9ef68b7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentSeller?.profileFont \u0026\u0026 currentSeller.profileFont !== \u0022ABC Favorit\u0022\u0060 appears character-identically in 2 files \u2014 app/javascript/components/BundleEdit/Layout.tsx, app/javascript/components/ProductEdit/Layout.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/BundleEdit/Layout.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67f88f6cf4072de03a3471c3f24a32f084060ed021a6dea87f9faf29dfcc29b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.affiliate.apply_to_all_products \u0026\u0026 (!data.affiliate.fee_percent || data.affiliate.fee_percent \u003C 1 || data.affiliate.fee_percent \u003E 75)\u0060 appears character-identically in 2 files \u2014 app/javascript/pages/Affiliates/Edit.tsx, app/javascript/pages/Affiliates/New.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Edit.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45cd601e06a7716a02d3d137057e3c8b0b170aa9fcff2b8c9a39df62cbf9bab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.affiliate.destination_url \u0026\u0026 data.affiliate.destination_url !== \u0022\u0022 \u0026\u0026 !isUrlValid(data.affiliate.destination_url)\u0060 appears character-identically in 2 files \u2014 app/javascript/pages/Affiliates/Edit.tsx, app/javascript/pages/Affiliates/New.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Edit.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deea3519f4cf81cbf2fcd80c88a8a3619acd86741f77d9114cbd6c294efacd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dimensions == null || dimensions.width \u003E DEFAULT_IMAGE_WIDTH\u0060 appears character-identically in 3 files \u2014 app/javascript/components/Product/Covers/Embed.tsx, app/javascript/components/Product/Covers/Image.tsx, app/javascript/components/Product/Covers/Video.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/Covers/Embed.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65aa510d3e25965f6af5efadf0af10d309182a55bc31001256ae08406788966"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060discount.type === \u0022fixed\u0022 \u0026\u0026 discount.once_per_cart\u0060 appears character-identically in 2 files \u2014 app/javascript/components/Checkout/cartState.ts, app/javascript/components/Product/ConfigurationSelector.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/cartState.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"751bdc535dd81bbf8426adad262b937143fc5ff1bc77edef9f99fc345726ffee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e instanceof DOMException \u0026\u0026 (e.name === \u0022NotAllowedError\u0022 || e.name === \u0022AbortError\u0022)\u0060 appears character-identically in 3 files \u2014 app/javascript/components/PasskeySetupPrompt.tsx, app/javascript/components/Settings/PasswordPage/PasskeysSection.tsx, app/javascript/pages/Logins/New.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/PasskeySetupPrompt.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e944d1000e52ed92521df8ac02379f44094396355338d03cb65396796431c08e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e instanceof DOMException \u0026\u0026 e.name === \u0022AbortError\u0022\u0060 appears character-identically in 2 files \u2014 app/javascript/data/affiliated_products.ts, app/javascript/utils/request.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/affiliated_products.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"40684ca769515cad37e493aefb933f73faf1f28cfd95f8720d555c4811aecbf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060editor.state.selection instanceof NodeSelection \u0026\u0026 editor.state.selection.node === node\u0060 appears character-identically in 2 files \u2014 app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx, app/javascript/components/TiptapExtensions/PublicFileEmbed.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d06ca321a97615113270c8c2b28065a5b104c153a2f6a2219a6de49add8461"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.status?.type === \u0022unsaved\u0022 \u0026\u0026 f.status.uploadStatus.type === \u0022uploading\u0022\u0060 appears character-identically in 2 files \u2014 app/javascript/components/BundleEdit/Layout.tsx, app/javascript/components/ProductEdit/Layout.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/BundleEdit/Layout.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7097100973e47f0ed84405b2867c3e1a74449af485913a8312e67f92660a73f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.status.type === \u0022unsaved\u0022 \u0026\u0026 file.status.uploadStatus.type === \u0022uploading\u0022\u0060 appears character-identically in 3 files \u2014 app/javascript/components/EmailAttachments.tsx, app/javascript/components/ProductEdit/ContentTab/FileEmbed.tsx, app/javascript/components/ProductEdit/Layout.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailAttachments.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d08b7dcb665605c94d70d8537ee0746c55cb5938076c5fdf09daa7f3c1afd63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file?.status?.type === \u0022unsaved\u0022 \u0026\u0026 file.status.uploadStatus.type === \u0022uploading\u0022\u0060 appears character-identically in 2 files \u2014 app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx, app/javascript/components/TiptapExtensions/PublicFileEmbed.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ProductTab/DescriptionEditor.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1773ea18cbb3dacde1741fe78c86fc30b4b79af572783d27c2634bd5661bdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileListMatchesPickedFiles(input.files, picked) \u0026\u0026 canResetFileInputAfterSnapshot(picked, files)\u0060 appears character-identically in 3 files \u2014 app/javascript/components/ProductEdit/ContentTab/index.tsx, app/javascript/components/TiptapExtensions/Image.tsx, app/javascript/components/TiptapExtensions/PublicFileEmbed.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"770d09dad2590dc47dabc1a66abb634fdc297af0f787d03b173675f46f511bf1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading \u0026\u0026 \u0022pointer-events-none opacity-50\u0022\u0060 appears character-identically in 9 files \u2014 app/javascript/components/AffiliatedPage.tsx, app/javascript/components/Audience/CustomersPage.tsx, app/javascript/components/CheckoutDashboard/DiscountsPage.tsx, app/javascript/components/CheckoutDashboard/UpsellsPage.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/AffiliatedPage.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"344b02bff87e5cca01337c7dd8ba176a1fe5793439946caf96625627459c64c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isNavigating \u0026\u0026 \u0022pointer-events-none opacity-50\u0022\u0060 appears character-identically in 2 files \u2014 app/javascript/pages/Affiliates/Index.tsx, app/javascript/pages/UtmLinks/Index.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Index.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba339b9044c92581e521ca319175a9e2eee1eb0b3f4f67768015a1f3b86615f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isRecord(json) \u0026\u0026 json.success === false \u0026\u0026 isString(json.error)\u0060 appears character-identically in 2 files \u2014 app/javascript/data/marketing_actions.ts, app/javascript/data/marketing_cart_recovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/marketing_actions.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccbb14e6dd778331385a98d8ebb7345b4c821f16287e74ccff6d48daebefcad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.pay_in_installments \u0026\u0026 item.product.installment_plan\u0060 appears character-identically in 2 files \u2014 app/javascript/components/Checkout/index.tsx, app/javascript/pages/Checkout/Show.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/index.tsx"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"beacaa4b89cd647e36f1b4656dcff5712bbf6e767a3735fef43510e6b848cf0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060memberships.length === 0 \u0026\u0026 products.length === 0\u0060 appears character-identically in 2 files \u2014 app/javascript/components/CollabsPage.tsx, app/javascript/pages/Products/Index.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/CollabsPage.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ccb0163154ca86d6e2c73b558433ba3ce51f2d953ca1874097fab638cb420"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.enabled \u0026\u0026 (!p.fee_percent || p.fee_percent \u003C 1 || p.fee_percent \u003E 75)\u0060 appears character-identically in 2 files \u2014 app/javascript/pages/Affiliates/Edit.tsx, app/javascript/pages/Affiliates/New.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Edit.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40e7c70bf3e194d3186ad99e6de3ed42d5d8965947f2b9a0da1820715389f92"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redact\u0060 is public and takes \u0060value\u0060 \u2014 which it walks as a \u0060Hash\u0060 \u2014 from its caller, and it calls itself at line 20 (\u0060self.redact\u0060) with a piece of \u0060value\u0060 (and at line 23) \u2014 and nowhere in \u0060redact\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends stack per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. A walk like this one raises \u0060SystemStackError\u0060 past about 3,800 levels on the main thread and about 1,000 on a \u0060Thread\u0060 \u2014 where Puma serves requests and Sidekiq runs jobs (MRI 3.3 and 4.0). \u0060JSON.parse\u0060 stops at 100 levels by default, but the other parsers a caller may use do not: \u0060YAML.safe_load\u0060 builds 1,400 levels from 2.8 KB, \u0060Oj.load\u0060 100,000, REXML 200,000, and \u0060JSON.load\u0060 on json 2.7 (Ruby 3.3\u0027s default) or \u0060JSON.parse(\u2026, max_nesting: false)\u0060 58,000. \u0060SystemStackError\u0060 is not a \u0060StandardError\u0060: a bare \u0060rescue\u0060 or \u0060rescue =\u003E e\u0060 around the call does not stop it. Thread a depth argument through \u0060redact\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utilities/log_redactor.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b191d725893c34a954e5e460e2fd9e925af551e60baff060a6c4a9f9b992b7"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060normalize_description\u0060 is public and takes \u0060description\u0060 \u2014 which it walks as a \u0060Hash\u0060 \u2014 from its caller, and it calls itself at line 148 (\u0060self.normalize_description\u0060) with a piece of \u0060description\u0060 (and at line 149) \u2014 and nowhere in \u0060normalize_description\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends stack per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. A walk like this one raises \u0060SystemStackError\u0060 past about 3,800 levels on the main thread and about 1,000 on a \u0060Thread\u0060 \u2014 where Puma serves requests and Sidekiq runs jobs (MRI 3.3 and 4.0). \u0060JSON.parse\u0060 stops at 100 levels by default, but the other parsers a caller may use do not: \u0060YAML.safe_load\u0060 builds 1,400 levels from 2.8 KB, \u0060Oj.load\u0060 100,000, REXML 200,000, and \u0060JSON.load\u0060 on json 2.7 (Ruby 3.3\u0027s default) or \u0060JSON.parse(\u2026, max_nesting: false)\u0060 58,000. \u0060SystemStackError\u0060 is not a \u0060StandardError\u0060: a bare \u0060rescue\u0060 or \u0060rescue =\u003E e\u0060 around the call does not stop it. Thread a depth argument through \u0060normalize_description\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/rich_content_deletion_guard.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dead53fcbde59dca022b43659ec84dde81b0084a9c11c7269545157a3d549c5"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060applyFileIdMappingsToRichContent\u0060 is exported, takes a document from its caller (line 379) and hands it to \u0060applyFileIdMappings\u0060, which calls itself at line 363 (\u0060applyFileIdMappings\u0060) with a piece of \u0060value\u0060 (and at line 375) \u2014 and nowhere in \u0060applyFileIdMappings\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060applyFileIdMappings\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_edit.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6d115dd5495010c8fb9178dc9304d034d0531475bb036f269fe57b8ba34f06"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060removeFileEmbedsFromRichContent\u0060 is exported, takes a document from its caller (line 430) and hands it to \u0060removeFileEmbeds\u0060, which calls itself at line 389 (\u0060removeFileEmbeds\u0060) with a piece of \u0060value\u0060 (and at line 404) \u2014 and nowhere in \u0060removeFileEmbeds\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060removeFileEmbeds\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/product_edit.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"2923ede1e72e01c7af9b3a68e4a8ea2ba8da74dc10e491331d4f2ae04decb95a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060rawDocContainsNode\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 141 (\u0060rawDocContainsNode\u0060) with a piece of \u0060value\u0060 (and at line 144) \u2014 and nowhere in \u0060rawDocContainsNode\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060rawDocContainsNode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/index.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5403e15c142d64be4c13f4132363233ec37d664207af7f3356b180bfd814e4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060submitted_field_names\u0060 is public and takes \u0060sent_attributes\u0060 \u2014 which it walks as a \u0060Hash\u0060 \u2014 from its caller, and it calls itself at line 1508 (\u0060self.submitted_field_names\u0060) with a piece of \u0060sent_attributes\u0060 \u2014 and nowhere in \u0060submitted_field_names\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends stack per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. A walk like this one raises \u0060SystemStackError\u0060 past about 3,800 levels on the main thread and about 1,000 on a \u0060Thread\u0060 \u2014 where Puma serves requests and Sidekiq runs jobs (MRI 3.3 and 4.0). \u0060JSON.parse\u0060 stops at 100 levels by default, but the other parsers a caller may use do not: \u0060YAML.safe_load\u0060 builds 1,400 levels from 2.8 KB, \u0060Oj.load\u0060 100,000, REXML 200,000, and \u0060JSON.load\u0060 on json 2.7 (Ruby 3.3\u0027s default) or \u0060JSON.parse(\u2026, max_nesting: false)\u0060 58,000. \u0060SystemStackError\u0060 is not a \u0060StandardError\u0060: a bare \u0060rescue\u0060 or \u0060rescue =\u003E e\u0060 around the call does not stop it. Thread a depth argument through \u0060submitted_field_names\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5716ea547c1188c90d343b234acbf28f428162a123ed4d23d127a82004624c4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060force_utf8_encoding\u0060 is public and takes \u0060value\u0060 \u2014 which it walks as a \u0060Hash\u0060 \u2014 from its caller, and it calls itself at line 2836 (\u0060self.force_utf8_encoding\u0060) with a piece of \u0060value\u0060 (and at line 2838) \u2014 and nowhere in \u0060force_utf8_encoding\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends stack per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. A walk like this one raises \u0060SystemStackError\u0060 past about 3,800 levels on the main thread and about 1,000 on a \u0060Thread\u0060 \u2014 where Puma serves requests and Sidekiq runs jobs (MRI 3.3 and 4.0). \u0060JSON.parse\u0060 stops at 100 levels by default, but the other parsers a caller may use do not: \u0060YAML.safe_load\u0060 builds 1,400 levels from 2.8 KB, \u0060Oj.load\u0060 100,000, REXML 200,000, and \u0060JSON.load\u0060 on json 2.7 (Ruby 3.3\u0027s default) or \u0060JSON.parse(\u2026, max_nesting: false)\u0060 58,000. \u0060SystemStackError\u0060 is not a \u0060StandardError\u0060: a bare \u0060rescue\u0060 or \u0060rescue =\u003E e\u0060 around the call does not stop it. Thread a depth argument through \u0060force_utf8_encoding\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/merchant_registration/implementations/stripe/stripe_merchant_account_manager.rb"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"409cd2b012a6078f13f33a798c4fe79d6fed0446374ae0c05c9dfc8314f06e14"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060File.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and it is held in \u0060file\u0060, and every later use of \u0060file\u0060 in \u0060log_mail_debug_info\u0060 reads a member through it \u2014 it is never closed, returned, passed, yielded or stored. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060File.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_resend_api.rb"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e350f72fa9d59b8d056e36897dd87540cba8971ffc772617392aa896b398d4"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060File.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and it is held in \u0060file\u0060, and every later use of \u0060file\u0060 in \u0060log_mail_debug_info\u0060 reads a member through it \u2014 it is never closed, returned, passed, yielded or stored. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060File.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/post_sendgrid_api.rb"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5c1c7a27545b1c80c8cd5d031d9df42b2964ce24c2c485e732b35c2723741d"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Tempfile.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and it is held in \u0060temp_file\u0060, and every later use of \u0060temp_file\u0060 in \u0060send_to_kindle\u0060 reads a member through it \u2014 it is never closed, returned, passed, yielded or stored. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060Tempfile.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/customer_mailer.rb"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c07025b50f678e452e9440e6cabe71f3edf16c1775b407c68de56181fb4cb9"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 2/3 async functions that make a cancellable request (fetch, axios, ky, ofetch) 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: fetchWithOneRetry: \u0060fetchWithOneRetry\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/lazy_chunk.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e78dffffde1e8248e345cccf360b574b8b1a366372433e85bf1d80129eeae63"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060thumbnail_url\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060src\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060thumbnail_url\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9095c2e1a4f30e7532da644e074e5a34a9b39cd414dfc31137a274853cd2df"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060alt_title\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060alt\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060alt_title\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"be29771836076ee96a23b52f4f777d780c43de8ac20c1e71106f66f4a114b6c7"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060target_url\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060href\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060target_url\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a954fb965f900182e5acf013591fb13158e268c9b7bc69ca0f01650a4969f323"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060content\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the text of an element of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060content\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2483dd8c62658ba1360516bdcf60b65f866ad74267bad41509ee800add4aa21"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060crossSell.description\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/CrossSellModal.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ec67682db007ce43ee85d72d891995a00b770a0e3ba2eeea4dc99eee499370"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060message\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/Receipt.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0138f0278734ef43706cb42167e25428a55787f5fd5d4eb31ff1d81e5b414269"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060upsell.description\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/UpsellModal.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac105169978896a47f105dba6b4c5aabb748d88dae9f1b8c60d56adc6f7e067"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060styles\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Developer/FollowFormEmbed.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0f4336914ac36db47a4e04ccc7a2fc5f3b88d3e852224e4785bbd603254d76"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060comment.content.formatted\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Post/PostCommentsSection.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4e204ffde912fc0832250dc24e29d8f336aa2a5b5d1d895a02c2e9697c9940"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060product.description_html\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/CoffeeProduct.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e0a864e64d00008a8e7c9cabdff8d742efc49bfe94025a492fbabc31f71f67"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html??\u0022\u0022\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/LazyDescription.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ddc9811a577a4c86f3615f48bae9c9078583f5e9011f01992504768091c2c2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060refundPolicy.fine_print\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/index.tsx"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfbe9e79bf9e5e4dbc33a2252b4cf98182f3cf17a0e58bc6a96ee8894f7c486"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ReceiptPreview.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a66ed749985aced8987a968e0aae0290a5ae6d7597d64b34c0f32dc5b979b8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060listItem.innerHTML.replace(/\u003C\\/?p\u003E/gu,\u0022\u0022)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"87db0168fcd8a185633710d549b9ce1b9100c180a4528345c474aaa961ba67fb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060initialValue\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9dd240ec281451f03742ae497386f061b9dc745303e4d896e7fc6cbc9adb25"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060setupData.qr_svg\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PasswordPage/AuthenticatorSetup.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabbf0f122a03c67e0a1a78a93497c1453ef3d4207b4c1015cc900d8dcb9526c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060stripeConnect.supported_countries_help_text\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Settings/PaymentsPage/StripeConnectSection.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"395e68ee308af91c31cb9647c9178640863abd07687370c3c53d7a108c1f05cf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060dom instanceof Element?dom.innerHTML:\u0022\u0022\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/TiptapExtensions/MediaEmbed.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfba22e214eddb13d739982b0939bfe58ff10de8676c94a435e8099ec932d80"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060alert.message\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/server-components/Alert.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b5f52a76710a92edf9877e75838c47f054d71915e28828ec2cd5bf46489978"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060stringifiedInnerContent\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/layouts/components/MetaTags.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d90baf7f5fe14881be3b2f454acb2372e1e802c12acf8660fe3a7ac794359d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060headerText\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Affiliates/Form.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f73f7d77ad36f320517336d11681ab0dcdea09c96fab4c5ba1d76b2050ca05c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060text.replace(regex,(match)=\u003E\u0060\u003Cmark class=\u0022highlight rounded-xs bg-pink\u0022\u003E${match}\u003C/mark\u003E\u0060)\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/HelpCenter/Articles/Index.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd9517b902da57ac0a0a84be154b9f3623c3c3f68cc39cd464f06d4f93f7d1e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060article.content\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/HelpCenter/Articles/Show.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"20694c15fba78199067a193b2ef42aed9449924b94714c621845f4d9fe3d8382"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060params.toString()\u0060 is text this program did not author, and it is written into a URL attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/widgetCodeToCopyBuilders.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"213d5d89d557d8aaeaefb72d43e09f8892bd5538d18ef5e13eaa4de5bc9cdd1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resend_callbacks/ruby.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19fe7d6e93889267b9f4609281b7b0d68ec673195b81f1122bb7488b4939fb8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utilities/geo_ip.rb"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c06667305c2e57b570385fc5726ef5fca478c7c5692608765b550fe31324fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utilities/o_embed_finder.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88b71c2439802e7bbb3e83c46f6c7964e4b2aad40e25ab263514239acf6e606"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"db/migrate/20150114194817_add_scopes_to_oauth_applications.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"920927ee2b98758b9b542fd913801450bc1b49dc4da8fe3846977684e5be2d0d"}},{"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":"config/vite/stale-module-guard.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8da63aeadc0c68b26e99e903806c4c7ea66f29f9b1fd49d77f5be201ae614c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/initializers/005_apple.rb"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f258a3c237a658fc8a28e3ac8011bec636611456e72fe53048218de7c41542f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue {}\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/initializers/005_apple.rb"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"062341fe16457d46639d90f0703f03f8b48cad4b4347ff4c61d7598018568d34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/initializers/mysql_read_only_primary_retry.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adc2f40546f528f652c0ebdf34883c29cd7598a845012b681487c6dae7263bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/initializers/pt_osc_leftover_check.rb"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade47fd4544618ea77fc0c84c3cbd2d0b0a35d53b40ceb690019d00f5556bde4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue {}\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/initializers/rack_attack.rb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"289aa72667a8563684f746540d406129993a535cb7c30428b193241738847180"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/generate_canada_sales_report_job.rb"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9bcad46c2060148546cf4bebd320aa965be33a3a68f210069fd54f1ab8f623"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/post_to_ping_endpoints_worker.rb"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"92951e8695741cd874b296ce03293c5c12a13a99e51a4d652620cfafd9538906"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sidekiq/verify_finance_reports_delivery_job.rb"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ce94adc9f7c7e8b1d74fe81397997b53f57a933468d240b655055194f8434e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/audit_correlation_id.rb"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3eebddbd42c9d975f6a0874d8b4d008444c3d9e4b3fc1d36a43e0ba83acd6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/tip_options_service.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fe9cfb1670a1d9d3f08e38b0980c9508e2dac1996b2c7efd07f8309f8ae66a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/undeliverable_ping_subscription_notifier.rb"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a79ca12813e44c25bc0fb9650d44fc0cd78c68ef41bebc124e9d3d1fa37e97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/undelivered_receipt_notifier.rb"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"476f1676f77226c09f7734fe2fa6ef3181b8d9c4e49b01a88275188c59380100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/vat_validation_service.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7046b64799e712ba9d4f46e4b7ea3bb2552eca58f327193dc73982673e32dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/purchase/create_service.rb"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"082cdc6555d26095dc41c1d6986b626a0e7da4170d2102c2c72dc47557297459"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e8091ceaebb55d1f3b627ba95afbd73c4630f0b0946135a7a5e376c79d5226"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd995ff8d624c84e814ccc3dbccf983fba2c9d918017562370e7f2846d78f4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcaab09805d6ab31b9d03a3e07a699e1639632a683ae2a3d3963717ac306fb5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b26fa4ba28e30e27f947eaa0fb0b08502c5a1c2886cb615c86c2595e19ee7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cd750b28bdaac29114f6b89bba950148d29c208bc3c1bc8dc5673d4cf19689"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b594b7923667b4804eb9d0a9a95e389b578881f862b857e4cd6aba515e4a2a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf27bbe435cf2fcfa3a0ff01bf25fc48387116becb1715432969c20852def75"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd4f0ec6fef7c6300f4045e8613ddeb19c95cfaf12c695910c3690e5910bb54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6549a0fa0150958a246a2306df47bae70e33e1ccf9f7d11b80a9f34a03dbcd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/anthropic_client.rb"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"e730b16095bd4291860fb49fb47790534d63fd29bacc4ebb1224dddcdd5d4b5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/ai/store_agent_service.rb"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ea93a7fe7cdc0cdf9e958ef53ada77a133a8909b005f8a42fe12ad8999e0ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/user/social_twitter.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f29920bc3c81077269d3e23b534c0c2f2b23ccded76385ab3a34f3ba8b072e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/bank_account.rb"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a534959ace0bc1cab9cae821490ce5fb3f732a861977d165c2e62cf1a1561c50"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/installment.rb"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcadafaa60d12be994a80b9d4f96be6ae50f8640f6bbbb3c0da367e29883c76"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"357b6982bd58c1772bb56c8d508651a128341637b31c568928dc6234ec3b3f17"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4de59bae865f7fe162c52f8ff038d79d932704e039ec10c4ddd29eda52f64b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/link.rb"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3a4d8a9ce530844cb7825d6d4d475a74205db123a3293548e501f6da79bf72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/merchant_account.rb"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cd49ab3adbe5c110b7721e1ed54b0367422711e583524f089965a99aeca2e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/product_variant_deletion_audit.rb"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1351a72249718f49c0ece23c89eedeb74240cb745929a06073700fb433fbb728"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/purchase.rb"},"region":{"startLine":6404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c463ddb362248851944db44d42119c63d7a20f03aca757e0acccc0d4bcd586a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.rb"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b97cee42e7fb0b67a913fc126c1a1ec99840d0a10e81a89de278104f98a4bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.rb"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9c0da49f03884b640c8c37e82e498e0fea91938cf76aa06f8c6372b8ef64b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/user/social_google.rb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ed4475677d0d4dd899311c14b6b110b33354a764ef85258dafd59aa896255d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/concerns/product/structured_data.rb"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5451eb096258931f8bf7c114007df5090b7e288e20970f13cd59957d8003b5d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/oauth.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a6a4dbb64c54aab5f2afa432cc7a40238a756a55e9b3e5985d236d02c81ee9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/prepareImageForUpload.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a09ec2610768ddf02775404e89a004bf5b5b957cef834b20705d2820d70420a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/request.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c99f5e3930321bdb6b7321ac41213f2a7d5a92530d7b6d6b63d192612bf9258"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/utils/styles.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c8f34d82759820b12ca26b63443fb2504587acf561d5bcb6b563097a926274"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/UrlRedirects/Read.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20416ce92c1a5afb66db34c6b45f320d128b3e190a49f1735e163f2c38c8b50"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/HelpCenter/Articles/Show.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08a0f8adcc0c24f990e5a3d688fb666f4bc18b772841d81577aa9d9bca4a2df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/pages/Checkout/Returns/Pending.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf817a305b5651cb09ba1af42c5f4212f7c9a0860dc21815a17298c09cf3dccf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/affiliated_products.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6a71645ed6dd5287b6972ff7ad27df960336b73d01e5797f8935343b4aa08c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/agent.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e87debe3df463a0b31e23048464b0d05b39bf93a18994e8d8ce568e1bdfcfac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/customers.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4968fd58637dde8548fcd89b7adc7e9f5809a380be6dcad94caced0712b6d7a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/data/offer_code.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdc903b341866722495b1f38130219873a910f6eacbf3041159bd1ace1f035c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/useReactNativeMessage.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6ded6054538003572d6edc0fef8807a4e685d37e1fe8d7f90b91a12b9e3968"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/AudioPlayer.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97553ef4b93feeb247dac95426535d3273ec5dc55dfae6ceab731ac5091e71d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ReviewForm.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"545cd411218156104d26c6104c73712492fabfe8a45d56a95ea4ec9202760de3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Search.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e88f0e09b2e13552bba1803c150b4d8d1b475b6bd8442f519a3b1f708d7580"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/useRecaptcha.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b79688424b603a08c8f556e68b9b3051627df0931a1b05bbecf00c44b629f88"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/useRecaptcha.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb52832ad01d196272c8c2408413983e8dfa40ce0efc99041a87bdd8f2385a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Support/ContactSupportModal.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70d7378e73bc7be6a5c17b2a158a6aafffabcdab46e049a3b7e67cea29bfa37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Support/ContactSupportModal.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a6ea0259c23996b1525cd49b1e82eea6bf59dbcf9ea53a42c32127de702399"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Profile/Sections.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6912964294f1e00203622d60218e21c540bc986bb09e95871887f95bb4bc359"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/LandingPagePreview/index.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adbea988c429c475ea188be55c5761d5132dfa57fdae5848a2bed300f52eb82"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/ProductEdit/ContentTab/EpubNudge.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bcf2a1f5bd263df62779e13e7a355dd6fafd536c3c056a324ca868d3958435"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Product/ConfigurationSelector.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93b6ff37d1c8faa2af1649076dbd9a7c68320bd30e903021972efbeaa658d82"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"422ff5d6f1087c89b20dd6ca27a30529892a9a2e6307001ecdec6a4eac138101"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/EmailsPage/EmailForm.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dfb0a280bbcfb2d2c9b4a09cc53b9f17944d4d58c17aed02fb94d65c6cdb28"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Discover/RecentlyViewed.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"356653c10e1ea497452025d64c0923d7b33fa9e5d25ef076ce33062d1ca9145f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/acknowledgedEmails.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"554364ac67df80ac0091917adf2d6e43316b0ab203bfa3ca441509a60f1174ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Checkout/PaymentForm.tsx"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"774ed6cae9844501857ae4c1745d454375a24d16e25ebe8025c9e857c89cd756"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Analytics/loadChart.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d725341196b3b00f9da2efa95e4cb3d493dd666188f899a44b30ba739473fe06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed68cb98f2d65ba674e4dc1d4a23197a9424b5b17647cfa312e63511ac32d16d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/javascript/components/Agent/AgentChat.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf29af962b7da675de9789ff5dd688db6a702250e0282529eeae9468248003af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/currency_helper.rb"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd4b819aedf097e34f98474aa0fbfef781ea7f49357fa2ad3f6c7053a310915"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/currency_helper.rb"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3159d65e4769405d41b8566ed6cb1248a7ed17f1346f9189365194cf6d511f31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/helpers/currency_helper.rb"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2217d679627e4a9964d7380f85e34068a2566440840da41a329aec8920701c56"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/application_controller.rb"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dffd23dfbe1ec7c1f9afa107986d4066416bd5d5041beb4304c95c6d9fb4815"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/foreign_webhooks_controller.rb"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"823f2a8f92c750df86804cd9d8845dad5b5566f39cd8e923da3d4d9b91b4c83b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue query\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/public_controller.rb"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dd14a71cc5c82359fa66600becbd90e3e8855f926c0b8e9e013b77aee08b07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/internal/customers/single_customer_emails_controller.rb"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec165dcb46bfc7e2975e784f2ba3c2c56b294983eadf8aa9dbcd638a137e2d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/sales_tax/sales_tax_calculator.rb"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"430f37e2a1b4dd12b9fe8fc37d6ea09a191fbf98e3f456b2abeaf7fbad6ea607"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/stripe/stripe_charge_processor.rb"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0973574ccc2a5be680eb44b74ce41c9290f27dd50e6e406e31a07508afcfbf04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/business/payments/charging/implementations/paypal/paypal_charge_processor.rb"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a39ae177d3c982a9c4adb8123ba89d1f2971c0aba8f1f9a7e50b3ef76bcc034"}},{"ruleId":"X5","level":"note","message":{"text":"Ruby\u0027s type checker does not check nil everywhere: This repository commits no Sorbet configuration (\u0060sorbet/config\u0060) and no \u0060Steepfile\u0060, so nothing type-checks its 3271 Ruby product file(s): a nilable value reaches a method call silently and raises \u0060NoMethodError: undefined method \u2026 for nil\u0060 the first time it is nil. A \u0060# typed:\u0060 sigil does nothing without a \u0060sorbet/config\u0060 beside the code; a Steep run configured only on a command line is not something this check can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32b27113b1bc22f400935e8620d19eae7fd3ef145cc36018609c445ea8cd4af1"}},{"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 Ruby code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/community_chat_recap_generator_service.rb"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"636d1214ef4f9856b3162cbb52d42a4274f3a3408764036bc43c3e77af796276"}},{"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 Ruby code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/community_chat_recap_generator_service.rb"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2339d8f7cda89fc6867afa5bed8d042fa8741d94fda8f92397fa4283f341c08"}},{"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 Ruby code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/with_file_properties.rb"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf8d30f8e2ae473e09fbaf56cae32297c96542b651952a2c92f3a6cac17ef6a"}},{"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 Ruby code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/modules/with_file_properties.rb"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7539287e216e5d0cf3a8e0673cadc7bca855a29bc160ed76bf9fd811cc9be7d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parse_no_refunds_classification\u0060 answers \u0060true\u0060 when \u0060ParserError | KeyError | TypeError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 rescue or above the method, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/refund_policy.rb"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1644bd351ac9564b06fe7dbbd285d5e177ea3a2a5d242097374c1b7189324daa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060risk_state_change\u0060 answers \u0060[]\u0060 when \u0060ParserError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 rescue or above the method, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/low_balance_probation_recovery.rb"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc277e42830eb2ffc61404ecb70a4d1579877c9e127a776481400a11f4065e18"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060deleted_ids\u0060 rescues every error into \u0060[]\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 rescue or above the method, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6bda7f66c792419bb4f4702b08e59e1d32cf7088ab6f28f415a6bda1e4b9c9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060raw_deleted_ids\u0060 rescues every error into \u0060[]\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 rescue or above the method, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b3f41d756845ea35738d77a8c86568196ab6885a11532010ba028618d88f65"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060variant_deleted_ids\u0060 rescues every error into \u0060[]\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 rescue or above the method, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df3f8551025ccb2ba9311865331027f5c2a6e4cfe2e45239dac62cf08025de3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060raw_variant_deleted_ids\u0060 rescues every error into \u0060[]\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 rescue or above the method, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f68d95937148782747f2dac5ab9ec65efcca9c904f85a404ddc593f157dfdc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060variant_deletion_owner_ids\u0060 rescues every error into \u0060[]\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 rescue or above the method, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9551b87d378e1d9cf2ed6aac68e1dcc9548ebb549a7ee3c89756daafde2bb648"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060deletion_operations\u0060 rescues every error into \u0060{}\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 rescue or above the method, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/services/product/save_contract.rb"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd4a6b426777cde50249e9e9f663e7da5bce7454ed1eb8f59e3570b35a69118"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060rubyToI\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resend_callbacks/ruby.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beb186566d4bf8da256392e17ba9f567ed2b86faef8dd59ea9b7deeed243e94"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060EpubNudge\u0060 swallows every exception into \u0060return false\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":"app/javascript/components/ProductEdit/ContentTab/EpubNudge.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f812aa7e4a023e93307bafc197639d50cc63b8d26f0552d2458413f15be951"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validateUrl\u0060 swallows every exception into \u0060return false\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":"app/javascript/components/RichTextEditor.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac98b811038bcc8b59762796abd97c879e9ef19dd2bde3ace049fad578d683e9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readDraft\u0060 swallows every exception into \u0060return \u0022\u0022\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":"app/javascript/components/Support/ContactSupportModal.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"db18622f8ecd544b59b041b9ca5a72d7a3b61e7907572d975838e78b360191c7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060DiscoverIndex\u0060 swallows every exception into \u0060return false\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":"app/javascript/pages/Discover/Index.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0fce297a4c445ebfc7ddbbcc2a051b7c1cae460552713f25b5d458fcd9001a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060permalinkFromProductUrl\u0060 swallows every exception into \u0060return \u0022\u0022\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":"app/javascript/utils/widgetCodeToCopyBuilders.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbc93a5c6baf12ebdcb351a3f08d46acb2f2b535aa1dc281a25ada245854e9f"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-116","guid":"c0134ca8-adc7-6959-bd17-5253a265d101","name":"Improper Encoding or Escaping of Output","shortDescription":{"text":"Improper Encoding or Escaping of Output"},"helpUri":"https://cwe.mitre.org/data/definitions/116.html"},{"id":"CWE-1265","guid":"9bfc5711-f2f2-6252-bd2e-ff21a1e98a6c","name":"CWE-1265","shortDescription":{"text":"CWE-1265"},"helpUri":"https://cwe.mitre.org/data/definitions/1265.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-185","guid":"ced1612b-cee6-0c5d-aef4-559c3fddbde0","name":"CWE-185","shortDescription":{"text":"CWE-185"},"helpUri":"https://cwe.mitre.org/data/definitions/185.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.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-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-390","guid":"7484c168-de95-2c52-afd2-197fb3efb184","name":"Detection of Error Condition Without Action","shortDescription":{"text":"Detection of Error Condition Without Action"},"helpUri":"https://cwe.mitre.org/data/definitions/390.html"},{"id":"CWE-441","guid":"e178bd69-b08f-835e-9f41-1c44fd667a98","name":"Unintended Proxy or Intermediary (\u0027Confused Deputy\u0027)","shortDescription":{"text":"Unintended Proxy or Intermediary (\u0027Confused Deputy\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/441.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-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.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-639","guid":"fd233662-97cf-025a-972b-66c9473efbcd","name":"Authorization Bypass Through User-Controlled Key","shortDescription":{"text":"Authorization Bypass Through User-Controlled Key"},"helpUri":"https://cwe.mitre.org/data/definitions/639.html"},{"id":"CWE-73","guid":"43703bfd-8c43-f15f-9cba-58e5f73ea7e9","name":"External Control of File Name or Path","shortDescription":{"text":"External Control of File Name or Path"},"helpUri":"https://cwe.mitre.org/data/definitions/73.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-755","guid":"ac8136dd-f77c-1c5e-bdcc-3905bbad9bd9","name":"Improper Handling of Exceptional Conditions","shortDescription":{"text":"Improper Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/755.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-915","guid":"ec38bdce-3b41-7c53-a89e-debc2dd7da65","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes","shortDescription":{"text":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},"helpUri":"https://cwe.mitre.org/data/definitions/915.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"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.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":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":377,"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."]}]}