{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"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":"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":"FirebaseFormSheet.build (cyclomatic 58): FirebaseFormSheet.build 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":"apps/dashboard/lib/auth/auth_page.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf988f6dbedf400b8e036793f59e84ef4e179f78b7ae867724024431a403101"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.executeBuild (cyclomatic 53): execute.executeBuild has cyclomatic complexity 53 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 24 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":"firebase/functions/executor/execute.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fc2626828de2e34c456d5f47dcfdc6681f5bea03da9e75ad2481238f9efd68"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupAscKeysCommand.run (cyclomatic 44): SetupAscKeysCommand.run 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":"apps/openci_cli/lib/src/commands/setup/setup_asc_keys_command.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"507ac13c17d2e625a2d28c7371311b6036c8b15c48be4c42b906da03f679eba7"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamSecrets.execute (cyclomatic 39): TeamSecrets.execute 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":"firebase/functions/secrets/service.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2fb3d56fa2d7d2bf7ebe05785656cb98c4a892ea92b43f51b1f337d8ddc001"}},{"ruleId":"D1","level":"warning","message":{"text":"pull_request_qr.publishPullRequestQrCodes (cyclomatic 38): pull_request_qr.publishPullRequestQrCodes has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 15 of the 38 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 390, findComment, current, \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":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a969ad6a0eb01fae69f84f1cf42cec889c4458c7179b8b7a4d5bc8b30ad3c3"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseHostingConfig.load (cyclomatic 35): FirebaseHostingConfig.load 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":"packages/openci_workflow/lib/src/firebase_hosting/firebase_hosting_config.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e803eab757f8234673f6ac092f283c12def228c9c7b65ee909ec9b8a3d50a33"}},{"ruleId":"D1","level":"warning","message":{"text":"SelfHostedSetupForm.build (cyclomatic 34): SelfHostedSetupForm.build has cyclomatic complexity 34 (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":"apps/dashboard/lib/auth/self_hosted_setup_form.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bc017888ee1f73ebe04f3573e1425967ca0df6c47cae61ea0d13348f974803"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthPage.build (cyclomatic 33): AuthPage.build 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":"apps/dashboard/lib/auth/auth_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b689b0d3f98b0cf7c780972eab5f1c3eee3c32d8bd362e3faf2f15d86c061c"}},{"ruleId":"D1","level":"warning","message":{"text":"OctokitConnectionClient.candidates (cyclomatic 32): OctokitConnectionClient.candidates 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":"firebase/functions/github_connection/github.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c795b1453bfb6adb1fa3694b814e7456dfee66dd8cc8087bceefd59bfebd9f"}},{"ruleId":"D1","level":"warning","message":{"text":"GetBuildJobJob.== (cyclomatic 31): GetBuildJobJob.== has cyclomatic complexity 31 (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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae217885232ba149aa256d1f6f39b900f192c51655f5b4900556bb1fc595ba4"}},{"ruleId":"D1","level":"warning","message":{"text":"GetBuildJobsBuildJobs.== (cyclomatic 31): GetBuildJobsBuildJobs.== has cyclomatic complexity 31 (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":"apps/dashboard/lib/generated/builds/get_build_jobs.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2463f65d4b1cc7c475feb0a39fe2a09c8654b782292e3f894c42c9c99f067d93"}},{"ruleId":"D1","level":"warning","message":{"text":"_FilePicker.handle (cyclomatic 31): _FilePicker.handle 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":"apps/openci_cli/lib/src/commands/register/select_secret_file.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d9ba515f6610d66fede5f22a3bac7a9b19903d30971a949922f6d6cad67084"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCICompletionCommand.run (cyclomatic 29): OpenCICompletionCommand.run 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":"apps/openci_cli/lib/src/completion/openci_completion_command.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d652948051884b93de097471fb6185d4553336dc07ea3b42b3586f09527da9"}},{"ruleId":"D1","level":"warning","message":{"text":"PlanningEvent.parse (cyclomatic 29): PlanningEvent.parse 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":"firebase/dart_functions/lib/src/planning_event.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eccb3cbcdd943851263abe4cecc430b7a296bc7bd33964ba91021c7b975d6d"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseHostingClient.deploy (cyclomatic 29): FirebaseHostingClient.deploy 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":"packages/openci_workflow/lib/src/firebase_hosting/firebase_hosting_client.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"74957e01657d35601f51490b84109024c1d98655e473550d6e0401fa5631295c"}},{"ruleId":"D1","level":"warning","message":{"text":"orchard_capacity.hasOrchardCapacity (cyclomatic 29): orchard_capacity.hasOrchardCapacity has cyclomatic complexity 29 (threshold 15). Of this number, 24 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":"firebase/functions/orchard_capacity.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"706101648504b584a9606f251f24d990cfaad545f87abf1e3ebefe8614b2d3fd"}},{"ruleId":"D1","level":"warning","message":{"text":"OrchardExecutor.checkWorkerMemory (cyclomatic 29): OrchardExecutor.checkWorkerMemory has cyclomatic complexity 29 (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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93d08fb00885ab79d692a18f22a1ddf59fa07932d0c465e55693dda7a802802"}},{"ruleId":"D1","level":"warning","message":{"text":"QueuedChecks.sync (cyclomatic 28): QueuedChecks.sync has cyclomatic complexity 28 (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":"firebase/functions/queued_checks.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"76366f68be607191d21967c2d0d4492bd7f6c92343d486b63e3fd48fcf8ce080"}},{"ruleId":"D1","level":"warning","message":{"text":"build_dispatch_functions.dispatchBuildJob (cyclomatic 28): build_dispatch_functions.dispatchBuildJob has cyclomatic complexity 28 (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":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e9af91c30e189c9b01ec61183797ae25288bc0730fb4c43fda0cacab9f24d5"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubConnections.execute (cyclomatic 28): GitHubConnections.execute has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"firebase/functions/github_connection/service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a86d48e414dafc5e97f7f675625823df1b3c9cfc37e897a5d8cb40e3336337a"}},{"ruleId":"D1","level":"warning","message":{"text":"BillingActions._create (cyclomatic 27): BillingActions._create has cyclomatic complexity 27 (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":"apps/dashboard/lib/billing/billing_actions.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e3d4c5a5c016055d7b2b976224f7cfd33370ed4c84130b3ceae5968c2894b7"}},{"ruleId":"D1","level":"warning","message":{"text":"_AddSecretBottomSheet.build (cyclomatic 26): _AddSecretBottomSheet.build 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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0678997b351904bcfbc2161797cd7164bac757a112a6b48043988bec35e84b"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionGitHub.resolveCheckout::readCandidate (cyclomatic 26): ExecutionGitHub.resolveCheckout::readCandidate has cyclomatic complexity 26 (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 (ExecutionGitHub.resolveCheckout) 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":"firebase/functions/executor/github.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b44009ccf9b10b4d982562f369980533048caa0f9a133370b63e46ba06b22d"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubWorkflows.fetch (cyclomatic 24): GitHubWorkflows.fetch has cyclomatic complexity 24 (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":"firebase/dart_functions/lib/src/github_workflows.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf5dcc38d33f183a8facf0b6c45092957b06906dfcaa95e9719447f4d8eadef"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook.receiveStripeWebhook (cyclomatic 24): webhook.receiveStripeWebhook 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":"firebase/functions/billing/webhook.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"12aedcfd2a3940ed4582516b4d59c11f9e838328d6759934ac0cf40ccbc00933"}},{"ruleId":"D1","level":"warning","message":{"text":"_EditSecretBottomSheet.build (cyclomatic 23): _EditSecretBottomSheet.build 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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7b31af83613e7527d5d983744e00bc88dc373c6b1ef2829146582d8e91664b"}},{"ruleId":"D1","level":"warning","message":{"text":"_VerificationActions.build (cyclomatic 23): _VerificationActions.build 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":"apps/dashboard/lib/settings/email_verification_settings.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0989e4b286d4b0845d0992d3120b281c69b0fb0da0bd04345531e4a5a143acde"}},{"ruleId":"D1","level":"warning","message":{"text":"card_setup.reconcileCardSession (cyclomatic 23): card_setup.reconcileCardSession 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":"firebase/functions/billing/card_setup.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7130f3d37b109599a4a6465c0e71b2ffebd53f82457c014a8cabce8e025693d9"}},{"ruleId":"D1","level":"warning","message":{"text":"OctokitConnectionClient.repositories (cyclomatic 23): OctokitConnectionClient.repositories 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":"firebase/functions/github_connection/github.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"efad3e2925cc9907c23536f1688504f8fda9735f9bf6d367fe9adf29729b52d1"}},{"ruleId":"D1","level":"warning","message":{"text":"github_webhook.receiveGitHubWebhook (cyclomatic 23): github_webhook.receiveGitHubWebhook has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 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":"firebase/functions/github_webhook.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d311472b017f59cf21d07d1aeb7b6c4b476452b0cd550bba75918284535176ee"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildJobPlanner._processOnce (cyclomatic 22): BuildJobPlanner._processOnce 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":"firebase/dart_functions/lib/src/create_build_jobs.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cf6a945900d852ca02432cb575a7c631e58b63cebdc72c131810b52fe38d9c"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubWorkflows.observePullRequest (cyclomatic 22): GitHubWorkflows.observePullRequest 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":"firebase/dart_functions/lib/src/github_workflows.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8880d26e3da476883de402c4f053ca66f59377eb88353a29ec9c89feb3e8bf01"}},{"ruleId":"D1","level":"warning","message":{"text":"InviteTeamMemberBottomSheet.build (cyclomatic 22): InviteTeamMemberBottomSheet.build 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":"apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3293e3b77aa3eb5a4439c6d0f7c61286ca5020b045b0741da31f870e4885198"}},{"ruleId":"D1","level":"warning","message":{"text":"OrchardExecutor.exec (cyclomatic 22): OrchardExecutor.exec has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 294, 246, 267, \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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42f21c08af4d4312f8e45b5aa89bfae5e204761441bb9d82a7c97c94c5d0554"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionGitHub.skippedCheck (cyclomatic 22): ExecutionGitHub.skippedCheck has cyclomatic complexity 22 (threshold 15). Of this number, 21 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":"firebase/functions/executor/github.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3851c128478d501b29ced86d38a70474ac441aef9f59609a707a03b338b9080f"}},{"ruleId":"D1","level":"warning","message":{"text":"build_dispatch_functions.queueBuildJobs (cyclomatic 22): build_dispatch_functions.queueBuildJobs 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. This is NOT this file\u0027s highest cyclomatic complexity: build_dispatch_functions.queueRetriedBuildJob (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a7c269eb872f1b769e8e7bf244378a9a03ff464b3e4eac4f8da3d6db858c53"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamManagement.execute (cyclomatic 22): TeamManagement.execute has cyclomatic complexity 22 (threshold 15). Of this number, 21 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":"firebase/functions/teams/service.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0047ba497427171c0ace8b6fb1a4602afe06f7706a7a9ba853bbdff2d663fd7"}},{"ruleId":"D1","level":"warning","message":{"text":"GetBuildJobJob.toJson (cyclomatic 21): GetBuildJobJob.toJson 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f426530d1f53e5265cd517fb1584f7cd18295293ec570754c60a94fe6967d9e4"}},{"ruleId":"D1","level":"warning","message":{"text":"GetBuildJobsBuildJobs.toJson (cyclomatic 21): GetBuildJobsBuildJobs.toJson 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":"apps/dashboard/lib/generated/builds/get_build_jobs.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e06d6fef3fab1d2339d8eea9d11c0a783e1be52244c7a64407d9921c61344c"}},{"ruleId":"D1","level":"warning","message":{"text":"purchase.observePurchase (cyclomatic 21): purchase.observePurchase 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. This is NOT this file\u0027s highest cyclomatic complexity: purchase.paidPeriod (cyclomatic 32) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/purchase.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8829e3dd6914adf71dde6be5868f8c8391a06149b64e0f9adb3368a0a296dcf"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionGitHub.resolveCheckout (cyclomatic 21): ExecutionGitHub.resolveCheckout 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. This shape REPEATS in the file: one other method here (ExecutionGitHub.resolveCheckout::readCandidate) 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":"firebase/functions/executor/github.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19570b4b3caeca99dec00e08140ea3293253ac6fc60d30d90d45945887668fa"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseAppDistributionClient.upload (cyclomatic 20): FirebaseAppDistributionClient.upload 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":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"23aa8aeb999c2a82612f20923c7c5aeea4b4e2b14c84257bdce0c1cad72f5345"}},{"ruleId":"D1","level":"warning","message":{"text":"PullRequestCI.postQrCode (cyclomatic 20): PullRequestCI.postQrCode 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":"packages/openci_workflow/lib/src/pull_request_ci.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d224bc762d588ccb86d99d43392a1db094aa15706cdbe14339bb9330bcc96c1"}},{"ruleId":"D1","level":"warning","message":{"text":"build-job-card-demo.BuildJobCardDemo::getJobStatus (cyclomatic 20): build-job-card-demo.BuildJobCardDemo::getJobStatus 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. This shape REPEATS in the file: one other method here (build-job-card-demo.BuildJobCardDemo::getJobDuration) 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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a6a06da66582bf0213543eb77cff29be8d90c82199acca4b818baf374f689d"}},{"ruleId":"D1","level":"warning","message":{"text":"Billing.execute (cyclomatic 20): Billing.execute 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":"firebase/functions/billing/service.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7991cf68ab29cab4b41d56c1514ca5de56eda838dcb76b0c0a87354440cec976"}},{"ruleId":"D1","level":"warning","message":{"text":"pull_request_qr.readPullRequestQrCodes (cyclomatic 20): pull_request_qr.readPullRequestQrCodes has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bc66ed5b2bf2d890c88a8576a6cb3ee9fb7a8ee350105e253349df60f91108"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalDevelopmentConnection.parse (cyclomatic 19): LocalDevelopmentConnection.parse 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":"apps/dashboard/lib/connections/local_development_connection.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"992b3795438855cbde2ae940a886360e21eb12b2fd2b2510d970e6284b5f90c3"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowContext.fromEnvironment (cyclomatic 19): WorkflowContext.fromEnvironment has cyclomatic complexity 19 (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":"packages/openci_workflow/lib/src/workflow_context.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5371dc48b597da643beb4fe5a82af0e63ff560d83b50cb169906fe343ce55380"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionStore.configure (cyclomatic 19): ExecutionStore.configure 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":"firebase/functions/executor/store.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa4d66beae9f2b2c87b15d6e535116b9f2a2b7efb67f2625289321849ae98a3"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.cleanupExecution (cyclomatic 19): execute.cleanupExecution 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":"firebase/functions/executor/execute.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e881b8f6e97290a7a3e0b4e4e9168f998c9967cfcce077a55c18b08634f85c"}},{"ruleId":"D1","level":"warning","message":{"text":"DataConnectPlanningStore._execute (cyclomatic 18): DataConnectPlanningStore._execute 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":"firebase/dart_functions/lib/src/data_connect.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f044cc3d9a3cbd3caa771f58dfd56043ac1cb39a5671956545d81cac1464f7d"}},{"ruleId":"D1","level":"warning","message":{"text":"DeleteTeamBottomSheet.build (cyclomatic 18): DeleteTeamBottomSheet.build 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":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aebb0e1b58a1292f74e149643de8c3bf174e083f2788cc3d4b74bb61333d798"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionBilling.close (cyclomatic 18): ExecutionBilling.close 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":"firebase/functions/executor/billing.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b85439b5a533703699190bed35cbf7ea446708c04e3e87447d3623dbc932c4"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubConnections.callback (cyclomatic 18): GitHubConnections.callback 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":"firebase/functions/github_connection/service.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee713cee6bac8927212f0068bf1c721430d26b26702dc2caea54260e3ff4cec6"}},{"ruleId":"D1","level":"warning","message":{"text":"BillingView.build (cyclomatic 17): BillingView.build 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":"apps/dashboard/lib/billing/billing_view.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"672ad62178b04ec2d59d81a445881713f707f0921c1bef683193a6cd81c31786"}},{"ruleId":"D1","level":"warning","message":{"text":"SecretManager._call (cyclomatic 17): SecretManager._call 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":"apps/dashboard/lib/secret_manager/secret_manager_provider.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e58d052eec815c90bbff5b48ab7ea13969771ecfa7df96ee978109810a1021"}},{"ruleId":"D1","level":"warning","message":{"text":"config.billingConfig (cyclomatic 17): config.billingConfig 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":"firebase/functions/billing/config.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b984173ed95852474a98b039edd59129fb09bc7c5ca62a2db492b3687bd9ceb"}},{"ruleId":"D1","level":"warning","message":{"text":"Billing.status (cyclomatic 17): Billing.status 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":"firebase/functions/billing/service.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2540d91a3abba95eb96ecac93321de701b5c5686137c705849633f046c1fa3"}},{"ruleId":"D1","level":"warning","message":{"text":"pull_request_qr.validatedQrMetadata (cyclomatic 17): pull_request_qr.validatedQrMetadata 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":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f0fc5220eeb670e7f18e50ea100cad371da13dfcbe4058f838fd6b0a970ef2"}},{"ruleId":"D1","level":"warning","message":{"text":"CicdLogDetailPage.build (cyclomatic 16): CicdLogDetailPage.build 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":"apps/dashboard/lib/cicd_log/detail/ci_cd_log_detail_page.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb296166aa938079d55f5b002db833096e7950b2bd3682d640dcb26a88620b0d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditTeamBottomSheet.build (cyclomatic 16): EditTeamBottomSheet.build 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":"apps/dashboard/lib/team/edit_team_bottom_sheet.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3f344d6270528a3ba6e37df424720ca4b3cf232943ac280271d4de06c50a85"}},{"ruleId":"D1","level":"warning","message":{"text":"build-job-card-demo.BuildJobCardDemo::getJobDuration (cyclomatic 16): build-job-card-demo.BuildJobCardDemo::getJobDuration 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 (build-job-card-demo.BuildJobCardDemo::getJobStatus) 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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb06fb32099e3c96bb612c913e0999fdb57177ea16b14c64b7160fa3594cd212"}},{"ruleId":"D1","level":"warning","message":{"text":"card_setup.cardSetupStatus (cyclomatic 16): card_setup.cardSetupStatus 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":"firebase/functions/billing/card_setup.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c4ba6985f942d31a71f5f7bfe9b3d216e38d0d69ed31fbd923f83669a7b620"}},{"ruleId":"D1","level":"warning","message":{"text":"Billing.reconcile (cyclomatic 16): Billing.reconcile 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":"firebase/functions/billing/service.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"731d650b77b731b08ff468a5f40279bc22ec8107ec4c8b624a4c1f765783f63c"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseFormSheet.build (cognitive 79): FirebaseFormSheet.build has cognitive complexity 79 (threshold 15). Drivers by points: if/else 25 (38 pts), boolean chains 23, ternaries 7 (12 pts), error handling 3 (4 pts), loops 1 (2 pts) (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":"apps/dashboard/lib/auth/auth_page.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f808f3424b4c10af957e31e6ccab0f857393b93858e99873cca568a6a217be1c"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.executeBuild (cognitive 66): execute.executeBuild has cognitive complexity 66 (threshold 15). Drivers by points: if/else 30 (39 pts), ternaries 5 (11 pts), boolean chains 9, error handling 4 (6 pts), loops 1 (nesting depth added 17). Of this number, 28 points are the body\u0027s own statements and 38 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":"firebase/functions/executor/execute.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eedd29aa207e2b6a19192588c09f8dd06b628425be296509491a649d13a3c9"}},{"ruleId":"D2","level":"warning","message":{"text":"OctokitConnectionClient.candidates (cognitive 58): OctokitConnectionClient.candidates has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (41 pts), boolean chains 7, loops 3 (6 pts), error handling 2 (4 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":"firebase/functions/github_connection/github.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ee6a2b71dc80b95f1d3ec6ade66e6f9383643c62c125b40f863450e90536fc"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseHostingClient.deploy (cognitive 55): FirebaseHostingClient.deploy has cognitive complexity 55 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 5 (14 pts), boolean chains 8, ternaries 4 (7 pts), error handling 2 (4 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/openci_workflow/lib/src/firebase_hosting/firebase_hosting_client.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"846ed0d9fff24af4ed00f4c4043ff879a44434c0e8566924f5b7df7fc7e7406c"}},{"ruleId":"D2","level":"warning","message":{"text":"pull_request_qr.publishPullRequestQrCodes (cognitive 54): pull_request_qr.publishPullRequestQrCodes has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (36 pts), boolean chains 8, loops 5 (7 pts), error handling 2 (3 pts) (nesting depth added 22). Of this number, 20 points are the body\u0027s own statements and 34 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":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac563cf57369fd0418e37205c6a162d8355a5b237a7f5bd81cfc9df7cd85bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupAscKeysCommand.run (cognitive 53): SetupAscKeysCommand.run has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (26 pts), error handling 10 (11 pts), match/switch 5 (11 pts), ternaries 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":"apps/openci_cli/lib/src/commands/setup/setup_asc_keys_command.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"344875b63ec29eecce34c97f4edd9c4827cfff3a12173ba77e39721b20d9152f"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfHostedSetupForm.build (cognitive 52): SelfHostedSetupForm.build has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (27 pts), ternaries 7 (13 pts), boolean chains 11, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/auth/self_hosted_setup_form.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebd14a0a1ec3066e163bd34383eeb7fcb090818295c6da4819cbf2f0f0f61da"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCICompletionCommand.run (cognitive 52): OpenCICompletionCommand.run has cognitive complexity 52 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 5 (12 pts), boolean chains 9, ternaries 2 (4 pts), error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/openci_cli/lib/src/completion/openci_completion_command.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b4e06e3e82da215e711a946969861f47d4778f7d1bd67bd4efb39cf929dae0"}},{"ruleId":"D2","level":"warning","message":{"text":"PlanningEvent.parse (cognitive 52): PlanningEvent.parse has cognitive complexity 52 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 11, ternaries 3 (7 pts), error handling 2, loops 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/dart_functions/lib/src/planning_event.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed50095c369eac6ce1c0f56f7d8d04b407abf504f6cbfc3ef7224b98be64791"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildJobPlanner._processOnce (cognitive 51): BuildJobPlanner._processOnce has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (37 pts), ternaries 2 (8 pts), boolean chains 3, error handling 3 (nesting depth added 30). 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":"firebase/dart_functions/lib/src/create_build_jobs.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d97e34b3fbcbcdc0af29cd86e3a69d96443b1ca4164876ab7dde89e5a93045"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseHostingConfig.load (cognitive 51): FirebaseHostingConfig.load has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 7, ternaries 5 (7 pts), loops 4 (6 pts), 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":"packages/openci_workflow/lib/src/firebase_hosting/firebase_hosting_config.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f970e7a9948a95e172cd67313ad5f03582e5a3d0ff977427c898050f89175993"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthPage.build (cognitive 45): AuthPage.build has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 10, ternaries 5 (6 pts), error handling 2 (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":"apps/dashboard/lib/auth/auth_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"333d7d87d16ecde9cee1c0f20e5d1a1c2a5ced44a119c0e7267457497bf14ef4"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamSecrets.execute (cognitive 45): TeamSecrets.execute has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 12, ternaries 2, 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":"firebase/functions/secrets/service.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a191a44ec28808f95093b4c20e19509ceae37a0397647dc17c7a34802d8a006d"}},{"ruleId":"D2","level":"warning","message":{"text":"_AddSecretBottomSheet.build (cognitive 40): _AddSecretBottomSheet.build has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (22 pts), ternaries 7 (12 pts), boolean chains 5, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a184825a8722760b9426bd9462d6b2429b677d082e99d2fed621f9d9166f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingView.build (cognitive 37): BillingView.build has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 6 (18 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/billing/billing_view.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3139f3253e1ec2192e92bd3e0166e9af2ce308b870b015b108c464b96314015b"}},{"ruleId":"D2","level":"warning","message":{"text":"_EditSecretBottomSheet.build (cognitive 36): _EditSecretBottomSheet.build has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 7 (12 pts), boolean chains 2, error handling 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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"48044c6584a6f962bbb965bcbb230ce07a0657faae4a0f40e9a08f92a8a9afa8"}},{"ruleId":"D2","level":"warning","message":{"text":"_VerificationActions.build (cognitive 36): _VerificationActions.build has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 3 (7 pts), boolean chains 3, match/switch 1 (3 pts), 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":"apps/dashboard/lib/settings/email_verification_settings.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a416a9e416e73b90cc9746d5ad9b855bf6642ed31beb87e4ada17cb0ad6157e9"}},{"ruleId":"D2","level":"warning","message":{"text":"DeleteTeamBottomSheet.build (cognitive 35): DeleteTeamBottomSheet.build has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 8 (16 pts), error handling 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74ccff036c85a29329dc298955deadc40da2e9198a55cebff922949eda5f894"}},{"ruleId":"D2","level":"warning","message":{"text":"orchard_capacity.hasOrchardCapacity (cognitive 35): orchard_capacity.hasOrchardCapacity has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 11, loops 3 (nesting depth added 9). Of this number, 31 points are the body\u0027s own statements and 4 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":"firebase/functions/orchard_capacity.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb742bc8db986672c99294fb6530dd962dd48639cef8970aeb96804645daaf1"}},{"ruleId":"D2","level":"warning","message":{"text":"build_dispatch_functions.dispatchBuildJob (cognitive 34): build_dispatch_functions.dispatchBuildJob has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 8, error handling 4 (6 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce458c11d2a84b6ab51d426b452ccb2aab909e8e38730fa6666b32b6fa6c856e"}},{"ruleId":"D2","level":"warning","message":{"text":"build_dispatch_functions.queueBuildJobs (cognitive 33): build_dispatch_functions.queueBuildJobs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (8 pts), boolean chains 4, error handling 2 (3 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":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"869ed2c16f220c9f8c8c1809c5c6ce44bc0f50e3c07b1f7fc6e67007c42ca89b"}},{"ruleId":"D2","level":"warning","message":{"text":"_FilePicker.handle (cognitive 32): _FilePicker.handle has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 4 (12 pts), error handling 1 (2 pts), match/switch 1 (nesting depth added 17). 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":"apps/openci_cli/lib/src/commands/register/select_secret_file.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcb0b8b15d115eaacac70c82b2cf79e23761f6693c130061048c79c65ec18e3"}},{"ruleId":"D2","level":"warning","message":{"text":"build-job-card-demo.BuildJobCardDemo::getJobStatus (cognitive 31): build-job-card-demo.BuildJobCardDemo::getJobStatus has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24 (30 pts), boolean chains 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. This shape REPEATS in the file: 2 other methods here (build-job-card-demo.BuildJobCardDemo, build-job-card-demo.BuildJobCardDemo::getJobDuration) 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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dfeb79da245f333502d77f24ca50347e7b46195379774b3a2738fc12bf61af"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamManagement.execute (cognitive 31): TeamManagement.execute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 3 (9 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 12). Of this number, 29 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":"firebase/functions/teams/service.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb26b52322d74e753fc80121f019a7651d4f28bf954f8874d558c703170d5953"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingActions._create (cognitive 30): BillingActions._create has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, ternaries 4 (8 pts), if/else 4 (6 pts), error handling 2, match/switch 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":"apps/dashboard/lib/billing/billing_actions.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26f62a21ade76a9a46fc17a1aaf5b30f54ed0360a42f0b83f2704d7a16c51b7"}},{"ruleId":"D2","level":"warning","message":{"text":"GetBuildJobJob.== (cognitive 30): GetBuildJobJob.== has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 28, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e343cdbf8953ae5d7732daa3b282f844703d1d135c4bef11e629817825aac0"}},{"ruleId":"D2","level":"warning","message":{"text":"GetBuildJobsBuildJobs.== (cognitive 30): GetBuildJobsBuildJobs.== has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 28, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/builds/get_build_jobs.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"012970a32fbee322f4c3744ce509a63e2d4aaa8a5d22a8083d209da6d9d87148"}},{"ruleId":"D2","level":"warning","message":{"text":"InviteTeamMemberBottomSheet.build (cognitive 30): InviteTeamMemberBottomSheet.build has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11 (16 pts), if/else 6 (10 pts), boolean chains 2, error handling 1, 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":"apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d571d5b5556acd71a555df9eee3b0e401f42842c226eab592448c0ddd24180"}},{"ruleId":"D2","level":"warning","message":{"text":"pull_request_qr.readPullRequestQrCodes (cognitive 30): pull_request_qr.readPullRequestQrCodes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 2 (5 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 11). Of this number, 28 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":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8dc6143830af3fe1688aa3d2e1859dcae441fff5a48646d48e29a48983b3fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionBilling.close (cognitive 30): ExecutionBilling.close has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (7 pts), error handling 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/billing.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4835c6517119491df29dddf61fc892bd632f7daff11a3e9ec8990fabdb15aeb0"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubWorkflows.observePullRequest (cognitive 29): GitHubWorkflows.observePullRequest has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 11, ternaries 1 (2 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":"firebase/dart_functions/lib/src/github_workflows.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f60d5a1c6fcc816e7307ef87dd56897e6078d993e96b79b356a187fc8bec011"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubWorkflows.fetch (cognitive 28): GitHubWorkflows.fetch has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, if/else 8 (12 pts), error handling 1 (2 pts), loops 1 (nesting depth added 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":"firebase/dart_functions/lib/src/github_workflows.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"463740628b060e36bb7bbc447f7e33f22a75c06c0a512d7bcc91bad5dd964d2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Billing.deleteTeam (cognitive 27): Billing.deleteTeam has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), error handling 2 (5 pts), boolean chains 1 (nesting depth added 15). 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":"firebase/functions/billing/service.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b021682e51568e5bd0b47307bfb71e68f7a02c00c881eb9f31c16ecf2497c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"Billing.reconcile (cognitive 26): Billing.reconcile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 3 (7 pts), boolean chains 3, loops 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":"firebase/functions/billing/service.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61c4afe7d70e553751c9dcf9093eccefceef4fbf1d9d0f9511e35c9e68a5eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"CicdLogDetailPage.build (cognitive 24): CicdLogDetailPage.build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 3 (5 pts), boolean chains 2, 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":"apps/dashboard/lib/cicd_log/detail/ci_cd_log_detail_page.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1495581b22ba2310f65083b7c6446044878196457ae0c370f089c0d81f797c26"}},{"ruleId":"D2","level":"warning","message":{"text":"EditTeamBottomSheet.build (cognitive 24): EditTeamBottomSheet.build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 7 (9 pts), error handling 1 (2 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":"apps/dashboard/lib/team/edit_team_bottom_sheet.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e668af5130ae02638fb70d6aaf3497c16b3817a6b6bc5fad7d517d746c9d78"}},{"ruleId":"D2","level":"warning","message":{"text":"OctokitConnectionClient.repositories (cognitive 24): OctokitConnectionClient.repositories has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 6, loops 2 (3 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":"firebase/functions/github_connection/github.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e763b17060694b4586b0991da9caab04ce2fdbdc5c8d62e80f28c5eb2a60f2"}},{"ruleId":"D2","level":"warning","message":{"text":"build_dispatch.dispatchBuildJob (cognitive 24): build_dispatch.dispatchBuildJob has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 1 (3 pts), boolean chains 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":"firebase/functions/build_dispatch.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"182dbcc2a49325a5f1d2746c4e5d17bd20a3bdc14da10c93936c7df59608d428"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionGitHub.resolveCheckout (cognitive 24): ExecutionGitHub.resolveCheckout has cognitive complexity 24 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 11, error handling 1, ternaries 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. This shape REPEATS in the file: one other method here (ExecutionGitHub.resolveCheckout::readCandidate) 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":"firebase/functions/executor/github.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25f0f4ed6887b5354c8615f49575b2e92f1b914c744b713b567f3b4ab0f7ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"HostingFiles.prepare (cognitive 23): HostingFiles.prepare has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, error handling 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/openci_workflow/lib/src/firebase_hosting/hosting_files.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"320f714e549c705a60a0c09bba56a175642276eaab70d9156e4b928d55a576df"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowContext.fromEnvironment (cognitive 23): WorkflowContext.fromEnvironment has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 7, error handling 2, loops 1 (2 pts), 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":"packages/openci_workflow/lib/src/workflow_context.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dece8057121e18457f80b6b43639b2976fe49d3108e3a2a8937a60c7732a183d"}},{"ruleId":"D2","level":"warning","message":{"text":"QueuedChecks.sync (cognitive 23): QueuedChecks.sync has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, error handling 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/queued_checks.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2375ffa2757964e7e19c8eb9c47f76d550119a85ff42f6696b916aacf19b5a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionBilling.admit (cognitive 23): ExecutionBilling.admit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 2 (5 pts), boolean chains 2, loops 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":"firebase/functions/executor/billing.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d9d6271228c362194747c96cfbefd1068317a7ba15a697d5572267bd5eb0e8"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseAppDistributionClient.upload (cognitive 22): FirebaseAppDistributionClient.upload has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 4 (5 pts), loops 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":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"695700039fe2ac3fb65c1899c5305dbd06d488657719f66fa99cd6d81495e046"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubConnections.execute (cognitive 22): GitHubConnections.execute has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/github_connection/service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"22104847edcd9dc38792595c5e20cbcf49cab40468081ee2c2378d27fc8e77ab"}},{"ruleId":"D2","level":"warning","message":{"text":"github_webhook.receiveGitHubWebhook (cognitive 22): github_webhook.receiveGitHubWebhook has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 2 (4 pts), error handling 3 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 5 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":"firebase/functions/github_webhook.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"207daec52ad6bae7af870da93b563913661d157c2b6a4ab774c4e4f50218b62c"}},{"ruleId":"D2","level":"warning","message":{"text":"_OpenCIInitVisitor._extractFromInitArgs (cognitive 21): _OpenCIInitVisitor._extractFromInitArgs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/dart_functions/lib/src/open_ci_parser.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c72f026832c6a223e1e2833b88a3595f2b7098f056c369708ad3ecf0c9d49a"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchTeamBottomSheet.build (cognitive 21): SwitchTeamBottomSheet.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (3 pts), ternaries 2 (3 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":"apps/dashboard/lib/team/switch_team_bottom_sheet.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1828a73458d495db8b6c8ef864cbd76f01df6583c708fe2bd799d5101e07db7f"}},{"ruleId":"D2","level":"warning","message":{"text":"build-job-card-demo.BuildJobCardDemo::getJobDuration (cognitive 21): build-job-card-demo.BuildJobCardDemo::getJobDuration has cognitive complexity 21 (threshold 15). Drivers by points: if/else 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. This shape REPEATS in the file: 2 other methods here (build-job-card-demo.BuildJobCardDemo, build-job-card-demo.BuildJobCardDemo::getJobStatus) 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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c530445488a17e95cf7d345e49cc251a617c07d96abcfdbdf1ac03aa03db4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionGitHub.skippedCheck (cognitive 21): ExecutionGitHub.skippedCheck has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/github.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e2f6086dc0b5ee7935cd5442750e8a23ddb73faecd3a706c9034c6cc317b07"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalDevelopmentConnection.parse (cognitive 20): LocalDevelopmentConnection.parse has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (8 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":"apps/dashboard/lib/connections/local_development_connection.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3df054e3278bf8ba196142cd6970db1323c64ba9208cfc5479b57d4589d9d8"}},{"ruleId":"D2","level":"warning","message":{"text":"GetBuildJobJob.toJson (cognitive 20): GetBuildJobJob.toJson has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8246e4ff95142b20a657ef61c8de8f4ec36f20dae821c3a2b0e6508608ef3e"}},{"ruleId":"D2","level":"warning","message":{"text":"GetBuildJobsBuildJobs.toJson (cognitive 20): GetBuildJobsBuildJobs.toJson has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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":"apps/dashboard/lib/generated/builds/get_build_jobs.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8234bf7a5ee538e31e76ac11d96913d3733a26c3abf6af546684dbba48a811"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseAuthClient._send (cognitive 20): FirebaseAuthClient._send has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 3 (6 pts), boolean chains 5, 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":"apps/openci_cli/lib/src/auth/firebase_auth_client.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcec3ddb1e767210c3e96eb0fe40c7f82e014f25a8e1ae9ff81848a428dd820"}},{"ruleId":"D2","level":"warning","message":{"text":"ListTeamsCommand.run (cognitive 20): ListTeamsCommand.run has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 4 (5 pts), loops 1 (3 pts), boolean chains 2, error handling 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":"apps/openci_cli/lib/src/commands/list/list_teams_command.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"286a8868fde7af600455c3a9e4c4100c0b82182838aa44be5937c82bea08b356"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCICompletionCommand._loginValues (cognitive 20): OpenCICompletionCommand._loginValues has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (2 pts), boolean chains 1, 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":"apps/openci_cli/lib/src/completion/openci_completion_command.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd7fe5c81c478304a0a97d636cdc0eda05e896be31541ea0f6428cb09b7857f"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook.receiveStripeWebhook (cognitive 20): webhook.receiveStripeWebhook has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/webhook.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"54971d45d13bfc18dba0828f7c06eebd88ff0eb1c2ef684b2aa38315ab2d86b3"}},{"ruleId":"D2","level":"warning","message":{"text":"OrchardExecutor.checkWorkerMemory (cognitive 20): OrchardExecutor.checkWorkerMemory has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, loops 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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fa8132447606d75530c7df7a4bc5b775cab8c74b5c692d1ab5900e27bb573f"}},{"ruleId":"D2","level":"warning","message":{"text":"_TeamBillingPageState._openStripe (cognitive 19): _TeamBillingPageState._openStripe has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, 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":"apps/dashboard/lib/billing/billing_page.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"780afbb2d283c26632f67cdc7e1f333c9df2a58dddc3c8c43508c7813f22cf61"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusCommand.run (cognitive 19): StatusCommand.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 3 (7 pts), error handling 3, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/openci_cli/lib/src/commands/status_command.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"717b8be6a7269ae979f0a85a1ab70f83b5f79129b1cca3043f59600bb1cf5685"}},{"ruleId":"D2","level":"warning","message":{"text":"_OpenCIInitVisitor._extractTrigger (cognitive 19): _OpenCIInitVisitor._extractTrigger has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/dart_functions/lib/src/open_ci_parser.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"660c68707fd2642af044ce9e0bc202e0d61dc917c18fd4057e367412c8d7b2ae"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseHostingCI._deploy (cognitive 19): FirebaseHostingCI._deploy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 4 (6 pts), boolean chains 3, 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":"packages/openci_workflow/lib/src/firebase_hosting/firebase_hosting_ci.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c4a79eb5c140f230c16be2ced9411c9b8351a61def400cb5cdaaa995c0c0d1"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseHostingClient._preview (cognitive 19): FirebaseHostingClient._preview has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, error handling 1 (2 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/openci_workflow/lib/src/firebase_hosting/firebase_hosting_client.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad18b46d02e65bbe75d002c29172a9e893020b070cb229646e3f94d3d1bfc0d"}},{"ruleId":"D2","level":"warning","message":{"text":"PullRequestCI.postQrCode (cognitive 19): PullRequestCI.postQrCode has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, 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":"packages/openci_workflow/lib/src/pull_request_ci.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3848464cb9ce0cd8f22fbabe61035e856b01ba85212c526f0a5d1fd449adc963"}},{"ruleId":"D2","level":"warning","message":{"text":"billing_functions.cleanDeletedTeamCredentials (cognitive 19): billing_functions.cleanDeletedTeamCredentials has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), error handling 1 (2 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":"firebase/functions/billing_functions.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cbfe08ed6ad0caa6a89a6ee21a63908206383fd0e63d931ca8cfc2679bc93d"}},{"ruleId":"D2","level":"warning","message":{"text":"OrchardExecutor.exec (cognitive 19): OrchardExecutor.exec has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 294, 267, 246, \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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8ca778e90a6eb29c18cd0136160c396cf43314e450f5284e2157f92318e99b"}},{"ruleId":"D2","level":"warning","message":{"text":"pull_request_qr.saveImages (cognitive 19): pull_request_qr.saveImages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). Of this number, 17 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":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea9a070c53b765231896f0bd31eea2c73a8d93ebe10eee89b6497e3e13c1d2b"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePathCompleter.complete (cognitive 18): FilePathCompleter.complete has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 4 (6 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/openci_cli/lib/src/commands/register/file_path_completer.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c06b27d181969269aba04f49294a87359c88f3871a08e0d838985f4a45756b"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionGitHub.resolveCheckout::readCandidate (cognitive 18): ExecutionGitHub.resolveCheckout::readCandidate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 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. This shape REPEATS in the file: one other method here (ExecutionGitHub.resolveCheckout) 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":"firebase/functions/executor/github.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c523f970bc2845dc70248783499e9aea1c4c7631dee6b68ab131f28a04a53f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"_FilePicker.render (cognitive 17): _FilePicker.render has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), loops 3 (5 pts), ternaries 2 (5 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":"apps/openci_cli/lib/src/commands/register/select_secret_file.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0986587a1982eff8f68c938627a53be25c9605a81def9e619d183c2150d8287c"}},{"ruleId":"D2","level":"warning","message":{"text":"AscKeyRegistration.save (cognitive 17): AscKeyRegistration.save has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, error handling 2, loops 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":"apps/openci_cli/lib/src/commands/setup/asc_key_registration.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c862b3f2817d863e3373aa31856fb500f5693568f4fd5775f85714cf00a5cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"DataConnectPlanningStore._execute (cognitive 17): DataConnectPlanningStore._execute has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 4, 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":"firebase/dart_functions/lib/src/data_connect.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8840fc4c5975744589e300062c65a8430505cf7be1596ebc1fd8b0e610dfcf1b"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseHostingClient._channels (cognitive 17): FirebaseHostingClient._channels has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/openci_workflow/lib/src/firebase_hosting/firebase_hosting_client.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b2d880096054e3d620fe05aea582ac98b560aa00fb98c35fad73f526cd12ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ShorebirdCI.releaseApk (cognitive 17): ShorebirdCI.releaseApk has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ShorebirdCI.releaseAab) 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":"packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44ec755f5213114cdfb40f4f35fc250f78c077e80a08b498a4fe7d904590b15"}},{"ruleId":"D2","level":"warning","message":{"text":"ShorebirdCI.releaseAab (cognitive 17): ShorebirdCI.releaseAab has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ShorebirdCI.releaseApk) 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":"packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8c6c45d530642c6f6dfa692e8c5732f2fa2f76f63f7e802dd0286dbae68f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"card_setup.startCardSetup (cognitive 17): card_setup.startCardSetup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 2, error handling 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":"firebase/functions/billing/card_setup.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"682932ff357ccc9ea28c8766342cc0d777e3a737bce8a2c96be0e3802a9555ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Billing.execute (cognitive 17): Billing.execute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4 (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":"firebase/functions/billing/service.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c267db61fb9fcf1957e2bde71843c808b1026d07729490cb4ff06664094eed"}},{"ruleId":"D2","level":"warning","message":{"text":"SecretManager._call (cognitive 16): SecretManager._call has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, 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":"apps/dashboard/lib/secret_manager/secret_manager_provider.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cc6988482fc3d33f4dba44877f458e04753508537f666baf59c3540ea62f31"}},{"ruleId":"D2","level":"warning","message":{"text":"AscKeyRegistration.prepare (cognitive 16): AscKeyRegistration.prepare has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (4 pts), error handling 3, loops 1 (2 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":"apps/openci_cli/lib/src/commands/setup/asc_key_registration.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09404af37c7716d03b25302c4e47e1d98c0fe64f82956d2a8a7782852a081a9"}},{"ruleId":"D2","level":"warning","message":{"text":"_OpenCIInitVisitor._extractPaths (cognitive 16): _OpenCIInitVisitor._extractPaths has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/dart_functions/lib/src/open_ci_parser.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa23ef156c007f16897dbe3d4c6bae4225e0f4d5d7d70098e820c92303c4615"}},{"ruleId":"D2","level":"warning","message":{"text":"build-job-card-demo.BuildJobCardDemo (cognitive 16): build-job-card-demo.BuildJobCardDemo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 41 (53 pts), ternaries 8 (16 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. This shape REPEATS in the file: 2 other methods here (build-job-card-demo.BuildJobCardDemo::getJobStatus, build-job-card-demo.BuildJobCardDemo::getJobDuration) 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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6689c9f2e72733a4efd643b95070c16cb16b584c4ea0b5a02d3e0cf833bf05a"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.recoverExecutions (cognitive 16): execute.recoverExecutions has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (6 pts), if/else 2 (5 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/execute.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48723f8e4f001081d262ac312f728309796bd6ad169f108adf2616edfe99c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubConnections.callback (cognitive 16): GitHubConnections.callback has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 3 (4 pts), ternaries 2 (4 pts), error handling 3 (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":"firebase/functions/github_connection/service.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8be738678fe921543ebbb087bf300d8f110076d34e906314ff716cbb30b38ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthPage.build: MethodTooLong \u2014 build runs 346 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 246 over it, 3.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":"apps/dashboard/lib/auth/auth_page.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"69668f24fb30609897558c5399c035915e0ee9d5ec832b83530a51c70f52f292"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FirebaseFormSheet.build: MethodTooLong \u2014 build runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.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":"apps/dashboard/lib/auth/auth_page.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5e12b277da147a48752c872d0a69d38ea46cbfb6c9c6547136a07bb2e0c636"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build-job-card-demo.BuildJobCardDemo: FunctionTooLong \u2014 BuildJobCardDemo runs 290 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 190 over it, 2.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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"514b05647b822bf821f0f9fc9b79f27ccd9a66f2f5d1be7ad8f56f46522fa255"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: secret_manager/secret_manager_page.dart: FileTooLong \u2014 1402 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 902 over it, 2.80\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a79cf0f16872266aa17f5e5daca173f21a7b9ea22dd1b21a06f94e5d62a48d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _EditSecretBottomSheet.build: MethodTooLong \u2014 build 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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec772609de8d74994b8389fae049a3a8b2f24789f73d8ca81007aa8954b7b441"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SelfHostedSetupForm.build: MethodTooLong \u2014 build runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.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":"apps/dashboard/lib/auth/self_hosted_setup_form.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"950189ca2b52f0149aa08f692ed90ab52ebf72ed99768cc51769c87590e7da8e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AddSecretBottomSheet.build: MethodTooLong \u2014 build runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"348c4ed6b55412573e88fe25dd30a99695fd59591def29ab8ebff622ae83bc2a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InviteTeamMemberBottomSheet.build: MethodTooLong \u2014 build 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":"apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c4dc05f11deca461d5aea0c5efabb9ff2f7936dab34205d8c836f1a8ddb360"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TeamMembersBottomSheet.build: MethodTooLong \u2014 build runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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":"apps/dashboard/lib/team/team_members_bottom_sheet.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2906fa385b5d55d99486fa1336d8e686c1cdd78c5d726da9acc25987be0500c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/site.tsx: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 394 over it, 1.79\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":"apps/landing_page/components/site.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6966f3845774769e8aed97f92186bc81cf97657597f3bd100680dbc8414804ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditTeamBottomSheet.build: MethodTooLong \u2014 build 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":"apps/dashboard/lib/team/edit_team_bottom_sheet.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb1016e91828076a886e749cef71bee5e0db1c3e0c1f26ee94301b6688f6600"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: site.CicdPage: FunctionTooLong \u2014 CicdPage runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"apps/landing_page/components/site.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde5ae2842f446395ea9849af89683718ccfa691e3e90086130d725432312801"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeleteTeamBottomSheet.build: MethodTooLong \u2014 build runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.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":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"df93955ed4729ba41b820f6df22ef86ea34f64156ba52faa75a3e3d053986a16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SecretValueDialog.build: MethodTooLong \u2014 build 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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56b13c5198ef9e50eb597ea84ca1968a9c6d78a462c38d8cc28d25580d2a3af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionGitHub.resolveCheckout: MethodTooLong \u2014 resolveCheckout runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/github.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ae4532ac3d21b75e7443b182b67752f54f084abc973c44f9d26477c768c2a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/auth_page.dart: FileTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 205 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":"apps/dashboard/lib/auth/auth_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bb75d9952f85d4334ede650631715dfd3d7afc8e70366d7c76cbe299a16d89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FirebaseHostingConfig.load: MethodTooLong \u2014 load 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":"packages/openci_workflow/lib/src/firebase_hosting/firebase_hosting_config.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"019e4cb382d011759f314d88259c3f86d7f54956cd1e70285061dc0d36b91354"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SetupAscKeysCommand.run: MethodTooLong \u2014 run 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":"apps/openci_cli/lib/src/commands/setup/setup_asc_keys_command.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eefc26c7f6fa0de6ca9e9f09f68b0d51b2cdc7725089b572c8aa92b81513da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShorebirdCI.releaseIos: MethodTooLong \u2014 releaseIos runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.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":"packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a2ad212e30877cf6751323c19abc36c0e9d9e5c7c3904277ea5260f5933e2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pull_request_qr.publishPullRequestQrCodes: FunctionTooLong \u2014 publishPullRequestQrCodes 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":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"136945dc371ac020f3aa487be1dad42b61090488a369884498f07ba47b53b19b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExecutionGitHub: ClassTooLong \u2014 414 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 14 over it, 1.04\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":"firebase/functions/executor/github.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd8e8209cf992a45942c8bdd063bf3d4dfeef84b3f38595103a0f219ef136a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/settings_page.dart: 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":"apps/dashboard/lib/settings/settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc44552d33a1d39ebbe128658b8865bbdc1923352561280eb6fe934569eb087e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (216 shared lines): apps/dashboard/lib/secret_manager/secret_manager_page.dart:980-1311 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:1495-1855 \u2014 These two members are variants of one another: 216 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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd136ea4af4723f7142e15b3cc6c5b4a084d54e1b2238de67604cc0a7fb841de"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): apps/dashboard/lib/team/delete_team_bottom_sheet.dart:14-245 | apps/dashboard/lib/team/edit_team_bottom_sheet.dart:12-247 \u2014 These two members are variants of one another: 59 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":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb080359a44528f8eb0ac7f7b0ee4b69c77ce337c0530776fb0c675e137f69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (99 corresponding lines): packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:18-118 | packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:120-218 \u2014 These two members are one piece of code written twice and then edited apart: 99 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"908261940e1eb73a3b18178bb065b8dfc08ff29c7ab8b343bd799c78eaac1b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): apps/openci_cli/lib/src/commands/list/list_secrets_command.dart:27-66 | apps/openci_cli/lib/src/commands/list/list_teams_command.dart:27-70 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/openci_cli/lib/src/commands/list/list_secrets_command.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e555310794832f62f541bcd4621587d7d69b13aa1d9d4ade589d004132c1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): apps/dashboard/lib/generated/builds/get_build_job.dart:135-174 | apps/dashboard/lib/generated/builds/get_build_jobs.dart:149-188 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"093a37d9902b752a6bf9efadbd82023e4c602f22dc4714eabb8033efa703aa8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): apps/dashboard/lib/settings/settings_page.dart:265-324 | apps/dashboard/lib/settings/settings_page.dart:338-386 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/settings/settings_page.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdd7140404a3ad663f35899727b835151ca392182cf7de4d0017d8cc5eb3c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/dashboard/lib/billing/billing_view.dart:133-154 | apps/dashboard/lib/settings/settings_page.dart:656-686 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/billing/billing_view.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd07aae08dcf65a743742bc6a8880e31a59a892bafa17532fc8c9bea44528d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): apps/dashboard/lib/secret_manager/secret_manager_page.dart:213-250 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:559-588 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dde1b27495af84e985d294a45ae86045c68679d466ef480c17192df33b78b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:77-97 | apps/openci_cli/lib/src/commands/list/list_secrets_command.dart:68-88 | apps/openci_cli/lib/src/commands/list/list_teams_command.dart:72-92 | apps/openci_cli/lib/src/commands/register/secret_registration.dart:19-40 | apps/openci_cli/lib/src/commands/sync/sync_secrets.dart:54-71 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdeed7ad42f2abff44ff615150eb262f17961a3b52f57a815fdb612d5cf449b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:174-186 | apps/dashboard/lib/generated/secrets/rename_managed_secret.dart:226-239 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/secrets/commit_managed_secret.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93b3736f9f81e467e1f511ecd1970eae06c8ddcf777312c6205db060a9051be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/dashboard/lib/generated/builds/get_build_jobs.dart:371-385 | apps/dashboard/lib/generated/logs/get_build_logs.dart:233-248 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/builds/get_build_jobs.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e24167990fb267f415004cbaf7abe3a5471c0dd37bf60bab4b73b3583b98b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/dashboard/lib/generated/logs/get_build_log_state.dart:121-139 | apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:97-115 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/get_build_log_state.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9217daf5ee666c7fb617a7a4de11c009b92a6d9d735a560bf25b3a74a18330a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:214-224 | apps/dashboard/lib/generated/secrets/rename_managed_secret.dart:269-280 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/secrets/commit_managed_secret.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d4934bd8a76be518d3a9a66d1da4d4e682058b07985add504f0c0227d046f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): apps/dashboard/lib/generated/logs/append_build_log.dart:171-191 | apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:119-138 | apps/dashboard/lib/generated/logs/get_build_logs.dart:133-152 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/append_build_log.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2eaed6e7fd87d66baa36304ec868f3a48cec9cd8ad38afa6cc52e88b5c6285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/dashboard/lib/generated/builds/get_build_jobs.dart:405-415 | apps/dashboard/lib/generated/logs/get_build_logs.dart:273-284 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/builds/get_build_jobs.dart"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2e34510fa866746ab64addddbc390a9d8a81980731ee94f286021467c9805b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): apps/dashboard/lib/generated/logs/get_build_log_state.dart:83-93 | apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:79-88 | apps/dashboard/lib/generated/logs/get_build_logs.dart:93-102 | apps/dashboard/lib/generated/teams/get_my_teams.dart:70-79 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/get_build_log_state.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac32deb804220d601b350838547523f33f6975e27997f0cbccdbe62482f6dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/dashboard/lib/generated/logs/create_build_step.dart:132-148 | apps/dashboard/lib/generated/logs/update_build_step.dart:93-109 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/create_build_step.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6cc8d00cd509a34a38c8655ac7b5e64cbb41077318a8ee3bd4ac4fd077da43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): apps/dashboard/lib/build_logs/chips/job_status.dart:12-19 | apps/dashboard/lib/build_logs/chips/job_status.dart:21-28 | apps/dashboard/lib/build_logs/chips/job_status.dart:30-37 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/build_logs/chips/job_status.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd838105885b0cc19b87abbed9716a592c2f0a09dbddcefc7dccebc143a94c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:187-203 | apps/dashboard/lib/generated/secrets/delete_managed_secret.dart:137-152 | apps/dashboard/lib/generated/secrets/rename_managed_secret.dart:240-257 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/secrets/commit_managed_secret.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c8254561886967bf756a7980d66ac304236100e1fdbded1313f1aae4b9b076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:54-69 | apps/dashboard/lib/generated/logs/get_build_logs.dart:69-83 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/get_build_log_write_state.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fd74aef217aeaa082278b3c7c6b4f3e22a275b8b311d7e448677dc7cdd54e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): apps/dashboard/lib/generated/secrets/delete_managed_secret.dart:162-169 | apps/dashboard/lib/generated/secrets/get_managed_secret_context.dart:108-115 | apps/dashboard/lib/generated/secrets/get_secrets.dart:69-76 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/secrets/delete_managed_secret.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccead6e148fa74dd9b1ee88fb51b629484abbff5763eb510d7b6d4ecae75bb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): apps/dashboard/lib/generated/logs/create_build_step.dart:159-167 | apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:250-256 | apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:220-226 | apps/dashboard/lib/generated/logs/update_build_step.dart:120-128 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/create_build_step.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"165872fcad7541d7c807576603630835c2e5c0224387b93cf8d1baf8cc876bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/dashboard/lib/generated/secrets/rename_managed_secret.dart:199-209 | apps/dashboard/lib/generated/teams/remove_team_member.dart:133-142 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/secrets/rename_managed_secret.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1116cf43b3c50a1a3abc0481cfd80f000939aab012f37c448dabb0d5f3f6b3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/openci_cli/lib/src/auth/firebase_auth_client.dart:22-43 | apps/openci_cli/lib/src/auth/firebase_auth_client.dart:45-59 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/openci_cli/lib/src/auth/firebase_auth_client.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"28988e293dadb91b3df20c3da7f258aadc0e933b0a38fd44af93918fd3a7d285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:67-72 | apps/dashboard/lib/generated/logs/get_expired_build_logs.dart:52-57 | apps/dashboard/lib/generated/secrets/get_managed_secret_context.dart:153-160 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/get_build_step_write_state.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a1cf95a19102b986d29df3cc0c7cebd699a23c7958c3bc8657371b2dcd705"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_aab_to_firebase_app_distribution.dart:241-250 | packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_apk_to_firebase_app_distribution.dart:229-238 | packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart:190-199 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_aab_to_firebase_app_distribution.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"09558add946271f08c6f1e4c6f67ef8905d65168f5dd5c7ec34efc316217e73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/dashboard/lib/generated/logs/logs.dart:126-141 | apps/dashboard/lib/generated/secrets/secrets.dart:60-75 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/logs.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c554ae170befbdbffbe37861250a53c84d5771662f7ba51607034989a4e9170a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/dashboard/lib/generated/teams/add_team_member.dart:178-184 | apps/dashboard/lib/generated/secrets/get_managed_secret_context.dart:195-200 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/teams/add_team_member.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7333c84251d51c1dcf49e78556d215bc991a80aba2778506ce401c7db75aa8e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/dashboard/lib/generated/builds/retry_build_job.dart:205-210 | apps/dashboard/lib/generated/teams/create_team.dart:166-171 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/builds/retry_build_job.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32846ae33042060b24ebf05c72024354b33bbaf13076b8b25038ba6f25bab2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/dashboard/lib/generated/builds/retry_build_job.dart:162-169 | apps/dashboard/lib/generated/logs/append_build_log.dart:128-133 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/builds/retry_build_job.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb5322a7bfe89ae00d183ba20cd8bbda1b0e350d08d5f15767da41f8c365aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/dashboard/lib/generated/secrets/delete_managed_secret.dart:106-115 | apps/dashboard/lib/generated/teams/rename_team.dart:90-96 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/secrets/delete_managed_secret.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5d2c13558bbf83f2eaf05851e9568e295756742360263ebaa5e723be2a7605"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/dashboard/lib/generated/logs/logs.dart:143-158 | apps/dashboard/lib/generated/secrets/secrets.dart:45-58 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/logs.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebd9de90cb3598e075db0589c183b03e79a3973ea7063cb26aeb513387d40e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/dashboard/lib/generated/teams/add_team_member.dart:23-35 | apps/dashboard/lib/generated/teams/remove_team_member.dart:22-33 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/teams/add_team_member.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ba4af5d2258078418f9835e3f2d5b6655f1b48a18e6716c89831c2d8e2facb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/dashboard/lib/generated/logs/create_build_step.dart:150-157 | apps/dashboard/lib/generated/logs/update_build_step.dart:111-118 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/create_build_step.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0ea4aedbf6faf065e06e2b2213769b3f66b357c7feab7095dfb99e17d4e5f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:19-22 | apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:19-24 | apps/dashboard/lib/generated/secrets/get_managed_secret_context.dart:17-22 | apps/dashboard/lib/generated/secrets/get_secret_version_references.dart:16-24 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/get_build_log_write_state.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"170d42f8ef41bd1351debf45df2c22e3226034de893eaf73ae39640e3e969ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:205-212 | apps/dashboard/lib/generated/secrets/delete_managed_secret.dart:154-160 | apps/dashboard/lib/generated/secrets/rename_managed_secret.dart:259-267 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/secrets/commit_managed_secret.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"513d34485786f45b38bda768b3c8bb398cd9e965eb30e48eac7f2ad826e2e330"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): openci/lib/macos_release_publisher.dart:291-294 | packages/openci_workflow/lib/src/flutter/play_console/deploy_aab_to_play_console.dart:276-279 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openci/lib/macos_release_publisher.dart"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4859a09859937af4cefd5ea77081f4c211a93934b5809349b72f16c82693196b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:71-77 | apps/dashboard/lib/generated/logs/get_build_logs.dart:85-91 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/generated/logs/get_build_log_write_state.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd366fb3271bf5b13b796f9799f4dd83faedb417471749a699eace97f3a7b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (118 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:1146-1263 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:1667-1784 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1146\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d391fc41d6d71e8cf15549ee10196992baa0f43e2afeb0e4c7d8de71a1fba8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2): apps/dashboard/lib/generated/builds/get_build_job.dart:209-283 | apps/dashboard/lib/generated/builds/get_build_jobs.dart:223-297 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/builds/get_build_job.dart\u0060 and \u0060apps/dashboard/lib/generated/builds/get_build_jobs.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 142 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. 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2d01bec7482b6254ab7dcc2aa574dc77ca587bb63fab0089d3b11a6b5df4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201350 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:1010-1059 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:1524-1571 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1010\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. 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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b31ea6e3e1e0ed36b63ba4b76fc27f3fdd6dbea63b8e5b48fbc7712c410ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:50-91 | packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:149-190 \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 \u0060packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:50\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":"packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78bd7df49c4d334f1106915afc9028b9a18f7b40ed671dc6167321103f9e44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): apps/dashboard/lib/settings/settings_page.dart:274-313 | apps/dashboard/lib/settings/settings_page.dart:343-382 \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 \u0060apps/dashboard/lib/settings/settings_page.dart:274\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":"apps/dashboard/lib/settings/settings_page.dart"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1247ea6870415cee0a7b7addd6588958a50e6fe22e9cf56487813ce3dce710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:1061-1098 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:1573-1609 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1061\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, \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1610\u0060 calls \u0060Column\u0060 and \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1099\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"b797bf5806017b4a433a0c946ff6dfd408f45acbe566deaecbec076ee20291a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): apps/dashboard/lib/generated/builds/get_build_job.dart:176-207 | apps/dashboard/lib/generated/builds/get_build_jobs.dart:190-221 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/builds/get_build_job.dart\u0060 and \u0060apps/dashboard/lib/generated/builds/get_build_jobs.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 142 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9499e613c7d4a8e6d39c1e7b7ad790bd3704157db273039eb89db1a75340538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): apps/dashboard/lib/generated/builds/get_build_job.dart:145-174 | apps/dashboard/lib/generated/builds/get_build_jobs.dart:159-188 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/builds/get_build_job.dart\u0060 and \u0060apps/dashboard/lib/generated/builds/get_build_jobs.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 142 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/generated/builds/get_build_job.dart:145\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. 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cac2a5a58e26935ffb62ed2a13ae3a68d07d198937767aff7f32502fdf8fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): apps/dashboard/lib/team/delete_team_bottom_sheet.dart:17-39 | apps/dashboard/lib/team/edit_team_bottom_sheet.dart:17-39 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart\u0060 and \u0060apps/dashboard/lib/team/edit_team_bottom_sheet.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart:17\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. 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, \u0060apps/dashboard/lib/team/edit_team_bottom_sheet.dart:15\u0060 calls \u0060useTextEditingController\u0060, \u0060useMemoized\u0060 and \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart:16\u0060 does not \u2014 after which the two agree again for 3 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":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8970cf13200d1629ef077adb4d95691ea113d1f7bba43f88e3a588af99d93d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): apps/dashboard/lib/team/team_members_bottom_sheet.dart:87-107 | apps/dashboard/lib/team/team_members_bottom_sheet.dart:205-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/team/team_members_bottom_sheet.dart:87\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. 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":"apps/dashboard/lib/team/team_members_bottom_sheet.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efe8c32821102ec3bb6be349f9fd86b779c12fc21eb1b2aa28e5559f805aea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:19-40 | packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:121-142 \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 \u0060packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:19\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":"packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"870a56f84df14f6216c17bd5645129111abe8efae8492b3ebdb53430bf132564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): apps/dashboard/lib/team/delete_team_bottom_sheet.dart:53-73 | apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart:78-97 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart\u0060 and \u0060apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b82ae8f8aadc7c590618f49dc2f77aa38c6a9b9dd517e3afca06f864169871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): apps/dashboard/lib/team/team_members_bottom_sheet.dart:60-79 | apps/dashboard/lib/team/team_members_bottom_sheet.dart:166-186 \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 \u0060apps/dashboard/lib/team/team_members_bottom_sheet.dart:60\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":"apps/dashboard/lib/team/team_members_bottom_sheet.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"489da6598b2fe625a5659fc3f64604ff8b8f86e1fc7fffe11ad15f5fefeebdf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): apps/dashboard/lib/team/delete_team_bottom_sheet.dart:55-72 | apps/dashboard/lib/team/edit_team_bottom_sheet.dart:57-75 | apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart:79-96 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart\u0060 and \u0060apps/dashboard/lib/team/edit_team_bottom_sheet.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart:55\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. 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":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd10bf383a129b03aa7cfd5e9d585b7df160796e2988e1294d02a7b0a1b2c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:395-413 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:900-916 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:395\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0a68a2660c0f553058b5fb52ea555a361efdfa38c084c68ebf4f0a5a6a6394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): apps/dashboard/lib/team/delete_team_bottom_sheet.dart:31-49 | apps/dashboard/lib/team/switch_team_bottom_sheet.dart:54-72 \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 \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart:31\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart:29\u0060 calls \u0060SizedBox\u0060 and \u0060apps/dashboard/lib/team/switch_team_bottom_sheet.dart:53\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":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c0306e9940de00f25061ebec8d743bca1dc217b55b1cf8268bf43351c140ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart:153-170 | packages/openci_workflow/lib/src/flutter/testflight/app_store_connect_client.dart:79-97 \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 \u0060packages/openci_workflow/lib/src/flutter/testflight/app_store_connect_client.dart:79\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":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"52594e478be4dce97057179e3d0e43c143dc5630104e8ab05a7f205cf1cdc50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): apps/dashboard/lib/team/delete_team_bottom_sheet.dart:228-245 | apps/dashboard/lib/team/edit_team_bottom_sheet.dart:230-247 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart\u0060 and \u0060apps/dashboard/lib/team/edit_team_bottom_sheet.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart:228\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"921888638a9ca9e811bd6b6d5f29bdf595c26447d27494c667dfd16cf1642290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:27-44 | packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:240-257 \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 \u0060packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:27\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. 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":"packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8e956ebabfc682bc012af5fd49163af4b9670027861ec28863a8366aec01ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:26-42 | packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:128-144 | packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:239-255 \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 \u0060packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:26\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":"packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"388c4421c48ad6ba078528198d353c338efa5abfd6bf087e27f0199b77680605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:1784-1800 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:1912-1927 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1784\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1783\u0060 calls \u0060_SecretFormError\u0060, \u0060SizedBox\u0060 and \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1912\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"444b6054658353ae03fbf69513391ced2b15773c4850f4711e8c4693f4179b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:262-276 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:308-323 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:262\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:324\u0060 calls \u0060SizedBox\u0060 and \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:277\u0060 does not \u2014 after which the two agree again for 4 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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f099c0da809f19f6a0fb9ff78e4dedd46259fdf7bb9ba85cd95d099350d29172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): apps/dashboard/lib/settings/settings_page.dart:265-279 | apps/dashboard/lib/team/switch_team_bottom_sheet.dart:461-476 \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 \u0060apps/dashboard/lib/settings/settings_page.dart:265\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. 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":"apps/dashboard/lib/settings/settings_page.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"669bce677ea58bac11219fe069c2c7c377ecc2fd9c378ee9fbcb7d9ae7134685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:614-628 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:895-909 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:614\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05b07823561894c55d7787a39031acf24a18d6170e68127f772551318052ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:1628-1642 | apps/dashboard/lib/team/edit_team_bottom_sheet.dart:150-164 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1628\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"9458402be7a844ab5896299f154d35bcceeea3350c6af2db23934a55ef56b371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:152-165 | apps/dashboard/lib/generated/logs/get_build_logs.dart:166-179 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/logs/get_build_log_write_state.dart\u0060 and \u0060apps/dashboard/lib/generated/logs/get_build_logs.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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. 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":"apps/dashboard/lib/generated/logs/get_build_log_write_state.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4fce14878376cdeabbf9a679aaa2c2eeb6592c538019b62502a0854b7c00df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:995-1008 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:1510-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:995\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3217da0f85feb59260afdc7a79e06d519e4c0c1802e6b15f9a4aba3be7f96d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:1516-1529 | apps/dashboard/lib/secret_manager/secret_manager_page.dart:1611-1623 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1516\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1e826df718871a72030c7a962ebda22ae207bc2733772642935b59f0cff61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): apps/dashboard/lib/team/delete_team_bottom_sheet.dart:75-86 | apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart:100-113 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart\u0060 and \u0060apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart:75\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. 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":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a34034653eccda5b3ba5661429435b964340e2f19a10cc7068fc146fd5f25e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/dashboard/lib/team/delete_team_bottom_sheet.dart:94-107 | apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart:119-132 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart\u0060 and \u0060apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/team/delete_team_bottom_sheet.dart:94\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":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd1f4958bc57bae7a344955961692f21cf4c794c7d363f08ae665bf0bf0aa11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): apps/dashboard/lib/settings/settings_page.dart:273-284 | apps/dashboard/lib/settings/settings_page.dart:342-353 | apps/dashboard/lib/settings/settings_page.dart:456-467 \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 \u0060apps/dashboard/lib/settings/settings_page.dart:273\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":"apps/dashboard/lib/settings/settings_page.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ba473ad79b208acbca2b237fa97ce963c5d956956f56f6131047b157938a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/dashboard/lib/secret_manager/secret_manager_page.dart:1116-1127 | apps/dashboard/lib/team/invite_team_member_bottom_sheet.dart:188-199 \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 \u0060apps/dashboard/lib/secret_manager/secret_manager_page.dart:1116\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e652446488d216e0722efb8b10ee646eb58e242c806aee6092bd39a4d04787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:83-94 | apps/openci_cli/lib/src/commands/list/list_secrets_command.dart:74-85 \u2014 before extracting anything, compare \u0060apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart\u0060 and \u0060apps/openci_cli/lib/src/commands/list/list_secrets_command.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:83\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a03c318d7172903f47320ebdfc2c9887e7a293821022ba506160eb25da2f298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/openci_cli/lib/src/commands/list/list_teams_command.dart:73-84 | apps/openci_cli/lib/src/commands/switch/switch_team_command.dart:133-144 \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 \u0060apps/openci_cli/lib/src/commands/list/list_teams_command.dart:73\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":"apps/openci_cli/lib/src/commands/list/list_teams_command.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1e1d7d4b8a421faf2f5f8096e283a213bed85639d8986aaa195513c60f0ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/openci_workflow/lib/src/flutter/flutter_ci.dart:61-72 | packages/openci_workflow/lib/src/flutter/flutter_ci.dart:75-86 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/openci_workflow/lib/src/flutter/flutter_ci.dart:61\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":"packages/openci_workflow/lib/src/flutter/flutter_ci.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c93c2d54e04958f877827250b4051ce052c8021df80e0f7fc8c779f39315fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:84-94 | apps/openci_cli/lib/src/commands/list/list_secrets_command.dart:75-85 | apps/openci_cli/lib/src/commands/list/list_teams_command.dart:79-89 \u2014 before extracting anything, compare \u0060apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart\u0060 and \u0060apps/openci_cli/lib/src/commands/list/list_secrets_command.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:84\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70d6fe2cd332bdd6ed359cc71fb02080e3133193918402174dc5062f41d49b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/dashboard/lib/generated/logs/get_build_log_state.dart:152-162 | apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:128-138 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/logs/get_build_log_state.dart\u0060 and \u0060apps/dashboard/lib/generated/logs/get_build_step_write_state.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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. 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":"apps/dashboard/lib/generated/logs/get_build_log_state.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a80c8831064934b6e2f62e34995355c0def14dc76f2ddb33cf618fe5cac46b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:81-89 | apps/openci_cli/lib/src/commands/list/list_secrets_command.dart:72-80 | apps/openci_cli/lib/src/commands/register/secret_registration.dart:23-31 \u2014 before extracting anything, compare \u0060apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart\u0060 and \u0060apps/openci_cli/lib/src/commands/list/list_secrets_command.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:81\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060apps/openci_cli/lib/src/commands/register/secret_registration.dart:32\u0060 calls \u0060secretFunctionEndpoint\u0060 and \u0060apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:90\u0060 does not \u2014 after which the two agree again for 4 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":"apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e33344eec8f291fb82d65a699a5402227dd191d4f323ba106775ee07238336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:202-210 | packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:356-364 \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 \u0060packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart:202\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":"packages/openci_workflow/lib/src/shorebird/shorebird_ci.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b412492031131b17532d4cd4131b1befba18b3052052c9d7586dd54c869788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:78-85 | apps/openci_cli/lib/src/commands/list/list_secrets_command.dart:69-76 | apps/openci_cli/lib/src/commands/register/secret_registration.dart:20-27 | apps/openci_cli/lib/src/commands/sync/sync_secrets.dart:55-62 \u2014 before extracting anything, compare \u0060apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart\u0060 and \u0060apps/openci_cli/lib/src/commands/list/list_secrets_command.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart:78\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":"apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d66ea3f9f25503bca92a04404be2c30125a3d8627090be5f9c20583411442fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): apps/dashboard/lib/build_logs/chips/job_status.dart:13-19 | apps/dashboard/lib/build_logs/chips/job_status.dart:22-28 | apps/dashboard/lib/build_logs/chips/job_status.dart:31-37 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/build_logs/chips/job_status.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af8340825b59da2857ad9b3306d82bae24a961a029c8312ac338cd13858404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:79-85 | apps/dashboard/lib/generated/logs/get_build_logs.dart:93-99 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/logs/get_build_log_write_state.dart\u0060 and \u0060apps/dashboard/lib/generated/logs/get_build_logs.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:79\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":"apps/dashboard/lib/generated/logs/get_build_log_write_state.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb16832a76d137e0ae2bd8ef07b5093e94cc11f0baedf027b65333682b48a87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): apps/dashboard/lib/generated/logs/create_build_step.dart:159-163 | apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:220-224 | apps/dashboard/lib/generated/logs/update_build_step.dart:120-124 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/generated/logs/create_build_step.dart:159\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060apps/dashboard/lib/generated/logs/update_build_step.dart:126\u0060 calls \u0060bigIntToJson\u0060 and \u0060apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:225\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":"apps/dashboard/lib/generated/logs/create_build_step.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8b5f6d90eeb31dadec90cbf40d6254313967d4c1c603c96e4443f3b607535d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:214-218 | apps/dashboard/lib/generated/secrets/delete_managed_secret.dart:162-166 | apps/dashboard/lib/generated/secrets/rename_managed_secret.dart:269-273 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:214\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:220\u0060 calls \u0060toJson\u0060 and \u0060apps/dashboard/lib/generated/secrets/delete_managed_secret.dart:167\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":"apps/dashboard/lib/generated/secrets/commit_managed_secret.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"65374508a337eb53bbbedd702065b3bd110ee4980586a4b6dd9cf77c7a10b2ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/dashboard/lib/generated/builds/get_build_job.dart:339-345 | apps/dashboard/lib/generated/builds/retry_build_job.dart:58-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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"055402f151394afc9122ad10a384eba36ebb14eda5ad0948f22ee7cee67b2b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): apps/dashboard/lib/generated/builds/get_build_job.dart:376-380 | apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:74-78 | apps/dashboard/lib/generated/secrets/delete_managed_secret.dart:64-68 | apps/dashboard/lib/generated/secrets/rename_managed_secret.dart:74-78 | apps/dashboard/lib/generated/teams/add_team_member.dart:59-63 | apps/dashboard/lib/generated/teams/create_team.dart:56-60 | apps/dashboard/lib/generated/teams/remove_team_member.dart:58-62 | apps/dashboard/lib/generated/teams/rename_team.dart:56-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"1719f760fe1b34565f806ed7752e9ca11eb77a102204e50afd2b0402919b06f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/dashboard/lib/generated/logs/get_build_log_state.dart:141-150 | apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:117-126 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/logs/get_build_log_state.dart\u0060 and \u0060apps/dashboard/lib/generated/logs/get_build_step_write_state.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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":"apps/dashboard/lib/generated/logs/get_build_log_state.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"67869b4e67727d0d69aba4dfce457f1f3f194fe946a6d0730c162fdfd83dbb06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): apps/dashboard/lib/generated/logs/get_build_log_state.dart:198-204 | apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:203-209 | apps/dashboard/lib/generated/logs/get_build_logs.dart:214-220 | apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:175-181 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/logs/get_build_log_state.dart\u0060 and \u0060apps/dashboard/lib/generated/logs/get_build_step_write_state.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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. 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":"apps/dashboard/lib/generated/logs/get_build_log_state.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9136069f1efdb72a5a97d66070612ef5dd5d657c9eae56941a6b3a7035b8c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:140-150 | apps/dashboard/lib/generated/logs/get_build_logs.dart:154-164 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/logs/get_build_log_write_state.dart\u0060 and \u0060apps/dashboard/lib/generated/logs/get_build_logs.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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":"apps/dashboard/lib/generated/logs/get_build_log_write_state.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a6973541169e6009e8d15cd63885133d6b2fb4f8b0094af07c478e51f753b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:109-114 | apps/dashboard/lib/generated/secrets/rename_managed_secret.dart:109-114 | apps/dashboard/lib/generated/secrets/rename_managed_secret.dart:146-151 | apps/dashboard/lib/generated/teams/rename_team.dart:129-134 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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":"apps/dashboard/lib/generated/secrets/commit_managed_secret.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"313e561160aaf0921fbe308240f130b4ad3f87d3591aa3d3f6304319b6267061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): apps/dashboard/lib/generated/secrets/complete_secret_version_cleanup.dart:66-70 | apps/dashboard/lib/generated/secrets/complete_secret_version_cleanup.dart:144-148 | apps/dashboard/lib/generated/secrets/get_due_secret_versions.dart:49-53 | apps/dashboard/lib/generated/secrets/get_secret_version_references.dart:134-138 | apps/dashboard/lib/generated/secrets/queue_secret_version_cleanup.dart:63-67 | apps/dashboard/lib/generated/secrets/queue_secret_version_cleanup.dart:137-141 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. 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":"apps/dashboard/lib/generated/secrets/complete_secret_version_cleanup.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b95b36bbfc1996993aa5873a3b98c052269976059314b78f0be190ee938889d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): apps/dashboard/lib/generated/secrets/get_managed_secret_context.dart:61-65 | apps/dashboard/lib/generated/teams/add_team_member.dart:92-96 | apps/dashboard/lib/generated/teams/create_team.dart:89-93 | apps/dashboard/lib/generated/teams/remove_team_member.dart:91-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 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":"apps/dashboard/lib/generated/secrets/get_managed_secret_context.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f2f0de9bba5bb7a7885b64e49851f7e3d8e06c90fb4d56fbed5bfdc1ee9b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/dashboard/lib/generated/secrets/get_secrets.dart:144-148 | apps/dashboard/lib/generated/teams/get_team_members.dart:159-163 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/secrets/get_secrets.dart\u0060 and \u0060apps/dashboard/lib/generated/teams/get_team_members.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"apps/dashboard/lib/generated/secrets/get_secrets.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"65de12c9dbea9dfd03c935dec16b1aef09b1daa003d3497d9a063a5fa3afa5ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/dashboard/lib/generated/teams/get_my_teams.dart:112-116 | apps/dashboard/lib/generated/teams/get_team_members.dart:88-92 \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":"apps/dashboard/lib/generated/teams/get_my_teams.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec43b21c51154cedd52a30b4ca4ede7021b948680c1020a458562c03e96e715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_aab_to_firebase_app_distribution.dart:266-271 | packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_apk_to_firebase_app_distribution.dart:254-259 | packages/openci_workflow/lib/src/flutter/play_console/deploy_aab_to_play_console.dart:295-300 \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":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_aab_to_firebase_app_distribution.dart"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"18572096f5b6af6208fc99d3d9addea2f3c18e1c4679172e3f2a621d0bd5f064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): apps/dashboard/lib/generated/builds/builds.dart:58-73 | apps/dashboard/lib/generated/logs/logs.dart:167-182 | apps/dashboard/lib/generated/secrets/secrets.dart:141-156 \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":"apps/dashboard/lib/generated/builds/builds.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"99676287901d81aa642f61f146654a42c1d28538ac93aef219f67a6c5debb511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): apps/dashboard/lib/generated/builds/get_build_job.dart:15-19 | apps/dashboard/lib/generated/builds/get_build_jobs.dart:27-31 | apps/dashboard/lib/generated/logs/get_build_log_state.dart:19-23 | apps/dashboard/lib/generated/logs/get_build_logs.dart:32-36 | apps/dashboard/lib/generated/secrets/get_secrets.dart:15-19 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/builds/get_build_job.dart\u0060 and \u0060apps/dashboard/lib/generated/builds/get_build_jobs.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 142 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. 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bbc379b869c588450be0323592d64e1ce3da1f93d0f5f23f5d706978a6e24e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): apps/dashboard/lib/generated/builds/get_build_job.dart:21-31 | apps/dashboard/lib/generated/secrets/get_secret_version_references.dart:26-38 | apps/dashboard/lib/generated/secrets/get_secrets.dart:21-31 | apps/dashboard/lib/generated/teams/get_team_members.dart:19-29 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/builds/get_build_job.dart\u0060 and \u0060apps/dashboard/lib/generated/secrets/get_secrets.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b9c6533dbdef0800d9e4a2d3ec3f4d06aefdb23c5d4016aad62465f045f6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 19): apps/dashboard/lib/generated/builds/get_build_job.dart:323-334 | apps/dashboard/lib/generated/builds/get_build_job.dart:360-371 | apps/dashboard/lib/generated/logs/get_build_log_state.dart:182-193 | apps/dashboard/lib/generated/logs/get_build_log_write_state.dart:186-198 | apps/dashboard/lib/generated/logs/get_build_logs.dart:198-209 | apps/dashboard/lib/generated/logs/get_build_step_write_state.dart:158-170 | apps/dashboard/lib/generated/logs/get_expired_build_logs.dart:70-82 | apps/dashboard/lib/generated/secrets/get_due_secret_versions.dart:32-44 | apps/dashboard/lib/generated/secrets/get_managed_secret_context.dart:44-56 | apps/dashboard/lib/generated/secrets/get_secret_version_references.dart:46-58 | apps/dashboard/lib/generated/secrets/get_secret_version_references.dart:117-129 | apps/dashboard/lib/generated/secrets/get_secrets.dart:93-104 | apps/dashboard/lib/generated/secrets/get_secrets.dart:128-139 | apps/dashboard/lib/generated/teams/get_my_teams.dart:96-107 | apps/dashboard/lib/generated/teams/get_my_teams.dart:130-141 | apps/dashboard/lib/generated/teams/get_team_members.dart:39-50 | apps/dashboard/lib/generated/teams/get_team_members.dart:71-83 | apps/dashboard/lib/generated/teams/get_team_members.dart:106-117 | apps/dashboard/lib/generated/teams/get_team_members.dart:143-154 \u2014 before extracting anything, compare \u0060apps/dashboard/lib/generated/builds/get_build_job.dart\u0060 and \u0060apps/dashboard/lib/generated/secrets/get_secrets.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a078ba8d05cc018d38e7229c877e4008f37e8be1766c68462452811fedf35c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/dashboard/lib/generated/logs/append_build_log.dart:88-93 | apps/dashboard/lib/generated/logs/delete_expired_build_logs.dart:101-106 \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":"apps/dashboard/lib/generated/logs/append_build_log.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"224166d29cdc8d77a02b1bfb67fd9fbda0fd9df90787674e3568cb155ad65c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/dashboard/lib/generated/logs/create_build_step.dart:105-109 | apps/dashboard/lib/generated/secrets/queue_secret_version_cleanup.dart:101-105 \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. 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":"apps/dashboard/lib/generated/logs/create_build_step.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab7290d7c94c4a8f61eef619a200a4fca3b701b0be013dfc8fd362bb2a88608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/dashboard/lib/generated/logs/delete_expired_build_logs.dart:61-65 | apps/dashboard/lib/generated/logs/update_build_step.dart:66-70 \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":"apps/dashboard/lib/generated/logs/delete_expired_build_logs.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30eae0bf137d201c8baacd5bc51144bd6f35b858122e08aa5e8304f9e6f750d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/dashboard/lib/generated/logs/get_expired_build_logs.dart:11-15 | apps/dashboard/lib/generated/secrets/get_due_secret_versions.dart:11-15 \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. 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":"apps/dashboard/lib/generated/logs/get_expired_build_logs.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"613dc602655be430f58fcfe671287cf2aa6d5233828c0928c58e4957106d0a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/dashboard/lib/generated/logs/logs.dart:59-68 | apps/dashboard/lib/generated/secrets/secrets.dart:34-43 \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. 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":"apps/dashboard/lib/generated/logs/logs.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2650c578271879137d48834f099e4a05fbc37a67d84b8bafb32e472975436dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/dashboard/lib/generated/secrets/commit_managed_secret.dart:152-159 | apps/dashboard/lib/generated/teams/add_team_member.dart:132-139 \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. 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":"apps/dashboard/lib/generated/secrets/commit_managed_secret.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae25212f7f79abda182cc13733fafe95222cebddfaaed7f7eaa08970992eeb87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/dashboard/macos/Runner/MainFlutterWindow.swift:5-14 | packages/macos_updater/example/macos/Runner/MainFlutterWindow.swift:5-14 \u2014 before extracting anything, compare \u0060apps/dashboard/macos/Runner/MainFlutterWindow.swift\u0060 and \u0060packages/macos_updater/example/macos/Runner/MainFlutterWindow.swift\u0060 as WHOLE FILES: 100% 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. 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":"apps/dashboard/macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37aa109bc69ee3b23c224d32b7bb5bedffced85298f68899ccacae263de057e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: openci_workflow: openci_workflow: abstractness 0.13, instability 0.00, distance 0.87 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a9d4b97617e9fb5a22458e57dbf4c3db6ec0b0dd80135598a0dd23c6f3a30c0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: allows a new Google user: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/test/auth_signup_policy.test.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fe56653f7fa7fb5d89b7538c97f1465fb5353194505ffa63d89c9319c6ca5f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: malformed task payloads are acknowledged without accessing configured services: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/test/build_dispatch_functions.test.mjs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"683ed54f7a9adab3448d88dbb1b444839c07808a6bfd010449698bbaa856e5ec"}},{"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":"b36df156b0b13c16996f34c30a038bbfeec73cbecfe3c467c8c5d235cf07cf12"},"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":"796f292ff469c10bdeffe564be06fb1af05145194f4c04eef4d801721d27ac78"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/executor/github.ts: firebase/functions/executor/github.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in ExecutionGitHub.resolveCheckout at line 231. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/executor/github.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":"firebase/functions/executor/github.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e75c4e894ac93ea8b4c8c95afdd17d5bd54928315bf40ab28226a4585643e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dashboard/lib/auth/auth_page.dart: apps/dashboard/lib/auth/auth_page.dart changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in FirebaseFormSheet.build at line 522. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- apps/dashboard/lib/auth/auth_page.dart\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":"apps/dashboard/lib/auth/auth_page.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2e6b6ee12a4646698db88d66a9a4c12290592bad11e9266a2a69b4ebcf7a74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/openci_cli/lib/src/commands/setup/setup_asc_keys_command.dart: apps/openci_cli/lib/src/commands/setup/setup_asc_keys_command.dart changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in SetupAscKeysCommand.run at line 96. 1 of those changes was a fix/bug commit, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- apps/openci_cli/lib/src/commands/setup/setup_asc_keys_command.dart\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":"apps/openci_cli/lib/src/commands/setup/setup_asc_keys_command.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daa7e360e2709e8817f78eed998e13fbfb98e7ec1a6a2ca40555155e0c410a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/executor/execute.ts: firebase/functions/executor/execute.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in execute.executeBuild at line 86. 4 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/executor/execute.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":"firebase/functions/executor/execute.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea783fa776c053527fbedd1554179bc365ef9188104edca3bfb3767190810aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/build_dispatch_functions.ts: firebase/functions/build_dispatch_functions.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in build_dispatch_functions.dispatchBuildJob at line 270. 6 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/build_dispatch_functions.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":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b3e4c4c3eba4f8a3f35132ec00ecc7c243df915dc4f07a32452a729f22d403"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/executor/pull_request_qr.ts: firebase/functions/executor/pull_request_qr.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in pull_request_qr.publishPullRequestQrCodes at line 289. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/executor/pull_request_qr.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":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f9cc71f77b753ac30acd6a9d68635a18a33936a5d22a9546a5ef4b6947f1d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dashboard/lib/billing/billing_view.dart: apps/dashboard/lib/billing/billing_view.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BillingView.build at line 27. 2 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- apps/dashboard/lib/billing/billing_view.dart\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":"apps/dashboard/lib/billing/billing_view.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"db70af59d0ec1d9c6523c6a85a88c471b4a88db73d850c464ec83d8553c5d8f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dashboard/lib/billing/billing_actions.dart: apps/dashboard/lib/billing/billing_actions.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in BillingActions._create at line 29. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- apps/dashboard/lib/billing/billing_actions.dart\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":"apps/dashboard/lib/billing/billing_actions.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6491f07cde4eb80ee0ee9243b7d3f63ff92867a32cbd7641ad6742d6bea88d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/dart_functions/lib/src/create_build_jobs.dart: firebase/dart_functions/lib/src/create_build_jobs.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in BuildJobPlanner._processOnce at line 38. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/dart_functions/lib/src/create_build_jobs.dart\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":"firebase/dart_functions/lib/src/create_build_jobs.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fc6104ff8490a924ee8bcd734d25f454cf8391b49e0f28655da9c441182423"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dashboard/lib/secret_manager/secret_manager_page.dart: apps/dashboard/lib/secret_manager/secret_manager_page.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in _AddSecretBottomSheet.build at line 980. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- apps/dashboard/lib/secret_manager/secret_manager_page.dart\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":"apps/dashboard/lib/secret_manager/secret_manager_page.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cbe904d8a93f2842b5162721d2ab3dc539a934b33ffa55c7b298e3c51c50bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/dart_functions/lib/src/planning_event.dart: firebase/dart_functions/lib/src/planning_event.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in PlanningEvent.parse 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-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/dart_functions/lib/src/planning_event.dart\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":"firebase/dart_functions/lib/src/planning_event.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"315b51de0d7fcd91295196dde26ab5ec8cc3240eefd3fe2b185573f68d2c4e12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/queued_checks.ts: firebase/functions/queued_checks.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in QueuedChecks.sync 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-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/queued_checks.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":"firebase/functions/queued_checks.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a23b36aba80be3080f8d190b4d423b411f0ed754ecca990452653afd0dfc952"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/billing/service.ts: firebase/functions/billing/service.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Billing.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-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/billing/service.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":"firebase/functions/billing/service.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6adff235f06a4d9679fa0114da7d34e7d2b6b28934151b3b8ff815af481a751"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dashboard/lib/secret_manager/secret_manager_provider.dart: apps/dashboard/lib/secret_manager/secret_manager_provider.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SecretManager._call at line 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- apps/dashboard/lib/secret_manager/secret_manager_provider.dart\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":"apps/dashboard/lib/secret_manager/secret_manager_provider.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"88be2dff2243bacd583569a2cc0389b3e24ad70c48697494a63fcae7376df596"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/dart_functions/lib/src/github_workflows.dart: firebase/dart_functions/lib/src/github_workflows.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in GitHubWorkflows.observePullRequest at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/dart_functions/lib/src/github_workflows.dart\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":"firebase/dart_functions/lib/src/github_workflows.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e17fe5a13ee521c378351da06c49ec5694da6a4cee8db3b595c95a4f5a9ea3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dashboard/lib/cicd_log/detail/ci_cd_log_detail_page.dart: apps/dashboard/lib/cicd_log/detail/ci_cd_log_detail_page.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CicdLogDetailPage.build at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- apps/dashboard/lib/cicd_log/detail/ci_cd_log_detail_page.dart\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":"apps/dashboard/lib/cicd_log/detail/ci_cd_log_detail_page.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c180f3deee0bd3596fc1f2779a5f0a1971901bfd70fffd4a129ec0adef87c61c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dashboard/lib/generated/builds/get_build_jobs.dart: apps/dashboard/lib/generated/builds/get_build_jobs.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in GetBuildJobsBuildJobs.== at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- apps/dashboard/lib/generated/builds/get_build_jobs.dart\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":"apps/dashboard/lib/generated/builds/get_build_jobs.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f39e7f65dca753049079d97a578aaf909b0af368ae987e2fb0b971d8487a5d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/openci_workflow/lib/src/pull_request_ci.dart: packages/openci_workflow/lib/src/pull_request_ci.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in PullRequestCI.postQrCode at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- packages/openci_workflow/lib/src/pull_request_ci.dart\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":"packages/openci_workflow/lib/src/pull_request_ci.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d647e7d220812a874b2881b9b0fd1051ce2f3764b04b1a82954ad8522492e60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/billing/webhook.ts: firebase/functions/billing/webhook.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in webhook.receiveStripeWebhook at line 23. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/billing/webhook.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":"firebase/functions/billing/webhook.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eab9b5520fece4a143247f35fd07a0cf8453389330f80f8332d0b8ae0e7f9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/github_connection/github.ts: firebase/functions/github_connection/github.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in OctokitConnectionClient.repositories 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-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/github_connection/github.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":"firebase/functions/github_connection/github.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e74eaeae716e399e1eddab8b877a092db1ebac44661b20fc6c1b6c47a66ef0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/github_webhook.ts: firebase/functions/github_webhook.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in github_webhook.receiveGitHubWebhook 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-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/github_webhook.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":"firebase/functions/github_webhook.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9afe71ee05331b9cd430602ffd7d31c9dab1ff04c9abd6e373869faa45548c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart: packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in FirebaseAppDistributionClient.upload at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart\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":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a39ec84bc095c178432c2d7b10dc3701cf0c1f80d4e092d32c45768183ea05d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/dashboard/lib/team/delete_team_bottom_sheet.dart: apps/dashboard/lib/team/delete_team_bottom_sheet.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DeleteTeamBottomSheet.build 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-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- apps/dashboard/lib/team/delete_team_bottom_sheet.dart\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":"apps/dashboard/lib/team/delete_team_bottom_sheet.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bf2af6ef4eef8cdb76826c45acb5244a7144732fe9ae02256cc58400ed52ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: firebase/functions/billing/config.ts: firebase/functions/billing/config.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in config.billingConfig 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-08-20..2026-11-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-20 01:07:43 \u002B09:00\u0027 --until=\u00272026-11-18 01:07:43 \u002B09:00\u0027 --full-history --no-merges -- firebase/functions/billing/config.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":"firebase/functions/billing/config.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"083941509cbf2596cb505c90a5c662e1c88e7ab2c3a501ec2ad4677512597cd0"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060firebase/dart_functions/bin/server.dart\u0060 makes this repository a deployable product (line 26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/dart_functions/bin/server.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5e8705872fdc39925d1a4e186a01591303ada3b752038730742d963e4a7306"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060apps/dashboard\u0060 (16571 LoC, 193 module-visible types across 22 directories) overshoots its size bounds. 1 of 32 build unit(s) (Gradle, SwiftPM, Xcode, npm, pub) overshoot their size bounds, lowering Project Cohesion to 9.4/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa8935cac61d9f6d015746456afd9353f71c0dd5ddf62df85ccb8a0b7c91dcc"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ea126d2a66bc33ba8d019eba02d135990b3535bde6c1d5e4f04a7d6b15df0b6"},"properties":{"commitSha":"302f96af228329d51b3403ee4d6a543caf045735"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a66ce2bada680e9aaed2ff0a8c8de8675b63fe3ba675b073055a59766e897fc"},"properties":{"commitSha":"fcbaa5bb251b75f570aaa41d8d848bf01dbaaeb8"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c961d4ad868e295da9c03858d53e795a7d3986eb6636d43aa7f7d05db782333f"},"properties":{"commitSha":"abbde10b1a23886d0dd0ac0573222f540e25f849"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73d92c10fd9dc3fcc8cc50d03a23443f110956f6354ab229c9e694ef23efc2fb"},"properties":{"commitSha":"75547f11bd55e861045bc2caad7ccb1501cd761c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"985bf1f0648d5e45b5119b4eae33592aaae05935ff7abc918b5062fb7cc4a5a4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4577682cb9759010425d9e27547aa4c3026d775e1977efa633289522b59baa73"},"properties":{"commitSha":"4170c6a8205b95fa5c7a6169c81082636bbe4cf5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d3ebb61cd87b031e110d2f61e9e8f3335a4a797173c7e73fbd2e17f9921e9fb"},"properties":{"commitSha":"633e9067ed85a8d25566879a8b2eaadb58545355"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efcbce8debb2dd75bf36e2db5faf8a2a99688e9099670866b2994ef7cc21421e"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"261b10d0fe6536da7214e6bf38c25332bb4c132e83c2ea0577963b37d386deae"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f062d67c4c3485c0cfa093d6cfa2ce9cad2a4acf8b6cf185cf4f09f44337678"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d96934d90f08e75786a2dd05f3dfba67cc3c245a2141ce8530575993d42c29b9"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"599520f8ade02010ea5769edb255a663e4020e3d9bc16692e6ce7b736583c980"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd57232b8dd32111ed332a7e04fbf645236e44a5a00074b0e917637d09c9c9e4"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"becc245e23b587a09b54292cf52493a07c816f53156ebee0be00432b08da332c"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2e88a7b1144dae7587d4e996314afbb53ca6f9a8c3464cff44e40c056a555d5"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"580ad93d57de89ec243b270b4ca6a56e998ac72294a0d2ab7d3a77efe2cef77c"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac5341684cb00fd6c1a2a0e50b15b41625c3026fa9c8180e64439544fdb26c2c"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fec445d3a78fa9f93c3bdcb0377947408b6f522b07be9e1ef36167f2d94999e0"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac3e3324dd945fd33eaea9c2959ca681619298158077237176ad1b13e9af645a"},"properties":{"commitSha":"1602665610b45b2d4a3d926dbabfb7848cf068f1"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c84864f5208270b82fc1a69eed1d3172d57fddc78cea71431c9f0458b432775b"},"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":"297ee01cfac4f5795e679bf4e0bdf8fc05c489ed0ad1be80c72a797a1fc604ce"},"taxa":[{"id":"CWE-1188","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":"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":"2d11dc4db27594f9c74e518bfed6fbb8b89de619d07a620d6eae0d9cf548618c"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b97e78b5d31b9f275f4cbc7fc01b83ebca1e9e282aec563d0c12c0918da5e85d"},"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":"c25b77f674b8116900a23bef6693079b80b679ea995bc7af86122da1060a7afb"},"taxa":[{"id":"CWE-778","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":"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":"1bede863b87240b4ae3e2d18f44dc63c36516c69597192fceeffb7e61956d547"},"taxa":[{"id":"CWE-778","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"c72a45b8315fc87fa0a382e02dfd75aa859519083236386c755ec31d0d415b70"},"properties":{"dependency":{"package":"certifi","version":"2026.7.22","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"severity":"critical","fixedVersion":"2026.10.18","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":"6d0202c0af112e7f408d17f99c72dfe7b030d289e4f9d4e8404817b641067567"},"properties":{"dependency":{"package":"next","version":"16.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"16.4.1","relation":"direct","declaredRange":"^16.2.4","reachability":{"kind":"production","file":"apps/landing_page/app/(en)/en/page.tsx","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":"d1521d4df38892c8360f4021e3e60a84abee4ddb3bd9a9223f7ca0d504e933c2"},"properties":{"dependency":{"package":"tinypool","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"2.1.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a3281293612ff4cbf096a362171712a0ecb64e78bcdb880a25731798a9fef88"},"properties":{"dependency":{"package":"vite-plus","version":"0.1.21","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]"],"severity":"critical","fixedVersion":"0.1.24","relation":"direct","declaredRange":"^0.1.21","reachability":{"kind":"test-or-tooling","file":"firebase/functions/test/vitest/pull_request_checkout.test.ts","line":3}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"507bbd4ee6754f4c567f2aac9f07d6f662c644310973c3d4d406d8f3bc747a7c"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.6.5","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":"1ecdcfbc3de470320d903a3fa560fcc1b1143e096b9109636985291726d8dea1"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.5","advisory":"[GHSA redacted]","aliases":["[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]"],"severity":"high","fixedVersion":"5.0.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b8005cc97b99a4dbe38510f80f6dc0bd584d3983d8c2321c9cc6371137196e2"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"384a0892f51a77ce6e1097a5154e203805ee2ad75d30693634ca5b796c0008c6"},"properties":{"dependency":{"package":"browserslist","version":"4.28.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.28.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c74a680cd27fbae27453e8b1aa5aa8b55c98eb4d8727236a73fb354ab19e3f3"},"properties":{"dependency":{"package":"picomatch","version":"2.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a123c7a8538ef5659aefc6b6b9bf5ef92557f2acc40c94c7874d873c9193a516"},"properties":{"dependency":{"package":"postcss","version":"8.5.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.18","relation":"direct","declaredRange":"^8.5.12","reachability":{"kind":"test-or-tooling","file":"apps/landing_page/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":"9ac7e4fc946bb3706acd0f81c1dcd621af46b7d1ade09f7cc6e4dcd9c55ab36b"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.35.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ce8193ef670aed6c522d5c976aa3be0ebc405a6cbc52e75c2861f31ba3fb5c9"},"properties":{"dependency":{"package":"picomatch","version":"4.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"161e9210c18c9dbe9941e7ae03b91f941b74aa071ea2306c6d1ee3ec887d40a5"},"properties":{"dependency":{"package":"github.com/sparkle-project/Sparkle","version":"2.9.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","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":"f44b808061295adb7510d37b25850cd78c13f5ca6de81e233bac6fcd7900bb55"},"properties":{"dependency":{"package":"github.com/sparkle-project/Sparkle","version":"2.9.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","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":"5d91502d5a1dc1afd1639582bb6b1ea4c131e58f2bba71fa240770fceb3bbf43"},"properties":{"dependency":{"package":"opentelemetry-api","version":"1.45.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.45.2","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":"612c047bfe699ae98671d6be82031c92a6d618e90d6de600c9b95c01273ddda5"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43427bab5dea8e4a9974d0d31081f6cee7984ed96dc960bd2c33af06bc12237b"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.11.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b599360345b07e4355b8cfa45fc8865c58792796ac9f87f3d14cd8a447a94f4a"},"properties":{"dependency":{"package":"astro","version":"7.4.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"7.4.7","relation":"direct","declaredRange":"^7.4.2","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":"254e159535de5a467ea5671a4a81fbc3bf399623b11dcd1fc4071f2230ac5cd0"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"323f916a51c3bf193aefd00fba755d0d1d350820b090ad11b505435e62fab007"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"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":"2d7c8846e5c2786ac6f200262a5ae377f0a0f36f03fcc336f877638db9b57f15"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"7.29.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec89ce89addfd63596bad10287daa391835c24bc2eb4b7e511ccb3ecd5d24073"},"properties":{"dependency":{"package":"fast-xml-parser","version":"5.11.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"5.12.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"503e6c6ae703fc3d7dc9ee41a752492acaf2e5c536cf0606b520995a94a27dfd"}},{"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":"ac0c0d66f4ac221f6a5a29bcb0462bbe085952051e0a2089a2ddda20e272123b"}},{"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":"e441e92abde2b87911504f1d12c4d46a6b5761a85ded651a30a9a775b1823859"}},{"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":"0b7c81534d07e0938a670c10524f8599d0e4c297a2ea8b1121dc2ab82655826f"},"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":"0cfb1451ffbba74707ee9d53835c8b69d607ffe1ceb1cf1c7f3502f05b52c8bb"},"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":"407bc9d6387ca5db34f295a36b56f5c5bcacdcdada1760d005d92ee0aa2f26eb"},"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":"360bde3ef222d0ace01e0555d7d9b5422927b85505ecfbd37c8838a07c8241ee"}},{"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":"63aa4275b291e2ff8509ad53da61f7d73443aa10f70a7464561cfe5a99f0a9a6"}},{"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":"d4e0d529df1697b67f33dff36434f132a78d31c973c2111b0681e62f7c368957"}},{"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":"fa1589b82ebd66a1fb64d037f46f179d6917635f68833b8b7b284463fc5e1475"}},{"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":"ec736b241280777fc45409922843f76a0b6ed1aa58df62eb7ff5d33eac45f688"}},{"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":"1b35d19770bf02fe93a0a0f7fd9f82c4f8f90664f537d2f1c6801f9d6e3a36fe"}},{"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":"af739ebe749289f7086970039441840123f680e7a31afb0ab3a62a841147d00d"}},{"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":"48871e7f9d612f1273956d87c83990732a7667e0f00aae77abc8c3696e35e5d7"}},{"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":"dabd10bc599bf666a9a8aea4c8e3d6659deae97fb244776069a56daf4fb5a0ad"}},{"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":"7a71bf4c14981f3ad0935c5aa4acbfc7dc4f08bb872e3fbda3371149b3b96e1d"}},{"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":"ce10df81ccafc19a6b9809905836593a0a6260c15453f983377fb7dcb5b9428a"}},{"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":"db680c6f6035db88f82403f2fe861a65bbf513a344502b50bcfbf5e3ea04dd4b"}},{"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":"c559d1f9d4f36fefa425f6c65302c768d161747f9b10cbeee8a6525e00cb7ca4"}},{"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":"70f013dd034676c08ef9de80ca5b02407897d8f27eb4a52881488d72b6f9124e"}},{"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":"4c7860dc0408cad85209ed7143f307f89c0f761bcbf58d1c1b35fa4a25374c2f"}},{"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":"863f67027ade93f091849742bb0d999505c3c46d1b30e2266a8272d9f5fadc04"}},{"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":"fb6f0ddd0112405a1f0dd365ae36a8a46e230b8ea95072ed9c88a743f3c7bc79"}},{"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":"cd242975b4238a92d4f2b7217fe96eb3217c5d5530e6baba9c2be21df5d43d01"}},{"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":"2401d0b25c1edc706337842a60579b5333c3324a3d604f244ddac3df2c7e9791"}},{"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":"apps/landing_page/components/releases.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7efe804f27471f5e84a4e1f7b97e37f8646d90167fbd6a8ff2a278852d2e547"}},{"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":"apps/dashboard/web/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d7978dd5867121f2e3e31876fa9c1bebd6ae39bb3878623fe5f17a2241d1b2"}},{"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":"apps/dashboard/web/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c88b8c6a6fec325245cdcf2bf149b5c9f7418644140863ff03885183036a679"}},{"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. Declare it the way this router does \u2014 Next App Router \u0060export const metadata = { title }\u0060, React Router/Remix \u0060export function meta\u0060, TanStack Start \u0060head\u0060, or a Helmet/Head component."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/landing_page/app/(en)/layout.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d53f1731428fb19c8ae9f482b129686670f03f167228a75e462a14ffe7821ae"}},{"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":"apps/landing_page/app/(en)/layout.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd374f0a64d5d32b10980b5df260972bc26b408b281cafffbb66717a7133ae21"}},{"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. Declare it the way this router does \u2014 Next App Router \u0060export const metadata = { title }\u0060, React Router/Remix \u0060export function meta\u0060, TanStack Start \u0060head\u0060, or a Helmet/Head component."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/landing_page/app/(ja)/layout.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aac7966d5b87cbdab93ea90246b56d9076ff90280ab6fc463a9f4c46774e21"}},{"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":"apps/landing_page/app/(ja)/layout.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2dd873b6bcd5cae07ea168c4f13b5275ac82487da4f6ac395db9f6a51d6848"}},{"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. Declare it the way this router does \u2014 Next App Router \u0060export const metadata = { title }\u0060, React Router/Remix \u0060export function meta\u0060, TanStack Start \u0060head\u0060, or a Helmet/Head component."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/landing_page/app/(redirect)/layout.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"214578e40efcec2187974dd5077dabe49c737fa1ce4f262e2221e704ca3ec1d7"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider localePreferenceProvider captures autoDispose sharedPreferencesProvider: \u0060localePreferenceProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(sharedPreferencesProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/utilities/shared_preferences_provider.dart:6). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060sharedPreferencesProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060sharedPreferencesProvider\u0060 keepAlive too, make \u0060localePreferenceProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/app_locale_provider.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f882cee61ea73b884b80b25e16c755d00cfc6fded93f9a01bd40d6dc43e9ef"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider githubConnectionApiProvider captures autoDispose currentGitHubConnectionContextProvider: \u0060githubConnectionApiProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(currentGitHubConnectionContextProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/team/current_github_connection_context_provider.dart:8). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060currentGitHubConnectionContextProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060currentGitHubConnectionContextProvider\u0060 keepAlive too, make \u0060githubConnectionApiProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/team/github_connection_api.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca2badcceeadda758ff267ff05f6a4bfa66cea8b10144df2de9b6fc2df07b76"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider githubConnectionApiProvider captures autoDispose activeConnectionFirebaseAuthProvider: \u0060githubConnectionApiProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(activeConnectionFirebaseAuthProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/connections/active_connection_firebase_auth.dart:11). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060activeConnectionFirebaseAuthProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060activeConnectionFirebaseAuthProvider\u0060 keepAlive too, make \u0060githubConnectionApiProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/team/github_connection_api.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"57024a6884ec6eb94e38c62062d1b74271c8d78eff28675010b67a6d06c1df9d"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider githubConnectionApiProvider captures autoDispose currentGitHubConnectionContextProvider: \u0060githubConnectionApiProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.read(currentGitHubConnectionContextProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/team/current_github_connection_context_provider.dart:8). Read in build, \u0060currentGitHubConnectionContextProvider\u0060 has no listener once the read returns, so it is disposed at once \u2014 its ref.onDispose closes what it handed out \u2014 while \u0060githubConnectionApiProvider\u0060 keeps that value for the life of the ProviderContainer. Mark \u0060currentGitHubConnectionContextProvider\u0060 keepAlive too, make \u0060githubConnectionApiProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/team/github_connection_api.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dc565bb5cff30ac18df0e9212fc3e3a13adf4ef4a63d1a3ef94430edf95c95"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider teamMembersApiProvider captures autoDispose authStateChangesProvider: \u0060teamMembersApiProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(authStateChangesProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/auth/auth_provider.dart:31). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060authStateChangesProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060authStateChangesProvider\u0060 keepAlive too, make \u0060teamMembersApiProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/team/team_members_api.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca831a56ca5cd05669e301351f4933955bb5b9ad3bc11d2f849939ced4412d1"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider teamMembersApiProvider captures autoDispose activeConnectionFirebaseAuthProvider: \u0060teamMembersApiProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(activeConnectionFirebaseAuthProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/connections/active_connection_firebase_auth.dart:11). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060activeConnectionFirebaseAuthProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060activeConnectionFirebaseAuthProvider\u0060 keepAlive too, make \u0060teamMembersApiProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/team/team_members_api.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc2a092e7a58d02c9ab715adeffe8d10a5440bed92e03e41de7659fe4434c7c"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider teamMembersApiProvider captures autoDispose teamsConnectorProvider: \u0060teamMembersApiProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(teamsConnectorProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/team/teams_connector_provider.dart:11). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060teamsConnectorProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060teamsConnectorProvider\u0060 keepAlive too, make \u0060teamMembersApiProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/team/team_members_api.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6558267539945d821d801b1e51895ead94f3aa1ae69cbc50c5c9ab73c51acede"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider teamSecretsCallableProvider captures autoDispose activeConnectionFirebaseAuthProvider: \u0060teamSecretsCallableProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(activeConnectionFirebaseAuthProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/connections/active_connection_firebase_auth.dart:11). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060activeConnectionFirebaseAuthProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060activeConnectionFirebaseAuthProvider\u0060 keepAlive too, make \u0060teamSecretsCallableProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/secret_manager/secrets_backend.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d066333bcfcf8916d934090d4a0fa817ce0fa08b8ee34db9b1349ea38fe646b"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider routerProvider captures autoDispose authStateChangesProvider: \u0060routerProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.listen(authStateChangesProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/auth/auth_provider.dart:31). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060authStateChangesProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060authStateChangesProvider\u0060 keepAlive too, make \u0060routerProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/router/router.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5798d1648163cd8b9f3326069d36386e54b9d3c5cb9b928a41b3a4cd9cf343d9"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider routerProvider captures autoDispose authStateChangesProvider: \u0060routerProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.read(authStateChangesProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/auth/auth_provider.dart:31). Read in build, \u0060authStateChangesProvider\u0060 has no listener once the read returns, so it is disposed at once \u2014 its ref.onDispose closes what it handed out \u2014 while \u0060routerProvider\u0060 keeps that value for the life of the ProviderContainer. Mark \u0060authStateChangesProvider\u0060 keepAlive too, make \u0060routerProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/router/router.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"758e91e984eb2d928d875d380e90030a1aa95d65f08ad9548e773b290fec9cbc"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider connectionStoreProvider captures autoDispose sharedPreferencesProvider: \u0060connectionStoreProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(sharedPreferencesProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/utilities/shared_preferences_provider.dart:6). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060sharedPreferencesProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060sharedPreferencesProvider\u0060 keepAlive too, make \u0060connectionStoreProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/connections/connection_store_provider.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dac6cab56611931bed2073421a477b44d27005cf02f7744d3f66015430bcf7f"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider billingApiProvider captures autoDispose authStateChangesProvider: \u0060billingApiProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(authStateChangesProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/auth/auth_provider.dart:31). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060authStateChangesProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060authStateChangesProvider\u0060 keepAlive too, make \u0060billingApiProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/billing/billing_api.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fa287ac9ffd2f6f78c4451ea70840422556b13efca3c6acdb3505758b7a926"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider billingApiProvider captures autoDispose activeConnectionFirebaseAuthProvider: \u0060billingApiProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(activeConnectionFirebaseAuthProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/connections/active_connection_firebase_auth.dart:11). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060activeConnectionFirebaseAuthProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060activeConnectionFirebaseAuthProvider\u0060 keepAlive too, make \u0060billingApiProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/billing/billing_api.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bfaf520fbae9ac5b946bf768019596aac801294ec70383c78e46f27951b51e"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider accountSetupProvider captures autoDispose authStateChangesProvider: \u0060accountSetupProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(authStateChangesProvider\u2026)\u0060, which is declared auto-dispose (apps/dashboard/lib/auth/auth_provider.dart:31). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060authStateChangesProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060authStateChangesProvider\u0060 keepAlive too, make \u0060accountSetupProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/dashboard/lib/auth/account_setup_provider.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8366572e3ebd40a2957ed8a1dddc19f3664bf35c36fd3f87d2afbe79652193cd"}},{"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":"packages/openci_workflow/test/src/dart/pub_dev_publisher_test.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2951cf24a00316e29aa0c18bc54541cbe28b7e834151fbfd7c943406aab527c"}},{"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":"packages/openci_workflow/test/src/dart/pub_dev_publisher_test.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b35299c466e04031f223cacf703248be8819da9585cc9bc1aa34ecb8099032"}},{"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":"packages/openci_workflow/test/src/dart/pub_dev_publisher_test.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dd7606936e1547ee28d67de996a56564b96124f4fabc64f980d34d0d98df43"}},{"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":"packages/openci_workflow/test/src/dart/pub_dev_publisher_test.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53de05077ffcb2aafda9f62946b30724ae72a3c16a257768e4a59a719c88bcd"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/12 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060apps/dashboard\u0060, \u0060apps/dashboard/ios\u0060, \u0060apps/dashboard/macos\u0060, \u0060apps/landing_page\u0060 and 6 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 77 typed \u00B7 54 plain JS \u2014 the untyped files are apps/dashboard/web/flutter_bootstrap.js, firebase/dataconnect/test/billing.test.mjs, firebase/dataconnect/test/build_checks.test.mjs, firebase/dataconnect/test/build_dispatch.test.mjs, firebase/dataconnect/test/build_dispatch_queue.test.mjs, firebase/dataconnect/test/build_dispatch_retry.test.mjs (\u002B48 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): firebase/functions/executor/orchard.ts:28 \u00B7 firebase/functions/orchard_capacity.ts:130 \u2014 the two spans are one implementation copied and then locally edited \u2014 336 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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eebbf4efcbc0a10060cf68b9d652a4d25490f6b67a9f0006e9fa3652d6742b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): apps/landing_page/components/build-job-card-demo.tsx:308 \u00B7 apps/landing_page/components/build-job-card-demo.tsx:341 \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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ab9e526033635f5215a00ee0fcd90a921e5bfe1a59511ec9ec9ba78cf488c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): firebase/functions/github_connection/github.ts:114 \u00B7 firebase/functions/github_connection/github.ts:192 \u2014 the two spans are one implementation copied and then locally edited \u2014 213 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":"firebase/functions/github_connection/github.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0d93eeac31651edd1e26a2fadbd73a70be76977897ba0f306ace8547732263"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): firebase/functions/executor/github.ts:171 \u00B7 firebase/functions/executor/github.ts:539 \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":"firebase/functions/executor/github.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cec66ddfe2c9ad44f10da910e4e14834d914a5785c3288646c240e707a4173a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): apps/landing_page/components/releases.tsx:252 \u00B7 apps/landing_page/components/site.tsx:304 \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":"apps/landing_page/components/releases.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9399cf65cc016bf1d57d4cfeca6b7737c689a1d617fa7aa007353ededef89ff3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): firebase/functions/executor/store.ts:63 \u00B7 firebase/functions/queued_checks.ts:24 \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":"firebase/functions/executor/store.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"88139abf1414b5179780676733b6ef8fb1e017a9a9bf26d78a537f8857bf6513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): apps/landing_page/components/site.tsx:539 \u00B7 apps/landing_page/components/site.tsx:569 \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":"apps/landing_page/components/site.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9dab583bbbcb608a4a36cc8806788e8bea3ec6787dc1c43f7ce2c42aa271bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): apps/landing_page/components/build-job-card-demo.tsx:290 \u00B7 apps/landing_page/components/build-job-card-demo.tsx:308 \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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a2daeef3772d0c43a6040de4b9e12c05a23c41e11180a8e9c98e5750521f93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): apps/landing_page/components/site.tsx:186 \u00B7 apps/landing_page/components/site.tsx:211 \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":"apps/landing_page/components/site.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd15bbc4bc8d0c06ab888c52c57e90b6a082fabfb8fb9fe3a134f95287d4a51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): firebase/functions/secret_functions.ts:24 \u00B7 firebase/functions/team_functions.ts:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/secret_functions.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d599a63862d90903ee65057e6655bc9eaa5812f42ba7a160a833bd667485c19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): firebase/functions/executor/logs.ts:59 \u00B7 firebase/functions/executor/logs.ts: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":"firebase/functions/executor/logs.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fbac51c61218099aada2fb25d17e2e7a9221a6e2bfe8d9f45216695e26359b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): apps/landing_page/app/(en)/layout.tsx:11 \u00B7 apps/landing_page/app/(ja)/layout.tsx:11 \u00B7 apps/landing_page/app/(redirect)/layout.tsx:11 \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":"apps/landing_page/app/(en)/layout.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"320d274b299b25fcba1ce5120b08548fd901006e1e0cab6d6c0c45f51e020954"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): firebase/functions/build_dispatch_functions.ts:61 \u00B7 firebase/functions/skipped_check_functions.ts:48 \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":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dec276e7b63b70405258783f48ac5e01a76aa3f43e93cc62f8004a64a0dea4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): firebase/functions/executor/store.ts:85 \u00B7 firebase/functions/executor/store.ts:110 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 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":"firebase/functions/executor/store.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bda2e8afae47a1a3f10c5d4260ba23efe10f157e1166b2d0dd9e1fbd6c6604e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): firebase/functions/executor/github.ts:424 \u00B7 firebase/functions/executor/github.ts:498 \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":"firebase/functions/executor/github.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0348b36502ca01be4c389c92a21f5f9dfa4866b375be445a780e0bc2d0ef47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): apps/landing_page/components/build-job-card-demo.tsx:144 \u00B7 apps/landing_page/components/build-job-card-demo.tsx:152 \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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2df6f1dc2d566d62235e658eba7a1978233fc22de5fc5291d39cad5759446b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): firebase/functions/executor/orchard.ts:161 \u00B7 firebase/functions/orchard_capacity.ts:50 \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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"875f4f113e3589b08b9841b3936b2b104d077c261c3ea135b1557c5fb3676089"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): firebase/functions/billing_functions.ts:51 \u00B7 firebase/functions/github_connection_functions.ts: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":"firebase/functions/billing_functions.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf16d21744fbf3bac66c96be04f744a54ca259cb87804d5b79faf067f33c951"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): firebase/functions/executor/billing.ts:156 \u00B7 firebase/functions/executor/billing.ts:183 \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":"firebase/functions/executor/billing.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c936cf42676efb30e68bee3b0dbbb9c1d5f83bafa322b83a7de58f97890577a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): firebase/functions/github_connection/github.ts:28 \u00B7 firebase/functions/orchard_capacity.ts:20 \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":"firebase/functions/github_connection/github.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca86f0248e06da145e085f882518e937976bd059412ac1852c33143e9828e5bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): firebase/functions/executor/billing.ts:124 \u00B7 firebase/functions/executor/billing.ts:155 \u00B7 firebase/functions/executor/billing.ts:182 \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":"firebase/functions/executor/billing.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"58aaec56e5e03399a8ea18854a4d7608c51c4891609ed4fe8489acfef1ace379"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): firebase/functions/github_connection/service.ts:63 \u00B7 firebase/functions/secrets/service.ts:46 \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":"firebase/functions/github_connection/service.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef133743d0fccc65353003d8f6824c3bfd6d79d9007686cf38f594866269ccde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): infra/deploy/prepare-core.mjs:5 \u00B7 infra/deploy/prepare.mjs:6 \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":"infra/deploy/prepare-core.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69dd9f5ff4c338e287aec86618bae528d5812e739b6e9145f7d5888c0b1f08f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): firebase/functions/billing/service.ts:109 \u00B7 firebase/functions/executor/billing.ts:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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":"firebase/functions/billing/service.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b5e4d6ffd43779ea2c314207ea58526a3b4cafe6a86728688f8dbb6becf3e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): firebase/functions/executor/github.ts:427 \u00B7 firebase/functions/executor/github.ts:501 \u00B7 firebase/functions/executor/pull_request_qr.ts:308 \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":"firebase/functions/executor/github.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d47c85de5beb5a89f296ed033c182a88b3bec89a8287984d6605fe6382342c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 40, cognitive 46): execute has cyclomatic complexity 40 and cognitive complexity 46; 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":"firebase/functions/secrets/service.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c286a24de6c94b573a4d9ed1a941791b910b0dd5a2c37e5d3649c8a1bb7503"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkWorkerMemory (cyclomatic 34, cognitive 28): checkWorkerMemory has cyclomatic complexity 34 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3a91f5ec0698cac00ac9e11582ac6a58c73fc1116fbb89b31e3ac229bf86fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function candidates (cyclomatic 33, cognitive 59): candidates has cyclomatic complexity 33 and cognitive complexity 59; 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":"firebase/functions/github_connection/github.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f725e1f07549e3ff46c740265d39acafa80454ceef626962985bb27f6433bf9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sync (cyclomatic 31, cognitive 29): sync has cyclomatic complexity 31 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"firebase/functions/queued_checks.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c65c471f8b3fa091b463eb178ab23b9b6af69b254430f688aecb6efc522bc10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasOrchardCapacity (cyclomatic 30, cognitive 38): hasOrchardCapacity has cyclomatic complexity 30 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/orchard_capacity.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6b60235e56dc8b0b79ecf503142651186dfc18bb49f4b67b92b69f5c4d27bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 25): (anonymous) has cyclomatic complexity 30 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"firebase/functions/executor/github.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c5ff4748e6eb73a98c1cb4b2d94a2df5c81592b9375543f73d401cbbca5fd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 36): (anonymous) has cyclomatic complexity 29 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca446b712a089dd5f7174ed290657769b0abd3468932ce8f2c7f1da7e9c4f36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeBuild (cyclomatic 29, cognitive 32): executeBuild has cyclomatic complexity 29 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/execute.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd69a469d46c1d7740511c651e0534f1e37eab0aa1c953184f7260394a70309"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 27, cognitive 23): execute has cyclomatic complexity 27 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"firebase/functions/github_connection/service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e397248d3214a4f080521c3fc728fc359365040590ec3d7ef631e50bf4a65108"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCheckout (cyclomatic 24, cognitive 28): resolveCheckout has cyclomatic complexity 24 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/github.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1546317cb5e937f7ef74c42052e5b8e7fa2f6fc784418a9acc08eb9004d4a724"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repositories (cyclomatic 24, cognitive 27): repositories has cyclomatic complexity 24 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/github_connection/github.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bee308256fc3f088f172e879406d680cb5264488158c070953a2f32fc220543"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receiveStripeWebhook (cyclomatic 24, cognitive 20): receiveStripeWebhook has cyclomatic complexity 24 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/webhook.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d20bfba457502ba0cd039cff416b037b7b0a714156f246b1cb8186b494ed289"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileCardSession (cyclomatic 24, cognitive 18): reconcileCardSession has cyclomatic complexity 24 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"firebase/functions/billing/card_setup.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72e5b61623c58400cc61cdb19aee6859a344f6016109724d1b5071de6d688cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 23, cognitive 31): request has cyclomatic complexity 23 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/test/pull_request_qr.test.mjs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cde8bbc43d11986551073e7fb4983209b8d4c837f4741488394e0ab95f34f09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 16): (anonymous) has cyclomatic complexity 23 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3952483cf7d80c20ec03cd63e1dea2ebf93aec641a63e42e591b965bee3ec61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 36): (anonymous) has cyclomatic complexity 22 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d689951adbf6c55e7a545ca82b44eea73b01f98e533700152b4376a29cdffe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 22, cognitive 32): execute has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/teams/service.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc110b664458b13ac74d77f1e84f7b16768385692857cffa249a75fa613cbcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skippedCheck (cyclomatic 22, cognitive 23): skippedCheck has cyclomatic complexity 22 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/github.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b32e6c8480d3fcb7e83bdc1a9bca2599d6613c888a6cf8fb38f9aa0ab17b07c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function billingConfig (cyclomatic 22, cognitive 17): billingConfig has cyclomatic complexity 22 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/config.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1385262ec6fd97a2058e27898c00b2931aa29d85f4c065b29cde3002f16507"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observePurchase (cyclomatic 21, cognitive 9): observePurchase has cyclomatic complexity 21 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/purchase.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece4f60b92d745ebbc9455a8e2fba1f78e979d3a1adbcc63d46d560d4c7f8caf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 31): (anonymous) has cyclomatic complexity 20 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f379ef0cf12859779e8ff99ec375ee3eb52f678dd695476ab0c0e677766fa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 20, cognitive 20): execute has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/service.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"58494552679280371986779f4ca24c19890b6ec961093ebb2f48998cba0a760c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receiveGitHubWebhook (cyclomatic 19, cognitive 20): receiveGitHubWebhook has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/github_webhook.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b163ce8d21c27025b519209e1db305f3d4a5fc46b89f2dbb8546fe4463299f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupExecution (cyclomatic 19, cognitive 16): cleanupExecution has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/execute.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5404d15541bbf44c6d59ed88fc5a1bc476cda933a3c44ea6940b7378e58e5918"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configure (cyclomatic 19, cognitive 12): configure has cyclomatic complexity 19 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/store.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c5b41554e1d1cca6d37c64f708fa0c2d9dee0bebdbc234f769461ebe01d661"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function close (cyclomatic 18, cognitive 30): close has cyclomatic complexity 18 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/billing.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b989b58908c276c8ac76f00c8ba51c64853a13da7eb50ca8f50e8d17349cede9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPullRequestQrCodes (cyclomatic 18, cognitive 27): readPullRequestQrCodes has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"962c5b072e3cb59032bcbade3322cb681112da8f00240da337cdb3c1275742f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 20): (anonymous) has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/dataconnect/test/build_job_planning.test.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d567e0dab67b6fc2f02906a45041912ec177c8c37fd34c700e52ae24ef5dc9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callback (cyclomatic 18, cognitive 18): callback has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/github_connection/service.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12a057b7f957a3a1423d15de07c4fc040db34fe61cb9f31b09dc7d0faf615ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtime (cyclomatic 18, cognitive 16): runtime has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/runtime.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3673963926f0ba81b657b5926173a873c5a58ddaead42429509eb49dfd7bbc19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishPullRequestQrCodes (cyclomatic 17, cognitive 23): publishPullRequestQrCodes has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4bfa4685171102443db719e880a9713b9ce7d39eefbc44e2a698348a505868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function status (cyclomatic 17, cognitive 21): status has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/service.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e81221002958671674573927643517139a8b8b261772a3aae344db21e2e01b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcile (cyclomatic 16, cognitive 26): reconcile has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/service.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"39479c3491d3c858d8d5b5c05c61aaca4b2c164170f40083f2288e6b59175320"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 21): (anonymous) has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c5a8626b6c8be7a4cedf151723c442175995a683b61ce8f87eef2ff80e7325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatedQrMetadata (cyclomatic 16, cognitive 15): validatedQrMetadata has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2edfe0fdd91c2cc954112804528e99ffcf1b2967c5da489856a395709882ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cardSetupStatus (cyclomatic 16, cognitive 14): cardSetupStatus has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/card_setup.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ad978a400a9ccec3a5958d875e3fa9023fa45ab6f6bcf6d473bd627105843e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admit (cyclomatic 15, cognitive 23): admit has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/billing.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"16328c9c6f0184a045e631992f623f594adfeb05753318450e068fb6843a2ff9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainPaidPeriod (cyclomatic 15, cognitive 15): retainPaidPeriod has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/service.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7a570d928562863b4ccbfa3d632625469b279c67bfe39158abe550fc75ce9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteTeam (cyclomatic 14, cognitive 27): deleteTeam has cyclomatic complexity 14 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/service.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c071602373a8f5c8f1f0bdec4b629f97d95eea08c275704ee2ec509473e39e36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchBuildJob (cyclomatic 14, cognitive 25): dispatchBuildJob has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_dispatch.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6407de08de8e860d97af705949a4e7279293857e488e904ea8c1adba6d1c09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing_functions.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcf0669d664edd9a8122775d93f03eedef9fb53a7be925b9f3b0eabda4abfd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildQueueFailureReason (cyclomatic 14, cognitive 16): buildQueueFailureReason has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_queue_error.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0dc1c56fad8b5ba6b3b4da2f8c32741319c659ac626c4f8b56ec79b50f7012"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicationRun (cyclomatic 14, cognitive 12): publicationRun has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/queued_checks.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de3086f53d57c630693c4716cb2da898133b97f49eb81f012a7187ec64b4a4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripeRedirect (cyclomatic 14, cognitive 10): stripeRedirect has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/stripe.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"987cfe9d87ad96e5bab749c7ef4f7727db74e771305d8dd904d2dce4e72af3d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_dispatch_functions.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f761938350d8cccecc3d1d77b683e690aa64519eb530783c6f2efee4da757bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateJob (cyclomatic 14, cognitive 10): validateJob has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/model.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7351b6e6b82ce63aec4f96e21a6a009b993afa64520c33126c3d250d9d5724f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 13, cognitive 15): fetch has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/test/build_executor.test.mjs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"8907cd8fb494259d517a01db7f00d771a6cd217dc5fbfe7a97d2dd38e20872aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/dataconnect/test/helpers/card_setup.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25a19175d13129b55dad27affec62ac6ff1a35e4d84ad06883ae637d05ce420"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/orchard.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d08cc04b6c57791edfe0e0fdcf01a0e4ecf55daa61e0ed0922957b42f1cfe60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentMonthlyUsage (cyclomatic 13, cognitive 9): currentMonthlyUsage has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/store.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dbe740b3716dd001455a04e54bb262d050f7ef7d4b25cfefefede7a0e7fc40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function period (cyclomatic 12, cognitive 15): period has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/billing.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f7019585219cc5e9f12e20cf6c8f45b95dcf01530aa8395c2603238950c051"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 12, cognitive 13): fetch has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/test/skipped_checks.test.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1355584aa88ae7ad86df07c6164ddd5a2cfaeb581353fb5176dacc0c93044a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workflowScript (cyclomatic 12, cognitive 12): workflowScript has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/model.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4849d1aa152ade0855e9120ce03589623de7006893363f7de7fdfdcbd928995"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invokeProcessWebhookTask (cyclomatic 12, cognitive 11): invokeProcessWebhookTask has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_job_planning.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbc59584ff671d1d6158f5f73bc2a50a53e78bd5cfbbb2443319970244d538c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compatible (cyclomatic 12, cognitive 9): compatible has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/service.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ed0d9e397caa7f19d3a85d31c0bad4e49aa8aff4a52909fdd98f2874fac35b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startCardSetup (cyclomatic 11, cognitive 19): startCardSetup has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/billing/card_setup.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"321c2c8e1eca76ee7f363e2918247b86139f429eaa3b610d6dfb94b83b7c467c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveImages (cyclomatic 11, cognitive 19): saveImages has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c5c8570cb0dc32c1d843e3d4db508e14e2eb54865e2fe942e38b844d650e31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 18): (anonymous) has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3d42bbdd202cbf2e70bea511fcbfa3cc5d8e606a5cc7e92ac8134186379851"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/test/vitest/pull_request_checkout.test.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d64e063b02c4a62beebde57b446ae149786f5bff9c35520ced381a77bc4e4ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestedWebhookTaskId (cyclomatic 11, cognitive 10): requestedWebhookTaskId has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/build_job_planning.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea328cb1addf7fcbb845edd7e4efe3dda5ce01fca03067ff36f6c4b8bb312a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 9): constructor has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/orchard.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18fb4c4cbe859d458d5f719fdb1a9300920da024c6aea7d752e9f0f9024a825"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 9): constructor has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/orchard_capacity.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2439f737fff1c3dc55e8837cf51c0757c31213d2f63698046eda536966349f"}},{"ruleId":"R3","level":"warning","message":{"text":"apps/landing_page/components/site.tsx: 999 lines of code: apps/landing_page/components/site.tsx has 999 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":"apps/landing_page/components/site.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aac00498190ba1790af55787204f9aa8d1b0a80d40f88abee254f076e06648d"}},{"ruleId":"R3","level":"warning","message":{"text":"firebase/functions/executor/github.ts: 569 lines of code: firebase/functions/executor/github.ts has 569 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":"firebase/functions/executor/github.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f31305a4b38bd0f51707f90db377e4f19c75ec20a44ec225b483bc9ab1d806"}},{"ruleId":"R3","level":"warning","message":{"text":"firebase/functions/executor/pull_request_qr.ts: 413 lines of code: firebase/functions/executor/pull_request_qr.ts has 413 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":"firebase/functions/executor/pull_request_qr.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7608d70b817643ee41ade99a69d3c924912dc64483c6ccb1301962c0133a41d"}},{"ruleId":"R3","level":"warning","message":{"text":"firebase/generated/billing-admin/index.cjs.js: 408 lines of code: firebase/generated/billing-admin/index.cjs.js has 408 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":"firebase/generated/billing-admin/index.cjs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99363003232919e2a8cfc3783daf542a8411f23f18502e804b0e99a2e35087c4"}},{"ruleId":"R3","level":"warning","message":{"text":"firebase/generated/dispatch-admin/index.cjs.js: 403 lines of code: firebase/generated/dispatch-admin/index.cjs.js has 403 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":"firebase/generated/dispatch-admin/index.cjs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea07568fe9bc08a5caffff8cdda0f7e1c5058fe284b14552f349070efac1eb1"}},{"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":"apps/landing_page/components/site.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"169c911a5b2d372eea0bc6ec6a3170249a834bc49afd286b4973ff03170a365a"}},{"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":"apps/landing_page/components/build-job-card-demo.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"978543978f594f92e8f2985dd8365de4729b3e2fa14bcae21e3878411e725e31"}},{"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":"apps/landing_page/components/releases.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca059ac559f841d45ccf2c7dd9b092673971fae9de7f3ef5ebb6f02287ff91e8"}},{"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":"apps/landing_page/lib/releases.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e30907be0902593cb6241cb51c1bc793646373ad3dca65d7e8e8c22f5fc7fd9"}},{"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":"firebase/functions/executor/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e75f9c18ee2992d65767d06f1007101c2d3593da5aecc3f6750eb05f041c8ce"}},{"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":"infra/deploy/prepare.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d207bfe8faccf734e7e18ec99d42b9e1270f0d43f3eab58c15672efa03b792"}},{"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":"firebase/functions/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fe0444063493399ba36dc7c62ac4b5df02f0a00082c6af37d054220f19c15e"}},{"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":"firebase/functions/skipped_check_functions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b386a78609c7d50c4ad1143196f71ed0d5518dbb1f82678783ca943897f49ea"}},{"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":"firebase/functions/secret_functions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f213449aacb2ad43aa8a0436f99fb2cba9fb5029b221593c95f291b76597358"}},{"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":"apps/landing_page/lib/seo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9d73bdc12731a6a5cc6060453f806900ec448404db076858796513f2e74c99"}},{"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":"infra/orchard/check-network.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ae8b5ea766e5dd5e8acad20354ec91aa5f17bf89777d11fedccab50de044b7"}},{"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":"firebase/functions/executor/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"016bde91cab301e0bea087062dccb505916536387286b613499c17f991da3c1c"}},{"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":"apps/landing_page/app/(ja)/ja/releases/[slug]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b29ca0a5d320dcf2432135de77ae848ef4e09f0d96618edec1473ca157a982"}},{"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":"apps/landing_page/app/(redirect)/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6b1b50b24fd5cd48e1941975153c6fc70c00f5add4489e2f9e553c28a53b23"}},{"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":"infra/deploy/prepare-core.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4de226737bf0ca5452e3a35f25c7e920e118448f455595898b62b1c03eafb2"}},{"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":"firebase/functions/secrets/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a43a3ea35eac8c340c54f48edd50ba3f7a0c9cf13bae38e39fb8a86c0914e4c"}},{"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":"firebase/functions/build_recovery_functions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ac1e779fedc2d6eae1f947e7197a99101aa188a7a10b5db0bbd9490831f6c4"}},{"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":"apps/dashboard/web/flutter_bootstrap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b439b9246c903689f0e16346fe416abb6a0abc3ac7eed7e01cf323c0db148b16"}},{"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":"firebase/functions/log_retention_functions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0291ec45900bce46145e6b4491b0e3a9968a59a765827b60a0545850969037d4"}},{"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":"apps/landing_page/app/(en)/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81e2f1706e0d506e64a37303a3dcf4bbbff7cd3804b9ead3554c2ce1baf457f"}},{"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":"apps/landing_page/app/(ja)/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1745183886c7030a34db53709879eb7f97b9c69297da5c445f82e31910a5e1"}},{"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":"apps/landing_page/app/(redirect)/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2aa0e4facaa35897a7029f496fe0f66ae55a204518eb23d0af89414802beb2"}},{"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":"apps/landing_page/app/(en)/en/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4588784e4effa74f65a28738a214d0e89f6a980a9d759309a8915d374971cfd9"}},{"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":"apps/landing_page/app/(ja)/ja/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f31dd6b45ba6da6a811bce2cfa8531b988aa280a88cb862dc6c83ac98d14f05"}},{"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":"apps/landing_page/app/(ja)/ja/releases/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75da8f2075f6ba27e6ede360d2a1efb88b0e6fe58a309c2038b3cb82fd9da82a"}},{"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":"apps/landing_page/app/(ja)/studio/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e571bb03db11bf9cffb576380b83c8ecd4730a626c97c6257ecfb2981aaee7bf"}},{"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":"apps/landing_page/app/(ja)/studio/about/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaccf11da29ddf4deeebbf40919ba90a2049d76496ec916907b96527e58ce9c9"}},{"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":"firebase/functions/log_retention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b51f0f5450f99fedbca093ad791337fb98a44722a2f310721aac26da176e03"}},{"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":"firebase/healthcheck.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2669e67ff0c6c0a708e014d83543356030c1f526fc078f80e0026e8758e900d1"}},{"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":"firebase/functions/core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8bf82cd4dc45785e60a58f661760555d071ca5d7a63a33638088ad11b4cf1b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (48 application, 13 tooling, 36 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":"infra/orchard/check-network.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cba3c81f5c16c889671e695f0ffdd2dcbbcb003e94ef1c745efa786ac7bb1a2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (48 application, 13 tooling, 36 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":"firebase/functions/core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d03073aafe7f35e6c0d1f2c5eff9a9d2921aa1abac1586f08e120c0b84143f"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060firebase.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/firebase.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe5fffa1fd3886d8399806be4200a63b976bfb692aae95dc9daf06c8378a6dd"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: firebase/generated/billing-admin/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/generated/billing-admin/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eba7ce41b43b99a748766cb657e4572594de863127d44033ae5ca6c9982907d"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: firebase/generated/builds-admin/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/generated/builds-admin/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded9c448a821abdcdced04983480a35779a9fc599ad923da8c47f8a1f2f41109"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: firebase/generated/dispatch-admin/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/generated/dispatch-admin/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"511945da17db7487de4566bbba882ce820af4cb324e8cdb9017737f834976417"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: firebase/generated/github-admin/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/generated/github-admin/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5aa4cb23f6606636c4c00a988818d71f6c952c43469146a9dc1716e14b45367"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: firebase/generated/logs-admin/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/generated/logs-admin/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"800cfd8c5159776445f8d33df58825851af65dcf0509c42ec129f3746a73fce2"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: firebase/generated/secrets-admin/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/generated/secrets-admin/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f74e89a560805d04e62c7a1c086604849274d5b5560453e2f3d1e3381c0f7a"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: firebase/generated/teams-admin/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/generated/teams-admin/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b009ecbb9e4e5c8997fdf83e05befb29a625ef6468df487e87e30d6dc1ee47bf"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: firebase/generated/webhooks-admin/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/generated/webhooks-admin/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2762792b669b770d446c4e4a9b8a4cd48bf6347b35bace7fe2c3c96cd68dd522"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!context.mounted || result == null || result.files.isEmpty\u0060 appears character-identically in 2 files \u2014 apps/dashboard/lib/auth/auth_page.dart, apps/dashboard/lib/auth/self_hosted_setup_form.dart. 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":"apps/dashboard/lib/auth/auth_page.dart"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd4aa399d3cb63a8960dfa5a71f10b2260349d2f85250781709e2cc31b994eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!outputTooLarge \u0026\u0026 bytes.length \u002B chunk.length \u003C= 16 * 1024\u0060 appears character-identically in 2 files \u2014 apps/openci_cli/lib/src/asc/check_asc_authentication.dart, apps/openci_cli/lib/src/asc/create_asc_api_key.dart. 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":"apps/openci_cli/lib/src/asc/check_asc_authentication.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3d6df09484ae5f748325f7fa3cae6cef8ba3eb57906db02901846505bf5532"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!terminal.hasTerminal || !prompt.hasTerminal\u0060 appears character-identically in 2 files \u2014 apps/openci_cli/lib/src/commands/setup/confirm_asc_key_creation.dart, apps/openci_cli/lib/src/commands/setup/read_apple_id.dart. 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":"apps/openci_cli/lib/src/commands/setup/confirm_asc_key_creation.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a603e4a9531ae7f31746f256a77176419c254bc9e2737afaf08a6d732d5c1f14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060BuildJobStatus.FAILURE || BuildJobStatus.CANCELLED || BuildJobStatus.TIMED_OUT\u0060 appears character-identically in 3 files \u2014 apps/dashboard/lib/cicd_log/widgets/build_job_status_to_chip_status.dart, apps/dashboard/lib/cicd_log/widgets/cicd_job_status.dart, apps/dashboard/lib/cicd_log/widgets/workflow_overview.dart. 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":"apps/dashboard/lib/cicd_log/widgets/build_job_status_to_chip_status.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"754e85fa6c6814988ebaefce4a123fe936a384d8c45bb05e20259b3eef167dba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aabPath.trim().isEmpty || !aabPath.endsWith(\u0027.aab\u0027)\u0060 appears character-identically in 2 files \u2014 packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_aab_to_firebase_app_distribution.dart, packages/openci_workflow/lib/src/flutter/play_console/deploy_aab_to_play_console.dart. 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":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_aab_to_firebase_app_distribution.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc942aa42960df252a4d5a704bac82a658f679bd47586974e3411937766647c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error is FormatException || error is TypeError\u0060 appears character-identically in 3 files \u2014 apps/openci_cli/lib/src/commands/list/list_teams_command.dart, apps/openci_cli/lib/src/commands/status_command.dart, apps/openci_cli/lib/src/commands/switch/switch_team_command.dart. 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":"apps/openci_cli/lib/src/commands/list/list_teams_command.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c040be641e1171811f02010108f6e17a5b5bc770f39822f0f8ba547e77796eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.statusCode == HttpStatus.unauthorized || error.statusCode == HttpStatus.forbidden\u0060 appears character-identically in 7 files \u2014 apps/openci_cli/lib/src/commands/list/list_secrets_command.dart, apps/openci_cli/lib/src/commands/list/list_teams_command.dart, apps/openci_cli/lib/src/commands/setup/asc_key_registration.dart, apps/openci_cli/lib/src/commands/setup/ensure_ios_certificate_key.dart. 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":"apps/openci_cli/lib/src/commands/list/list_secrets_command.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bc184b38f69eec8f185063c83a31c92c68855cf91fd957ebb726559822c773"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ipaPath.trim().isEmpty || !ipaPath.endsWith(\u0027.ipa\u0027)\u0060 appears character-identically in 2 files \u2014 packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_ipa_to_firebase_app_distribution.dart, packages/openci_workflow/lib/src/flutter/testflight/deploy_ipa_to_testflight.dart. 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":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_ipa_to_firebase_app_distribution.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fcea7b71a8083f76c43847bede051efd7c6bdd54bc1358d534cdd6f7bbeebc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060logId == otherTyped.logId \u0026\u0026 sequence == otherTyped.sequence \u0026\u0026 stepId == otherTyped.stepId \u0026\u0026 source == otherTyped.source \u0026\u0026 stream == othe\u2026\u0060 appears character-identically in 2 files \u2014 apps/dashboard/lib/generated/logs/get_build_log_write_state.dart, apps/dashboard/lib/generated/logs/get_build_logs.dart. 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":"apps/dashboard/lib/generated/logs/get_build_log_write_state.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e0d767c9bfcbfb2b88f3395fbe178b4928076a35169089e4f39a18c26b3b57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profile != null \u0026\u0026 profile.authType == \u0027firebase\u0027 \u0026\u0026 profile.token.trim().isNotEmpty \u0026\u0026 server != null \u0026\u0026 (server.scheme == \u0027http\u0027 || server\u2026\u0060 appears character-identically in 2 files \u2014 apps/openci_cli/lib/src/commands/list/list_teams_command.dart, apps/openci_cli/lib/src/commands/switch/switch_team_command.dart. 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":"apps/openci_cli/lib/src/commands/list/list_teams_command.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5a5978af9641dd59ee0efe6e8b295c72c7574a1e8def0079047f138760b40d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profile != null \u0026\u0026 profile.token.trim().isNotEmpty \u0026\u0026 profile.teamId.trim().isNotEmpty \u0026\u0026 server != null \u0026\u0026 (server.scheme == \u0027http\u0027 || serv\u2026\u0060 appears character-identically in 3 files \u2014 apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart, apps/openci_cli/lib/src/commands/list/list_secrets_command.dart, apps/openci_cli/lib/src/commands/register/secret_registration.dart. 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":"apps/openci_cli/lib/src/commands/delete/delete_secret_command.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6395f10b72fc31ad427ee2ebf46f3840eac25b25564b54e2f10ff099d8a92f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ref.mounted \u0026\u0026 auth.currentUser?.uid == user.uid\u0060 appears character-identically in 2 files \u2014 apps/dashboard/lib/billing/billing_api.dart, apps/dashboard/lib/team/team_members_api.dart. 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":"apps/dashboard/lib/billing/billing_api.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2f3889e4874270c73cb947f9c66287816f0051b6d8723e29f99d6edeba2d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060releaseName is! String || !RegExp( \u0027^${RegExp.escape(appName)}/releases/[a-zA-Z0-9_-]\u002B\\$\u0027, ).hasMatch(releaseName)\u0060 appears character-identically in 3 files \u2014 packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_aab_to_firebase_app_distribution.dart, packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_apk_to_firebase_app_distribution.dart, packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart. 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":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_aab_to_firebase_app_distribution.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"57913e411e14fc652bbb9da1c63386b5b21393128418ca0fc634639c0d62221e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode \u003C 200 || response.statusCode \u003E= 300\u0060 appears character-identically in 7 files \u2014 apps/openci_cli/lib/src/functions/callable_api.dart, openci/lib/macos_release_publisher.dart, packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_aab_to_firebase_app_distribution.dart, packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_apk_to_firebase_app_distribution.dart. 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":"apps/openci_cli/lib/src/functions/callable_api.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d916908bc90bcb2b5a895e051282f44b4d35911ea0e21f5ac879aeff8c2bac0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stepId == otherTyped.stepId \u0026\u0026 name == otherTyped.name \u0026\u0026 status == otherTyped.status \u0026\u0026 stepOrder == otherTyped.stepOrder \u0026\u0026 durationMs == \u2026\u0060 appears character-identically in 2 files \u2014 apps/dashboard/lib/generated/logs/get_build_log_state.dart, apps/dashboard/lib/generated/logs/get_build_step_write_state.dart. 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":"apps/dashboard/lib/generated/logs/get_build_log_state.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fb333b476067e5947030c0cfdb0ab179ffa2834178cc5b3d85cd74a6ac995a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060teamId == otherTyped.teamId \u0026\u0026 id == otherTyped.id \u0026\u0026 status == otherTyped.status \u0026\u0026 owner == otherTyped.owner \u0026\u0026 repo == otherTyped.repo \u0026\u0026\u2026\u0060 appears character-identically in 2 files \u2014 apps/dashboard/lib/generated/builds/get_build_job.dart, apps/dashboard/lib/generated/builds/get_build_jobs.dart. 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":"apps/dashboard/lib/generated/builds/get_build_job.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"70634a16ce04cf097b9555ea76bbfadc7e5db607dfef8f7ee2252059d58e837d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060teamId == otherTyped.teamId \u0026\u0026 name == otherTyped.name\u0060 appears character-identically in 3 files \u2014 apps/dashboard/lib/generated/secrets/commit_managed_secret.dart, apps/dashboard/lib/generated/secrets/rename_managed_secret.dart, apps/dashboard/lib/generated/teams/rename_team.dart. 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":"apps/dashboard/lib/generated/secrets/commit_managed_secret.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6204cf6c3595d364ff046adafd13a2c4e34a0caf52b73f6082044a0ba69f49b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri == null || uri.scheme != \u0027https\u0027 || uri.authority != \u0027appdistribution.firebase.google.com\u0027 || uri.path != path\u0060 appears character-identically in 2 files \u2014 packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_apk_to_firebase_app_distribution.dart, packages/openci_workflow/lib/src/flutter/firebase_app_distribution/firebase_app_distribution_client.dart. 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":"packages/openci_workflow/lib/src/flutter/firebase_app_distribution/deploy_apk_to_firebase_app_distribution.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aaa00deb8907c0545246450b79e85bf839522d585eb959e231cc8bf1fee270"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!input || typeof input !== \u0022object\u0022 || Array.isArray(input)\u0060 appears character-identically in 3 files \u2014 firebase/functions/billing/service.ts, firebase/functions/secrets/service.ts, firebase/functions/teams/service.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":"firebase/functions/billing/service.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93d5333d4948b9761228751c2bc8c064cbfbb9c8d373bc74b8b6a036e7bc01a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!request.auth || request.auth.token.firebase?.sign_in_provider === \u0022anonymous\u0022\u0060 appears character-identically in 4 files \u2014 firebase/functions/billing_functions.ts, firebase/functions/github_connection_functions.ts, firebase/functions/secret_functions.ts, firebase/functions/team_functions.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":"firebase/functions/billing_functions.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0765f718e92c36d84e0c5bf57e99bb49325cd863c679787ebf69a2cae09b12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 4 files \u2014 firebase/functions/executor/orchard.ts, firebase/functions/github_connection/github.ts, firebase/functions/github_connection/service.ts, firebase/functions/orchard_capacity.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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb52d6b5621cbdc056a088bbf8fcbe79f64d0510260b601cb2e8ffa249a1f06a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022code\u0022 in failure \u0026\u0026 typeof failure.code === \u0022string\u0022 \u0026\u0026 codes.has(failure.code)\u0060 appears character-identically in 2 files \u2014 firebase/functions/build_dispatch.ts, firebase/functions/build_queue_error.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":"firebase/functions/build_dispatch.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf69ded347d9cbf340f83ddbdfe94a5a349c2e35295434bdf946e4dcb4b494"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!local \u0026\u0026 this.base.protocol !== \u0022https:\u0022) || this.base.username || this.base.password || this.base.search || this.base.hash || !options.ac\u2026\u0060 appears character-identically in 2 files \u2014 firebase/functions/executor/orchard.ts, firebase/functions/orchard_capacity.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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"914d33faf21142fbfdc1959e13a1e6c1c8dddbb4b3924bba5c279cbbf328d999"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.allowLocalHttp \u0026\u0026 this.base.protocol === \u0022http:\u0022 \u0026\u0026 [\u0022localhost\u0022, \u0022127.0.0.1\u0022].includes(this.base.hostname)\u0060 appears character-identically in 2 files \u2014 firebase/functions/executor/orchard.ts, firebase/functions/orchard_capacity.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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6597c9e5479d99d0bad1345a36bb30cce9c241014bc4d57591c1c2288912b99e"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 8/10 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: postPullRequestQrCodes: \u0060postPullRequestQrCodes\u0060 holds an AbortSignal but calls \u0060client(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060client(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/github.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"723bdca679afcf427d7f025e7eeff5366c302a3fd0f992310a98e5794a784142"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: resolveCheckout: \u0060resolveCheckout\u0060 holds an AbortSignal but calls \u0060client(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060client(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/github.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4888cd000c4193fb833fbe161cb61ff7c7466503447acf520a52a5f8feb5ee"}},{"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":"firebase/functions/github_connection/vault.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7bd3b2bb094b21e1f0b43d34f6613f500111a0633d9e785576785c2343208e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/billing.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"811dda7626aa2b0a11f57f99cfaad195ff524a239a5446beaf932bf16a6824db"}},{"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":"firebase/functions/executor/billing.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb76efd71a7262adc7a0e879e62ff959926ee5cf67d5b21eb84dcaaba18a2173"}},{"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":"firebase/functions/executor/billing.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81ac85ed47c332aa436f8711337310838ab6d7bd66511eee0ecbcabdd05de45"}},{"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":"firebase/functions/executor/billing.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fa343d0ba05abed23b1225e61d0c9fdf30b7f5ea41271acb019d412ec533bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebase/functions/executor/billing.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed590774525b7093301cfdded073f01b12e8133db2b93d1c62c10b2dcb3f7430"}},{"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":"firebase/functions/executor/billing.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb6aa68ab169e3488c1ed15b9a47dec5f9e38885a1e82471fc660609bb949b8"}},{"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":"firebase/functions/executor/logs.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3155cdf6edd7be81192aa208610573d4eafadb65335b16a56c77ae32fe7be4b"}},{"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":"firebase/functions/executor/orchard.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b022db6d2b6dc127e2c7ff7314a8cb8c4954b73eafd6e35ff0ed26e5d2149df4"}},{"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":"firebase/functions/executor/store.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"807cf21ce483c449a5a7f29cb7e08c87371797232115b0a8cadf91e09c43f3b0"}},{"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":"firebase/functions/billing/card_setup.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae9bbf254819e583811a3322e358baf409b1d2da7a164bb9abaea768bfd1588"}},{"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":"firebase/functions/billing/service.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7887800ed64fb51d20eab0f4dad213afb4894111a375c4c61c01c7a852148e9f"}},{"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":"firebase/functions/billing/service.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8658283cb4f1ebfca7c768133ec72c39b3bff264d98ece90e608354f73157d3"}},{"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":"firebase/functions/billing/service.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"64714807c15b2bc8889e00adebdb2e506ef87918eed990aec46187247f10ba76"}},{"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":"firebase/functions/billing/service.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad37c373ee27d694faac0359f8b90f880c72516b28268359f5d96804a0053ba"}},{"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":"firebase/functions/billing/service.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ec58f2ee0e3264295d35a871d734ac9c80ea8f3ddba25a11643ad224ad8547"}},{"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":"firebase/functions/billing/store.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c3b0a8a8fb9a41114205c47d5bf2ae17a9f9ea1251c848da82b24172b41f5f"}},{"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":"firebase/dart_functions/lib/src/open_ci_parser.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8182996b7e454036c2d5e89d2917274650997a89660a2395fb437d3e4b3113"}},{"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":"apps/openci_cli/lib/src/extensions/file_extensions.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0661ce3fe60165877da5c9ac8659d838db0816ebe2429e91acd5e9eb027294"}}],"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-1188","guid":"90b5d93c-2e8f-7d58-b831-915e7ee4a150","name":"CWE-1188","shortDescription":{"text":"CWE-1188"},"helpUri":"https://cwe.mitre.org/data/definitions/1188.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"Use of Hard-coded Cryptographic Key","shortDescription":{"text":"Use of Hard-coded Cryptographic Key"},"helpUri":"https://cwe.mitre.org/data/definitions/321.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-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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-778","guid":"58944737-c935-8a57-9195-e7b7e640597e","name":"Insufficient Logging","shortDescription":{"text":"Insufficient Logging"},"helpUri":"https://cwe.mitre.org/data/definitions/778.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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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/"}]},{"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-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"}]}],"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":75,"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."]}]}