{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PipelineExpressionParser.parseTypedExpression (cyclomatic 222): PipelineExpressionParser.parseTypedExpression has cyclomatic complexity 222 (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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f6103e786168550a6c205a0966546a5a8a49be25223c6c67e68091408b6cf4"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineExpressionParser.parseTypedExpression (cyclomatic 222): PipelineExpressionParser.parseTypedExpression has cyclomatic complexity 222 (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/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffbebd1697d7f8b0cfd5c734fe1df075c81f564af98a47303fa7ca331f34811"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionParsers.parseExpression (cyclomatic 122): ExpressionParsers.parseExpression has cyclomatic complexity 122 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3393faa47a2e1b5eee49a29e6237559d2db727316027d34bdb5005e5a827eafd"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineExpressionParserWeb.toExpression (cyclomatic 120): PipelineExpressionParserWeb.toExpression has cyclomatic complexity 120 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e267b641de196eddd6b8564eb9d99406c0f6113a5fd0af4b5407a68fffe3ec1"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineParser.parseStages (cyclomatic 85): PipelineParser.parseStages has cyclomatic complexity 85 (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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"213f3f5b712f165f3d09d487061147981383f8110fb027feadab12ec7ede6a66"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineParser.parseStages (cyclomatic 85): PipelineParser.parseStages has cyclomatic complexity 85 (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/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40d82ef3da7ec25997ed065bc4b18033318340a07995b68d863d58f989e4922"}},{"ruleId":"D1","level":"warning","message":{"text":"_JsonQuery.where (cyclomatic 46): _JsonQuery.where has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/query.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"a350d989e196d10b6dcd89ad1d02f187d6a32de5842f0de5e648956c6b8d67ea"}},{"ruleId":"D1","level":"warning","message":{"text":"FlutterFirebaseFirestoreException.\u003Cinit\u003E (cyclomatic 45): FlutterFirebaseFirestoreException.\u003Cinit\u003E has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreException.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff08ddb1a757d32f341b537ebbd4efd603c8513d35ba45c2ca16052234718721"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseFirestoreReader.buildReadQuery (cyclomatic 38): FirebaseFirestoreReader.buildReadQuery has cyclomatic complexity 38 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cbc920be794a972a05999a3b34ee98d24f0d56611afefe49cfea05838bd6f6"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseFirestoreReader.buildReadQuery (cyclomatic 38): FirebaseFirestoreReader.buildReadQuery has cyclomatic complexity 38 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c963d53f40d222d1ed52f255d6f74355c440ba135bd6721ccdfa1f01de09c9fb"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineExpressionParserWeb.toBooleanExpression (cyclomatic 33): PipelineExpressionParserWeb.toBooleanExpression has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e89d8874dca2940d2a94855167b7e11184ba67fa718dc709a33c9805bbc952d"}},{"ruleId":"D1","level":"warning","message":{"text":"PigeonParser.buildQuery (cyclomatic 32): PigeonParser.buildQuery 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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddf1667421dde6ba1553a9070752e9a225a4f3266f827514cd90c14ce2a6f15"}},{"ruleId":"D1","level":"warning","message":{"text":"PigeonParser.buildQuery (cyclomatic 32): PigeonParser.buildQuery 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":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"05644c1a65cd30857226ce43d9763bb6d5c6f546ebfde0b7149d9d7548196e15"}},{"ruleId":"D1","level":"warning","message":{"text":"Pipeline.addFields (cyclomatic 30): Pipeline.addFields has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 5 other methods here (Pipeline.aggregate, Pipeline.distinct, Pipeline.removeFields, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d23936098900b9101e46c492a12ea4c01766365bf686df6a70d2a71acf76361"}},{"ruleId":"D1","level":"warning","message":{"text":"Pipeline.aggregate (cyclomatic 30): Pipeline.aggregate has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.distinct, Pipeline.removeFields, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa664d6db0f3a9952f32ccffbc0c09d577fd1aa2938b666f26a08ea045e24ed"}},{"ruleId":"D1","level":"warning","message":{"text":"Pipeline.distinct (cyclomatic 30): Pipeline.distinct has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.aggregate, Pipeline.removeFields, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b82f3c4edc538f36438ffc082715c94edfd0d9118b1dc0befd9d0edf24c6bc8"}},{"ruleId":"D1","level":"warning","message":{"text":"Pipeline.removeFields (cyclomatic 30): Pipeline.removeFields has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.aggregate, Pipeline.distinct, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a3f5e94d0c240cd40d382954a42ea6ed08fd5656eea5fa5eb1a3b8cca2ed40"}},{"ruleId":"D1","level":"warning","message":{"text":"Pipeline.select (cyclomatic 30): Pipeline.select has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.aggregate, Pipeline.distinct, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0dacfe155d37ff0a7d166b77cf2cb29b8902e62740cb7e2013f50e056e963f"}},{"ruleId":"D1","level":"warning","message":{"text":"Pipeline.sort (cyclomatic 30): Pipeline.sort has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.aggregate, Pipeline.distinct, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"568ba3a8fec19cdd0d17cd432b7e506b950fc034855faaad8f4c436f06655b25"}},{"ruleId":"D1","level":"warning","message":{"text":"Expression.switchOn (cyclomatic 30): Expression.switchOn has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 4 other methods here (Expression.xor, Expression.and, Expression.or, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9ed4db4d78d51693b5cde7ef4ff10f88d3431a8e6490b77a965f78e3b84d9a"}},{"ruleId":"D1","level":"warning","message":{"text":"Expression.xor (cyclomatic 30): Expression.xor has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 4 other methods here (Expression.switchOn, Expression.and, Expression.or, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c12dbc454125364477c626ffebf5192905a822261d7a5ec42d9b27c753b613"}},{"ruleId":"D1","level":"warning","message":{"text":"Expression.and (cyclomatic 30): Expression.and has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 4 other methods here (Expression.switchOn, Expression.xor, Expression.or, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a45e5636f628b69b858b1fa8b03071e21b56c9ee415bff4e5f5e4db89fa6027"}},{"ruleId":"D1","level":"warning","message":{"text":"Expression.or (cyclomatic 30): Expression.or has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 4 other methods here (Expression.switchOn, Expression.xor, Expression.and, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24c26d985ff36010ed6b3856058eee3fea994f61effb4d3bc271ba98816197c"}},{"ruleId":"D1","level":"warning","message":{"text":"Expression.nor (cyclomatic 30): Expression.nor has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 4 other methods here (Expression.switchOn, Expression.xor, Expression.and, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c559e69d3fe305d4d8a8a5cf6421c8b70a7f6e89f347ef039f43aab7fb276a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineExpressionParser.parseFilterTypedExpression (cyclomatic 30): PipelineExpressionParser.parseFilterTypedExpression has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"660caf187c64447f285912c38a9869f7da81ae25357ab72200f908d0948d6d1b"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineExpressionParser.parseFilterTypedExpression (cyclomatic 30): PipelineExpressionParser.parseFilterTypedExpression has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bcbe4e49a5f5704d3821f4178c047e43fa248ff7ba2e4a194871b0dc367762"}},{"ruleId":"D1","level":"warning","message":{"text":"Expression.coalesce (cyclomatic 29): Expression.coalesce has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a7b243f25c868a407cc059501fedac6f75fc3a6b02217f47f150bbe039f96b"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryGet (cyclomatic 28): FLTFirebaseDatabasePlugin.queryGet 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":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf085b07b9ff18dd3f507667db6f590242ad81cde7ffb0ee1c39757eb717395c"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryGet (cyclomatic 28): FLTFirebaseDatabasePlugin.queryGet 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":"packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea090476212fdd19f702fc451a5d2287d9aaa8a04cb478b576c60534a01515f"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryKeepSynced (cyclomatic 26): FLTFirebaseDatabasePlugin.queryKeepSynced 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":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d65f6c57168e573688ac2308832c1c18e135ea5e2c3374e962246cc59799829"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryKeepSynced (cyclomatic 26): FLTFirebaseDatabasePlugin.queryKeepSynced 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":"packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af3a78ea5f01330f1daed4a84a662c310024e549832ae56a370c50a1c7fd7f5"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsEventItem.asMap (cyclomatic 25): AnalyticsEventItem.asMap has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics_platform_interface/lib/src/analytics_event_item.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"73970c525aea4ca50a4a0599dbedd66f83e39e3bf76856515c51980c00caf16f"}},{"ruleId":"D1","level":"warning","message":{"text":"ElfBuildIdReader.readBuildIdFromBytes (cyclomatic 25): ElfBuildIdReader.readBuildIdFromBytes has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/android/src/main/kotlin/io/flutter/plugins/firebase/crashlytics/ElfBuildIdReader.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b9fbaa90bcc2e84c0f0e60e19bf177abfc9c3295a7e6ab2b439eef3adea455"}},{"ruleId":"D1","level":"warning","message":{"text":"PigeonParser.parseQuery (cyclomatic 25): PigeonParser.parseQuery has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PigeonParser.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"611b2da1b2194d368cdb4856900c5472497c47c44b161d59da60ae6c105d8182"}},{"ruleId":"D1","level":"warning","message":{"text":"FlutterFirebaseFirestoreMessageCodec.readFirestoreQuery (cyclomatic 25): FlutterFirebaseFirestoreMessageCodec.readFirestoreQuery has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: FlutterFirebaseFirestoreMessageCodec.readValueOfType (cyclomatic 27) 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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73453dbab0c0a4cadad68d109a5e98270c074db78886eb319b9097e3cd5a7f4"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryObserve (cyclomatic 25): FLTFirebaseDatabasePlugin.queryObserve has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbd68c7fabb1bbde0e73f077a18a50e377e347e211830e931e3e0f49e51c6f1"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryObserve (cyclomatic 25): FLTFirebaseDatabasePlugin.queryObserve has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc4b19f733f46de9151c206df786104532f7a0ab71527e78d08ccfa21a14de6"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreMessageCodec.writeValue (cyclomatic 24): FirestoreMessageCodec.writeValue 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":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/utils/firestore_message_codec.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6c4bad137a52352ba3f4e2e83bc7e1d6e64b2e20ef7e5b9add0011521c7a90"}},{"ruleId":"D1","level":"warning","message":{"text":"MethodChannelFirebase.initializeApp (cyclomatic 24): MethodChannelFirebase.initializeApp has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core_platform_interface/lib/src/method_channel/method_channel_firebase.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c213cd430aaaf74b2047b74a1b8c88e536cd1275a76033ed1f35c0f38f481c1"}},{"ruleId":"D1","level":"warning","message":{"text":"FlutterFirebaseMessagingPlugin.onMethodCall (cyclomatic 24): FlutterFirebaseMessagingPlugin.onMethodCall has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e768c1d9f64701dde61d744f180497f327eebc72d45562d299d9cf63fac7841"}},{"ruleId":"D1","level":"warning","message":{"text":"EncodeUtility.valueEncode (cyclomatic 23): EncodeUtility.valueEncode has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/utils/encode_utility.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3650dc4eabfd17bf3223d362da955e75a414ea36ec7ddd1c029156274ad05f"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineExpressionParserWeb._buildAggregateFunction (cyclomatic 22): PipelineExpressionParserWeb._buildAggregateFunction 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":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba19afeffb589091d1f899ed0080380a4bf32792ad9fabf25d4d1fd9c7a1d911"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionStreamHandler.onListen (cyclomatic 22): TransactionStreamHandler.onListen 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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/TransactionStreamHandler.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f83a93ed56b312b0346927f8133668f859686c201f31522c0b3a14558a0b5c5"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseFirestoreUtils.errorCodeAndMessage (cyclomatic 22): FirebaseFirestoreUtils.errorCodeAndMessage has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bb5a09f46ff4bc489e532555abb702490db8df43f9fbc93c777f38a11e5943"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseFirestoreUtils.errorCodeAndMessage (cyclomatic 22): FirebaseFirestoreUtils.errorCodeAndMessage has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1e1f30b1f9c527eea38537c60ff27e6ff1e4221ee48a3699ae29a32614560a"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseFirestoreWriter.writeValue (cyclomatic 20): FirebaseFirestoreWriter.writeValue 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"24612fbb7155d5592714edaf62944fad37c6b3026b6d626288e283f3827f19ba"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseFirestoreWriter.writeValue (cyclomatic 20): FirebaseFirestoreWriter.writeValue 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/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b898885fecb342a6c4f58c96d9278f8fa1189398041699a1d51c46b1dd7f427f"}},{"ruleId":"D1","level":"warning","message":{"text":"FlutterFirebaseMessagingUtils.remoteMessageNotificationToMap (cyclomatic 19): FlutterFirebaseMessagingUtils.remoteMessageNotificationToMap has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingUtils.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4eb991133357b26a748fb56d8af49a62df1d97fac145b4ed6d57ec43a6eb9b"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseFirestoreReader.filterFromJson (cyclomatic 19): FirebaseFirestoreReader.filterFromJson has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: FirebaseFirestoreReader.readValue (cyclomatic 26) 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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce27fbf06e75bec55e6640a9878ff32e22e1291cc9f32d85915170a54cbaa3d4"}},{"ruleId":"D1","level":"warning","message":{"text":"PigeonParser.filterFromJson (cyclomatic 19): PigeonParser.filterFromJson has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"320e6c522886ef4fb9043260f5a279a48e58df300e00571081547fbf0f61fe77"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseFirestoreReader.filterFromJson (cyclomatic 19): FirebaseFirestoreReader.filterFromJson has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: FirebaseFirestoreReader.readValue (cyclomatic 26) 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":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d16161cf50423b7c9a55f4b167743985798cbb62f6fb9e6e2da115a09e2bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"PigeonParser.filterFromJson (cyclomatic 19): PigeonParser.filterFromJson has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"55abc562070e2048128a482fe9c16380c5766740cf9ce5d1f151bccf082e4d45"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseAuthPlugin.getFIRAuthCredentialFromArguments (cyclomatic 19): FLTFirebaseAuthPlugin.getFIRAuthCredentialFromArguments has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"97361ec6215b5e6b03386b7b4ad0505a3db6222026319abd0c35cb0255e81e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseAuthPlugin.getFIRAuthCredentialFromArguments (cyclomatic 19): FLTFirebaseAuthPlugin.getFIRAuthCredentialFromArguments has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a52af5aa4bc49835439c1f88587d66a83e7481c838d2e3da32794e52f2ec7e"}},{"ruleId":"D1","level":"warning","message":{"text":"FirebaseCoreWeb.initializeApp (cyclomatic 18): FirebaseCoreWeb.initializeApp 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":"packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9c3464e2ea991fcf508cf1292fff74f595c46ce95fa6c78d99271b0aa1a239"}},{"ruleId":"D1","level":"warning","message":{"text":"FlutterFirebaseAuthPluginException.parserExceptionToFlutter (cyclomatic 18): FlutterFirebaseAuthPluginException.parserExceptionToFlutter has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthPluginException.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a23a39bbfb1bf0bf68913c1025233d141da1aeeac0eb03b53b3230d6aa32eb7"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionHelpers.parseConstantValue (cyclomatic 18): ExpressionHelpers.parseConstantValue has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"190325f54f45a86dcfa821bb2456972db26d251f4c7fea868fcb7d8858386672"}},{"ruleId":"D1","level":"warning","message":{"text":"AnyDecodable.init (cyclomatic 18): AnyDecodable.init has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/CodecUtility.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b3d7684db02c8cd49da1e76e15ad31f58aec3914ba02f1a3478aa43f972ba4"}},{"ruleId":"D1","level":"warning","message":{"text":"AnyDecodable.init (cyclomatic 18): AnyDecodable.init has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/CodecUtility.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"521e4a9dfebb4afd8dc47a8d38f7d7496075f3f1b94b407495ac140ad2a5593c"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineParser.swift.constantExpression (cyclomatic 17): PipelineParser.swift.constantExpression 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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fd59396f09def0d35e90bab27440c327ab389e96e50db0186c86a316531d39"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineParser.swift.constantExpression (cyclomatic 17): PipelineParser.swift.constantExpression 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":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b59d5c4011c317225ebc3aa73783d1be659cded0e805da34814ec8f4e6c04f"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineStageHandlers.handleSearch (cyclomatic 16): PipelineStageHandlers.handleSearch 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. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStageHandlers.applyStage (cyclomatic 17) 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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e53a79bc205aed63c58d6d5ba32951308cc28ecf515131459e254b38b175562"}},{"ruleId":"D1","level":"warning","message":{"text":"FlutterFirebaseFirestoreMessageCodec.writeValue (cyclomatic 16): FlutterFirebaseFirestoreMessageCodec.writeValue 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. This is NOT this file\u0027s highest cyclomatic complexity: FlutterFirebaseFirestoreMessageCodec.readValueOfType (cyclomatic 27) 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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c477f4315f1c2880d6e7114c5fc3b3276fa1e8ba7021c5ba176e3749ed93695e"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseFirestorePlugin.executePipeline (cyclomatic 16): FLTFirebaseFirestorePlugin.executePipeline has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efc19c1b0d9b9f149f5b636b7f3bffa267a233fe98d9634041480ddf6554ca4"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineParser.parseSearchStage (cyclomatic 16): PipelineParser.parseSearchStage 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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6223bec1e20d4995f965044840e75a402a7bf31925e8565ee7fb0e55867014"}},{"ruleId":"D1","level":"warning","message":{"text":"FLTFirebaseFirestorePlugin.executePipeline (cyclomatic 16): FLTFirebaseFirestorePlugin.executePipeline has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c545fc27a539edeb41232d0727892ed7dd404659fa0df390288bf68f1bbd5d5"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineParser.parseSearchStage (cyclomatic 16): PipelineParser.parseSearchStage 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":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b8b23cc940835e4a08f9f87fe82dfa023d8e826e3971f219fb440548fbd118"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthErrors.hiddenErrorDetail (cyclomatic 16): AuthErrors.hiddenErrorDetail 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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0210df65b00e35adc9b80fe746a8df900d019aa9e8c27cb634a1fa1accaf4c5c"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthErrors.hiddenErrorDetail (cyclomatic 16): AuthErrors.hiddenErrorDetail 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":"packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/AuthErrors.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fda9c6ad79af87b7faf51ac318361e5f997985def5c92ef0aa559935abb9b43"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineExpressionParser.parseTypedExpression (cognitive 299): PipelineExpressionParser.parseTypedExpression has cognitive complexity 299 (threshold 15). Drivers by points: if/else 131 (214 pts), boolean chains 66, ternaries 3 (7 pts), loops 3 (6 pts), match/switch 3 (6 pts) (nesting depth added 93). To reduce it, split the body into named stages: move each independent step or branch into 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51c384bc60248ed5dccf6c7d738038ae25e2541c44b9576c3bbc396cd998045"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineExpressionParser.parseTypedExpression (cognitive 299): PipelineExpressionParser.parseTypedExpression has cognitive complexity 299 (threshold 15). Drivers by points: if/else 131 (214 pts), boolean chains 66, ternaries 3 (7 pts), loops 3 (6 pts), match/switch 3 (6 pts) (nesting depth added 93). To reduce it, split the body into named stages: move each independent step or branch into 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/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b7020700ec6b9cad92bbb367bb331efaea1208aa8d6b8c02913cc830b422cd"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.parseStages (cognitive 239): PipelineParser.parseStages has cognitive complexity 239 (threshold 15). Drivers by points: if/else 63 (183 pts), loops 8 (29 pts), boolean chains 14, ternaries 3 (13 pts) (nesting depth added 151). 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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21112364396327532402c38c5e617d3643b545a3de54bfc7c795a5d79eca2f6"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.parseStages (cognitive 239): PipelineParser.parseStages has cognitive complexity 239 (threshold 15). Drivers by points: if/else 63 (183 pts), loops 8 (29 pts), boolean chains 14, ternaries 3 (13 pts) (nesting depth added 151). 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":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cf9104e9ab9b2ca43b3d375d99d3eafc68799b90f5f5406cddee58452e7448"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionParsers.parseExpression (cognitive 82): ExpressionParsers.parseExpression has cognitive complexity 82 (threshold 15). Drivers by points: if/else 31 (63 pts), boolean chains 10, loops 4 (8 pts), match/switch 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into 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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cbb9ca3f1842d8afabb1e3bb79804e0b1b799498a7ad80ca93ad6fe6e4cf73"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryGet (cognitive 76): FLTFirebaseDatabasePlugin.queryGet has cognitive complexity 76 (threshold 15). Drivers by points: if/else 23 (60 pts), match/switch 4 (14 pts), boolean chains 1, loops 1 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"f481156d265697d6ead5c6b40292c30e28cc72cf3f76401a6e4632e8f9b8837a"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryGet (cognitive 76): FLTFirebaseDatabasePlugin.queryGet has cognitive complexity 76 (threshold 15). Drivers by points: if/else 23 (60 pts), match/switch 4 (14 pts), boolean chains 1, loops 1 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0211e387ebcd34bc64acd674633e82e0213cef95ddf1464c43e87504ecae33"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineExpressionParserWeb.toExpression (cognitive 67): PipelineExpressionParserWeb.toExpression has cognitive complexity 67 (threshold 15). Drivers by points: if/else 24 (47 pts), loops 5 (10 pts), boolean chains 7, ternaries 1 (2 pts), match/switch 1 (nesting depth added 29). 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":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb8d07332bdcda187931f9c66921f35db45a0bcb87d21e7241a3637b41acce8"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryKeepSynced (cognitive 61): FLTFirebaseDatabasePlugin.queryKeepSynced has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (45 pts), match/switch 4 (14 pts), boolean chains 1, loops 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into 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/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b9c7e857d703189b437c4e0acb3ab764d9f9696912ced77fc4e737ba25afc8"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryKeepSynced (cognitive 61): FLTFirebaseDatabasePlugin.queryKeepSynced has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (45 pts), match/switch 4 (14 pts), boolean chains 1, loops 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into 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/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce4072bca2d13efdf44422e6c8c3ce9a5041dcf90b84dba63d38037b8061570"}},{"ruleId":"D2","level":"warning","message":{"text":"_JsonQuery.where (cognitive 60): _JsonQuery.where has cognitive complexity 60 (threshold 15). Drivers by points: if/else 26 (38 pts), boolean chains 19, ternaries 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/query.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"33342aa393eb650f6927bc02fec9d70a9ad8d8d4f7d7ac8dca79e15c1bd74d75"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryObserve (cognitive 60): FLTFirebaseDatabasePlugin.queryObserve has cognitive complexity 60 (threshold 15). Drivers by points: if/else 17 (44 pts), match/switch 4 (14 pts), boolean chains 1, loops 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into 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/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2661a57c61fdbebcbfb9f23467b5c6c4b5b45f78915995b4d024ce271b119ed"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseDatabasePlugin.queryObserve (cognitive 60): FLTFirebaseDatabasePlugin.queryObserve has cognitive complexity 60 (threshold 15). Drivers by points: if/else 17 (44 pts), match/switch 4 (14 pts), boolean chains 1, loops 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into 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/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"9585a6bc4a5e0bfd73c46238f4e6670db53722b27be2c37a6d096e6e156140a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ElfBuildIdReader.readBuildIdFromBytes (cognitive 37): ElfBuildIdReader.readBuildIdFromBytes has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (30 pts), boolean chains 3, loops 2, match/switch 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/android/src/main/kotlin/io/flutter/plugins/firebase/crashlytics/ElfBuildIdReader.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38b0a40fedc20ae13b078b242f6170ab750fe43de9540eaef0e3112d5ab362c"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionStreamHandler.onListen (cognitive 36): TransactionStreamHandler.onListen has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 3 (7 pts), boolean chains 2, match/switch 1 (2 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/TransactionStreamHandler.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c85ab421c0ee4938c9607e16e7d763fecb62f020056dadf70d07faa83e628db"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseFirestoreReader.buildReadQuery (cognitive 35): FirebaseFirestoreReader.buildReadQuery has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 11, loops 2, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8386de32838f8be90d6a368ac591c953bfe17f9e4c518be4d134efae5593f26"}},{"ruleId":"D2","level":"warning","message":{"text":"PigeonParser.buildQuery (cognitive 35): PigeonParser.buildQuery has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8cfbc6f84fa8c6b31090bf3a22acead8f8c12c71d9b9ee72289952bd202763"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseFirestoreReader.buildReadQuery (cognitive 35): FirebaseFirestoreReader.buildReadQuery has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 11, loops 2, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c459a0d37a9acbddd4a9bef3050eb4aa350f20e1d1e10f2fdc6a356352dde5b"}},{"ruleId":"D2","level":"warning","message":{"text":"PigeonParser.buildQuery (cognitive 35): PigeonParser.buildQuery has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (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":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4577497da5c07e84b4d425de2ef4941876609c0fe266b1e9ba607113acd3f946"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineExpressionParser.parseFilterTypedExpression (cognitive 34): PipelineExpressionParser.parseFilterTypedExpression has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"08113c54f9041f402a1c7f8cb498fc1798cfcd18cb8cd533ebf53369320e81ee"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineExpressionParser.parseFilterTypedExpression (cognitive 34): PipelineExpressionParser.parseFilterTypedExpression has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f8dd45341dbfe18b0ad6da0b96361f60fadc4d0511e83ce5204980ab2f3b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodChannelFirebase.initializeApp (cognitive 31): MethodChannelFirebase.initializeApp has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 14 (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/firebase_core/firebase_core_platform_interface/lib/src/method_channel/method_channel_firebase.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4109371ad8dc513a7d5b588df0cbd95667f100ec44f06e5786d32b54cbb63e94"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodChannelTask.MethodChannelTask (cognitive 31): MethodChannelTask.MethodChannelTask has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (24 pts), boolean chains 4, loops 1 (2 pts), error handling 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":"packages/firebase_storage/firebase_storage_platform_interface/lib/src/method_channel/method_channel_task.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad37f7ffc5c75baad8b30824c43f3fa850ec01dcd1302698e0de023c246b2196"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseCoreWeb.initializeApp (cognitive 30): FirebaseCoreWeb.initializeApp has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 5, error handling 2 (4 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":"packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d3a69a454e1dc10dbf12f96387e8d5aa9e16a01022346f39c65348090c5835"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.addFields (cognitive 29): Pipeline.addFields has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 5 other methods here (Pipeline.aggregate, Pipeline.distinct, Pipeline.removeFields, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9125170704de0b70d84c470e6fb69ebcbdbf4fda8b22627535321c2b84622e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.aggregate (cognitive 29): Pipeline.aggregate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.distinct, Pipeline.removeFields, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2957f16e4e6b34d42d109b699625cbe887c619d43cb127c7f1f48c9b036b15d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.distinct (cognitive 29): Pipeline.distinct has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.aggregate, Pipeline.removeFields, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b9c1adb20b896fe3c352d95a10224243c36f025edcafd0f6b247efe93e3cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.removeFields (cognitive 29): Pipeline.removeFields has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.aggregate, Pipeline.distinct, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e46e615c5cca2379e68772ee5a94121454f7d5c75cc718d1ea728636caaae0"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.select (cognitive 29): Pipeline.select has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.aggregate, Pipeline.distinct, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40e43c7c3f3d33c428e153ec40ea673eae089c044037703e54cb964a382f8f6"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.sort (cognitive 29): Pipeline.sort has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 5 other methods here (Pipeline.addFields, Pipeline.aggregate, Pipeline.distinct, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd672b94864a5b66652532a2718d02a80d52a413411ed48bcb792c8775977b85"}},{"ruleId":"D2","level":"warning","message":{"text":"Expression.switchOn (cognitive 29): Expression.switchOn has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 4 other methods here (Expression.xor, Expression.and, Expression.or, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee7b090b49ef0024af74af8f9a6d6fa8d3a3e11197b25b5f0c573ce42a80407"}},{"ruleId":"D2","level":"warning","message":{"text":"Expression.xor (cognitive 29): Expression.xor has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 4 other methods here (Expression.switchOn, Expression.and, Expression.or, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b005dfb5bffbbc49b88bfd4f8816aad1bc69cfc6caae7001ed9b1144dcd33b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Expression.and (cognitive 29): Expression.and has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 4 other methods here (Expression.switchOn, Expression.xor, Expression.or, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68bb9cc029577816e859b2e13b4841d972df991a2ff76934dfd566922d0cfba"}},{"ruleId":"D2","level":"warning","message":{"text":"Expression.or (cognitive 29): Expression.or has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 4 other methods here (Expression.switchOn, Expression.xor, Expression.and, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd022b7060f4a23a1c33a52d4547640ed1fbd24178326b2a8ebc8983ab2db577"}},{"ruleId":"D2","level":"warning","message":{"text":"Expression.nor (cognitive 29): Expression.nor has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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. This shape REPEATS in the file: 4 other methods here (Expression.switchOn, Expression.xor, Expression.and, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"509f25e34559f1078589c79533bef7e9f00537ad597aef0fdd37688371569266"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreMessageCodec.writeValue (cognitive 29): FirestoreMessageCodec.writeValue has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/utils/firestore_message_codec.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa77faa250ba6d76db731fbcaa8f2f83ca0ac48ceb27de309b7de63bcbc1ad79"}},{"ruleId":"D2","level":"warning","message":{"text":"Expression.coalesce (cognitive 28): Expression.coalesce has cognitive complexity 28 (threshold 15). Drivers by points: if/else 28. 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":"packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bffcec01fef64cf9edf90fb594b9a4cf7e4e87a079353fdea6771982d5397b"}},{"ruleId":"D2","level":"warning","message":{"text":"PigeonParser.parseQuery (cognitive 28): PigeonParser.parseQuery has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22 (23 pts), loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PigeonParser.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8deaf3720cfe52037b522c5d35b2e20418e5103bb73f0cf44e1d59f86addbc1"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseFirestoreMessageCodec.readFirestoreQuery (cognitive 28): FlutterFirebaseFirestoreMessageCodec.readFirestoreQuery has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22 (23 pts), loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ae6ed8db955401619a978591e4305f09ba080839314211e8ea7fb75bbfa4c7"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseAnalyticsPlugin.createBundleFromMap (cognitive 25): FlutterFirebaseAnalyticsPlugin.createBundleFromMap has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/android/src/main/kotlin/io/flutter/plugins/firebase/analytics/FlutterFirebaseAnalyticsPlugin.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc3c30ea11039189493dd04f066184650c5350e8a6f1b6d4b72534918f2fee0"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseFirestoreException.\u003Cinit\u003E (cognitive 25): FlutterFirebaseFirestoreException.\u003Cinit\u003E has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, match/switch 2 (5 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreException.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cff51be9a50989cf68ce51df5ff28e05750af7af2076cb9b8685f40c6294c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseFirestorePlugin.writeBatchCommit (cognitive 25): FlutterFirebaseFirestorePlugin.writeBatchCommit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (7 pts), match/switch 1 (2 pts), boolean chains 1, 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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae8bf79d3833da4ee18ee6106237b97dbaca7c2b239dab29e8c10ad66ab4c93"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseFirestoreWriter.writeValue (cognitive 25): FirebaseFirestoreWriter.writeValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (21 pts), loops 2 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e6fe535388adfc9f3f4019826e7a261bfd2fa5048e49c05c04cd8348b8a09a"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseFirestoreWriter.writeValue (cognitive 25): FirebaseFirestoreWriter.writeValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (21 pts), loops 2 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f121605d538418635489b7e5149b7333f6c7119047f0eb9afc215e6959bea8c"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsEventItem.asMap (cognitive 24): AnalyticsEventItem.asMap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 24. 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":"packages/firebase_analytics/firebase_analytics_platform_interface/lib/src/analytics_event_item.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b7a5486205dd50bfd574b9f3c4cde4465be9a682a3d582e11623f4dc1d3321"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryWeb._getQueryDelegateInstance (cognitive 24): QueryWeb._getQueryDelegateInstance has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (24 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":"packages/firebase_database/firebase_database_web/lib/src/query_web.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe70b2bead12cee8f1ad6f1b6f6a4f3d70bfb5f7e2f9e48de07c3321a93dc45"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineStageHandlers.handleSearch (cognitive 24): PipelineStageHandlers.handleSearch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (16 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"33492c1f4a202ecd816c33363f70fde3ea42f5abcbdb33964572947587f66106"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionHelpers.parseConstantValue (cognitive 23): ExpressionHelpers.parseConstantValue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 2 (5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dea6fce1cdefb84ad909f7059f34ec31138ab1e94e02c7a30d92e2fa2c21951"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.parseSearchStage (cognitive 23): PipelineParser.parseSearchStage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 1 (3 pts), boolean chains 2, loops 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e1c7603bc93e79b6cdac7896b8a4d4cfdaef006978388616167360206b8485"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.parseSearchStage (cognitive 23): PipelineParser.parseSearchStage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 1 (3 pts), boolean chains 2, loops 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/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16f829c111f895cb69eb64637e1d71ded8f293edee242dbc210056baace5a76"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionsStreamHandler.httpsStreamCall (cognitive 23): FunctionsStreamHandler.httpsStreamCall has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 1 (4 pts), loops 1 (3 pts), error handling 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":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"699cf67901d369f415e9d96113012355d2c647c08ccda2eadf15b267d8de57c7"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionsStreamHandler.httpsStreamCall (cognitive 23): FunctionsStreamHandler.httpsStreamCall has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 1 (4 pts), loops 1 (3 pts), error handling 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":"packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2901c876385fbe4c0615e36b16f70becc43d845d66e0bba9d964cbc6015edf2f"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineExpressionParserWeb._buildAggregateFunction (cognitive 22): PipelineExpressionParserWeb._buildAggregateFunction has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 1, match/switch 1 (nesting depth added 10). 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":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f92f00c9f4cbeac70ff963dd4a5f9cbcc5d9817d4fc6ac5bed6d6a0bccc7b44"}},{"ruleId":"D2","level":"warning","message":{"text":"PasswordPolicyImpl._validatePasswordCharacterOptions (cognitive 22): PasswordPolicyImpl._validatePasswordCharacterOptions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 1 (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":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/password_policy/password_policy_impl.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"419c9cd6c0da8bc7c420d1e1f0729c46b34ccacec008c0e52eec46d5b6d042ea"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.parseAggregateStage (cognitive 22): PipelineParser.parseAggregateStage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"89432196abb500397af60b0b567234e1462aa08897339439650d635c7037155c"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.parseAggregateStage (cognitive 22): PipelineParser.parseAggregateStage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcf992e8a9633d228bde91f2f2949baf9b696eac757a3ed2f5f5e7c7273ce17"}},{"ruleId":"D2","level":"warning","message":{"text":"Analytics.setConsent (cognitive 21): Analytics.setConsent has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 7 (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/firebase_analytics/firebase_analytics_web/lib/interop/analytics.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6e2f130642948b6354548aae123378050ef6839f766f15cb08f8d1cff39dae"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineExpressionParserWeb.toBooleanExpression (cognitive 21): PipelineExpressionParserWeb.toBooleanExpression has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"35221f5b72fff659cf8c8caa645da3add5b6b9534c515da3f429f19c848680bf"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthErrors.hiddenErrorDetail (cognitive 21): AuthErrors.hiddenErrorDetail has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a3406384a8ff00e6917fc3300c9cf5a071b0f2197abd2bb6579423b985bab5"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthErrors.hiddenErrorDetail (cognitive 21): AuthErrors.hiddenErrorDetail has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/AuthErrors.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a530facc75dd174e7bf0c43e8fee9c80093134bc6572ca1728d894bcae9ebc4"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseFirestoreMessageCodec.readFirestoreSettings (cognitive 20): FlutterFirebaseFirestoreMessageCodec.readFirestoreSettings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (20 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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a93f287116695af4b6249916fdc953bc34201c7c4bf8acc6f477190da77e99"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseFirestorePlugin.executePipeline (cognitive 20): FLTFirebaseFirestorePlugin.executePipeline has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function item 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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"048bdd5bedc0565903dc7d2044916506c07f1d71cb86d7da36c4a613d1c41fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseFirestorePlugin.executePipeline (cognitive 20): FLTFirebaseFirestorePlugin.executePipeline has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function item 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":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9548439aad3a0edeb8f7cf8d2564355bcc9643651ef1294f16aed7209692f4"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseAuthWeb._createStreamListener (cognitive 19): FirebaseAuthWeb._createStreamListener has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 1 (nesting depth added 7). 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":"packages/firebase_auth/firebase_auth_web/lib/firebase_auth_web.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4c69989937eff669b0dc6d889425adf5ad97423738fcad37b57c1a7b849507"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseAuthPluginException.parserExceptionToFlutter (cognitive 19): FlutterFirebaseAuthPluginException.parserExceptionToFlutter has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthPluginException.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dea33a18d74d09bc789e43f7954adb2bac3666c3c7fe3587f7cc4f545de40d7"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseAuthPlugin.presentationAnchor (cognitive 19): FLTFirebaseAuthPlugin.presentationAnchor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0b06d44d81a805880c9ffa2cae405700124226f4360adffed32ed36a24e441"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseAuthPlugin.presentationAnchor (cognitive 19): FLTFirebaseAuthPlugin.presentationAnchor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c52606a11a48d059e422a7e578d7a1260ba43ed4595521cde2d813ce04a426"}},{"ruleId":"D2","level":"warning","message":{"text":"ElfBuildIdReader.findGnuBuildIdInBuffer (cognitive 18): ElfBuildIdReader.findGnuBuildIdInBuffer has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (8 pts), if/else 3 (7 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/android/src/main/kotlin/io/flutter/plugins/firebase/crashlytics/ElfBuildIdReader.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5592de09e88d9a7cdd5c002901fdbc7dfc188fe286edf2700991b21f9a786e4"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseFirestoreMessageCodec.writeValue (cognitive 18): FlutterFirebaseFirestoreMessageCodec.writeValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17 (18 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a2776cb80ade5016cc8e59b505ffda286ca7f206a72091bdf4c86d2f250b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseMessagingPlugin.onMethodCall (cognitive 18): FlutterFirebaseMessagingPlugin.onMethodCall has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 1 (2 pts), match/switch 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":"packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca92ef0e8e0f9f575b4a98ae50047b0b10feef8caf64f9e1aa5a0e248d96b41f"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseMessagingUtils.remoteMessageNotificationToMap (cognitive 18): FlutterFirebaseMessagingUtils.remoteMessageNotificationToMap has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. 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":"packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingUtils.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"909330ec7b6bd461a83145906216779ccd06d4d31a015552cb29e1ffd2fbb4b7"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.swift.constantExpression (cognitive 18): PipelineParser.swift.constantExpression has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16 (18 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d34445658c20145786734bf38add5d32513ae160eff1aad1f6a9558179f0ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.swift.constantExpression (cognitive 18): PipelineParser.swift.constantExpression has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16 (18 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1536f4c27ff2d949bf6556824b2b7ccf5b5e22a954bc3652b053e34495908855"}},{"ruleId":"D2","level":"warning","message":{"text":"AnyDecodable.init (cognitive 18): AnyDecodable.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. 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":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/CodecUtility.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"81744033682c6e35fc507241de2aeeb3c744311b7940a4f1e1ccfdc71ff88ae8"}},{"ruleId":"D2","level":"warning","message":{"text":"AnyDecodable.init (cognitive 18): AnyDecodable.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. 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":"packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/CodecUtility.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd9a64e0c77207ccd84f034fed5cd9323203681fc6f886b184e67ced98f998a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppCheckProviderWrapper.configure (cognitive 18): AppCheckProviderWrapper.configure has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 6). 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":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f64f312716e8eadd0876a2ba2ac320a6e80f2c60887b1d29932c9576da987d3"}},{"ruleId":"D2","level":"warning","message":{"text":"AppCheckProviderWrapper.configure (cognitive 18): AppCheckProviderWrapper.configure has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 6). 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":"packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"247acee943ba6079ccbfa1a4c5834830b8ef5ed2a855f286a8c0fadf003621f9"}},{"ruleId":"D2","level":"warning","message":{"text":"FlutterFirebaseAnalyticsPlugin.handleSetConsent (cognitive 17): FlutterFirebaseAnalyticsPlugin.handleSetConsent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/android/src/main/kotlin/io/flutter/plugins/firebase/analytics/FlutterFirebaseAnalyticsPlugin.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0215fa1f7d97b3bcfabf0391cf4e3cab422fbc2f49e19bdb1b2354b8a336476"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionStreamHandler.onListen (cognitive 17): TransactionStreamHandler.onListen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4eb6e583dd979fe7315df46d8be597808004fc849a9affda86f9e86bb8a8be"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionStreamHandler.onListen (cognitive 17): TransactionStreamHandler.onListen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c34016f50d9d785bb9a0bf9341653f6989b517bd3200b0aacb7e2bc3a0b4c1b"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineExpressionParserWeb._switchOnToExpression (cognitive 16): PipelineExpressionParserWeb._switchOnToExpression has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 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":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd35726ef2de9b98f5b0728016a9a271a30ecbfc3f911dbd5c81879bdb2806"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.swift.exprBridge (cognitive 16): PipelineParser.swift.exprBridge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d707174066af3058cfed8c0f56cdd934fac8565eae0361cf64394ffc8b5bff7"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineParser.swift.exprBridge (cognitive 16): PipelineParser.swift.exprBridge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf968599dfd5e7b98fdab64f1d225a5cc4851800c223db52d43712b70589d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseAuthPlugin.getFIRAuthCredentialFromArguments (cognitive 16): FLTFirebaseAuthPlugin.getFIRAuthCredentialFromArguments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"2367dda82afa8689969cb629a93798c2a22a4c550bad6bfdfc9ba605a3fb84ff"}},{"ruleId":"D2","level":"warning","message":{"text":"FLTFirebaseAuthPlugin.getFIRAuthCredentialFromArguments (cognitive 16): FLTFirebaseAuthPlugin.getFIRAuthCredentialFromArguments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fe048d2512d8b143db217c4a5a6605ac6f6e9d36dd05a6629c0f5b6760f989"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Expression: TooManyMethods \u2014 221 methods. The bar is 30 methods; this is 191 over it, 7.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa759e1b571b5a8c142ff88496eff70e13f6844cb0ae42e6472897682c04e189"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pipeline_expression.dart: FileTooLong \u2014 2211 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1711 over it, 4.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09229fdfaf65b001868225728db65578380dfb39e5db9323a9891072ab0aac85"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PipelineExpressionParser.parseTypedExpression: MethodTooLong \u2014 parseTypedExpression runs 438 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 338 over it, 4.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca66f70377df36c6c325429f801cd49c2141f60cb99e11cb46e0f4d7d0a9c616"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PipelineExpressionParser.parseTypedExpression: MethodTooLong \u2014 parseTypedExpression runs 438 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 338 over it, 4.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b7bcbf1fa91192984ec9ab9937ae50ec04e5514dc18376c03da62143b96305"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PipelineExpressionParserWeb.toExpression: MethodTooLong \u2014 toExpression runs 358 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 258 over it, 3.58\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/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"503924b23d81934a54b9224134216dd9e4edeb0733600ca426ca6b04d05287ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExpressionParsers.parseExpression: MethodTooLong \u2014 parseExpression runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d0fb5ce297e841abfe81b47d97b680562f3431ae32f27e0f4a7d3675ebc8b9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FLTFirebaseAuthPlugin: TooManyMethods \u2014 84 methods, declared across 3 files: firebase_auth/FLTFirebaseAuthPlugin.swift (58), firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift (15), firebase_auth/FLTFirebaseAuthPlugin\u002BMultiFactor.swift (11). The bar is 30 methods; this is 54 over it, 2.80\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94bf2ed04bbf35caa2ec6138ea1fb697b31a50a8b55ef25a2f285fb755f7d9f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Expression: ClassTooLong \u2014 942 significant lines (blank, comment-only and punctuation-only lines excluded), 221 methods. The bar is 400 significant lines; this is 542 over it, 2.36\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":"packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"894ac864dc6ae8ae1ede7f6e3013c7372941c1eca2cc57952210956502bf94a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cloud_firestore/PipelineParser.swift: FileTooLong \u2014 1093 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 593 over it, 2.19\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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae93b0115e8399ccaa5d57ae4a8de47c29af5724f1b2b7e733ba970fd6a9e84a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cloud_firestore/PipelineParser.swift: FileTooLong \u2014 1093 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 593 over it, 2.19\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":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a85eace6d1e9d40b77e08b8a16fbdb45055be1a909b754b0e40ab077ce530d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FLTFirebaseAuthPlugin: ClassTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded), 84 methods. The bar is 400 significant lines; this is 449 over it, 2.12\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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bb09a535777718aa109f1ea393e6db09eb3346085ce60f01a8243eb01c6968"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FLTFirebaseAuthPlugin: ClassTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods. The bar is 400 significant lines; this is 449 over it, 2.12\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":"packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d30f44415c8aab8b76a25c18a757296619cb46c22661c50135d125e7a2bdfd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PipelineExpressionParserWeb: ClassTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 385 over it, 1.96\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":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ede4b38a6035723dd51e3ef7d41500477408cc489bace1b0627b7928c9c350"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PipelineParser.parseStages: MethodTooLong \u2014 parseStages runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09253dfddda7a901a05777d17a6b56057652e909e52e0a18957171126f0098c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PipelineParser.parseStages: MethodTooLong \u2014 parseStages runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\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/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a00f7d057f416a50ade35b4add8d3ab9a3d484f5d064ba37ea5944ef2e36180"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FLTFirebaseAuthPlugin: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6a300e07659fb0a79b55f862e4f3932f8264d910d634885a0516c543f82cf1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirebaseAnalytics: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40542b9fae99535e545ca61d4caebe1628e0a7db36ae41f0edf058bf0d54588"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlutterFirebaseFirestorePlugin: ClassTooLong \u2014 737 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 337 over it, 1.84\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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb1ebdf92a5a553f01f08736a9b1dafc3526074899255d580c231c5203760e6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FirebaseAnalytics: ClassTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 300 over it, 1.75\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":"packages/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e96c6593cc63f6bd7bde649b6e666c5f33fcb8c0bc517c937da7708fd86238c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: firebase_auth/FLTFirebaseAuthPlugin.swift: FileTooLong \u2014 871 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: FLTFirebaseAuthPlugin (27-1204). The bar is 500 significant lines; this is 371 over it, 1.74\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"404fb08b832580455fbdd283a108a485c860cc8fe66bec8571f1b2530edea328"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: firebase_auth/FLTFirebaseAuthPlugin.swift: FileTooLong \u2014 871 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: FLTFirebaseAuthPlugin (27-1204). The bar is 500 significant lines; this is 371 over it, 1.74\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa858e27bcfec7134b1216d7c87b233112593a450a26853b98371d950dce5fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirebaseDatabasePlugin: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"370d9da77c6344c346c5003d86c139f402f8d0fcb125ad900caeb7dea408de0f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FirebaseDatabasePlugin: ClassTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 274 over it, 1.69\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":"packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"577b7b9a93b0d06e812a2d12787ca3a1da5a28f29befc76ca933bfcfc3e0bc0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/firebase_analytics.dart: FileTooLong \u2014 830 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: FirebaseAnalytics (8-1341). The bar is 500 significant lines; this is 330 over it, 1.66\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe6982e48c29f05fed6e0d2d54b52a4b12fd974834952449d5c7ea7361e342f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interop/firestore.dart: FileTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 323 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0af720540045137715fcccfc6ba255f4ccf038b036921d45bf86746257dbdda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interop/firestore_interop.dart: FileTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 321 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore_interop.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffc849335a759cbc1f59bc9784eb490730b78c70ac72a7cbb7bb5e44e7568fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: firestore/FlutterFirebaseFirestorePlugin.java: FileTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: FlutterFirebaseFirestorePlugin (68-1108). The bar is 500 significant lines; this is 297 over it, 1.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e72469eadfd75a1c7bbb990bdb738a27659c3443e0662b4a28790fbf3679ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FlutterFirebaseFirestoreException.\u003Cinit\u003E: MethodTooLong \u2014 \u003Cinit\u003E runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreException.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99f12916ba413ba9408b2b97867d0945a2e6f05714cca4565065bd2488b957e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pipeline_expression_parser_web.dart: FileTooLong \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: PipelineExpressionParserWeb (20-1076). The bar is 500 significant lines; this is 294 over it, 1.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b680092c9956c7227fc1b4499e170b028ca2c7c470ea0d9bc76c65750e46cacc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlutterFirebaseFirestorePlugin: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe47074fe994abbc942e7f3a25615930794aa6da9c2c06d03fef621f6738e31"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExpressionParsers: ClassTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 200 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d305c32718f42eefd14351976d0f9bc5d5646680577294e3c706dcb4d22dfc96"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirebaseAuth: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3ac19a2692fac54dba65423efb3cb26e61c6e44d32c23b5c8a10bcf2157880"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirebaseAuthPlatform: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc63bd4d03137ed7b0950e881b7cd2c4bbeb47bc3ac862a8d5b38f484f6878d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FLTFirebaseFirestorePlugin: ClassTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 173 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47b1351a4772e73c8f86d0228db9576fbb4a541e6c78d685c1b7ad6712dcaac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FLTFirebaseFirestorePlugin: ClassTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 173 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0f29a935127eb0fa32dbeaa1067594217fe5a8aa489febbf844431bb8900b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MethodChannelFirebaseAuth: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_firebase_auth.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7c01a578c5807fe82d817b03058f8046642382f4310bb52995823017e51c3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _JsonQuery.where: MethodTooLong \u2014 where runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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/cloud_firestore/cloud_firestore/lib/src/query.dart"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e052505bcdf2b04073663a5b3a31be2a753702f18882f2be12bb0a9b8fe3336"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/FirebaseDatabasePlugin.kt: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: FirebaseDatabasePlugin (32-1063). The bar is 500 significant lines; this is 199 over it, 1.40\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f6f26765585d133638b6809e14808f50358eb73a3d66142b3c4b7581c9c0eb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirebaseAuthWeb: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_web/lib/firebase_auth_web.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31a1e1027373ef71190827eda8ff94f10500cc4cc286e9bea11a78a0578dbb2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Auth: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_web/lib/src/interop/auth.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"effebda91b93b4ad99b681b1e0fe0c53733cf27d42a6959ad94670dbc067cdf0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PipelineExpressionParser: ClassTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 134 over it, 1.34\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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09506b813a63939f0f85f441d89103ad35410fb1cfab6d67e7c2e773bea14b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PipelineExpressionParser: ClassTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 134 over it, 1.34\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":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac94afc65828ac20b0246e815e8504e1add3212ba8b109ac4c744f9e41d8c1b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MethodChannelFirebaseAuth: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 124 over it, 1.31\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":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_firebase_auth.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb1a1cfd8e846a1b0be4553facf407a7e44e7dd14803e0918789b6429985494"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FLTFirebaseFirestorePlugin: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4da7ccadd2bb91010cfacf691eed219e1f174b777bb9851dbcbf407cf08e0d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FLTFirebaseFirestorePlugin: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d26bc09df89fdedb69bca7d4cb39f876757dc614bf7d6f6ab07a5fed519600f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FLTFirebaseDatabasePlugin: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 106 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b354ebdd47bab05c23ef544dd1d2332c40d898d8294e6dd95971b0039f2e180"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FLTFirebaseDatabasePlugin: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 106 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"436a6fbd41a8d6a4055a5536471fda0c279d064c1a1e6dc1ba280b97318e9f60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/query.dart: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: _JsonQuery (234-887). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/query.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d1af2a81d68e34750bef2102242d0d1cec3326da12cac2112a0b40ddcd9c03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlutterFirebaseAuthPlugin: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthPlugin.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c6bf4871cf0d0b377e9b315f37e6bf04821dedd2e8c575adaab1a9f3c2d07d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/ExpressionParsers.java: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ExpressionParsers (30-844). The bar is 500 significant lines; this is 116 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6edd62fe23724314377ea65ea399b5614bc073f9cd0cd22235be3c94106d470"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cloud_firestore/FLTFirebaseFirestorePlugin.swift: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: FLTFirebaseFirestorePlugin (28-872). The bar is 500 significant lines; this is 105 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c99823f72d6dc70cc1c6d060b4a06c3d9287a7213d327cd20b2400b6cadb1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cloud_firestore/FLTFirebaseFirestorePlugin.swift: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: FLTFirebaseFirestorePlugin (28-872). The bar is 500 significant lines; this is 105 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b78193584dd03c0dd58310130ee598c3b3e0abd528bbc6854ad48dc503b75e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlutterFirebaseMessagingPlugin: ClassTooLong \u2014 474 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 74 over it, 1.19\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":"packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcb7e8b8462660d374fe06baa664ac02d4cf83a7db214fc9ca9a15e649bf931"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: User: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/lib/src/user.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cdff59f95f8ff83ebe1b9f7d427b24c6f0034e8eb7a06e8a3fb40eb7fa5ea1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interop/auth.dart: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_web/lib/src/interop/auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7e090339fe25e785d5df29b6404abc746c7b3b61e5ab0540c7890c864c7341"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interop/auth_interop.dart: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\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":"packages/firebase_auth/firebase_auth_web/lib/src/interop/auth_interop.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0361eeb3a3ee797e7998ba00ca230acac9cac9e88911c81e531b695ced34a89d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FLTFirebaseDatabasePlugin: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e727b62a8a0bf7e1c1b3bbc0ebc1b899688c2b5e0ba148be69ed4883be4f485d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FLTFirebaseDatabasePlugin: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc20749d4704ea9474f8b9822f9832ee7e55d50791a51c213b2b03a0b25445a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PipelineExpressionParserWeb: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4eb4285dbba1140833e8ced11c2b2c16fe9110a7c6da18a38ebbd2f7dfc899"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Pipeline: ClassTooLong \u2014 451 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 51 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/pipeline.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9850e12b7ce9023046846194709a8e5cb1b6dbded29c2acb66cea9596e7f64"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlutterFirebaseMessagingPlugin: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a371a4a2df51c9ffa03168d0e49f5ec59f47fabaecb256da15e5e7d317e2446c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlutterFirebaseStoragePlugin: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8caff91e660e3f3268fdd5c7cfd474e8e84ff02d6d50134226061a1d3dfc4265"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UserPlatform: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_user.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"49717a6ec9ca2a324d274a313ea3da4f32f0cb1d89f74cfa26d7394c91cd52d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: method_channel/method_channel_firebase_auth.dart: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: MethodChannelFirebaseAuth (22-816). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_firebase_auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22e780bc272478cbe3a2eb1b43b0114f1c17fefeb511d200f6f10dd68c8cac7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FLTFirebaseStoragePlugin: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de37cbae8e7bb92dbdc770946f6b9e9471ef9090ddfd81b72a5bd52dd4068fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FLTFirebaseStoragePlugin: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e92c4008516520068c78e864e56ff6ba5cd857bb6fb3b4c6cefdf1e014aa93"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlutterFirebaseFirestoreMessageCodec: ClassTooLong \u2014 420 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 20 over it, 1.05\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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c67f51852b7e6483263f7893d2434ebdc05f6f5ac5262247feff920175f58bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: firebase_database/FLTFirebaseDatabasePlugin.swift: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: FLTFirebaseDatabasePlugin (26-792). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81dfe04a5dc5e9ae54830e1e06a1d55c726e8a8d8e83c2bf033ce8249dea232"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: firebase_database/FLTFirebaseDatabasePlugin.swift: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: FLTFirebaseDatabasePlugin (26-792). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd764fc149f8d90d41b8d29cdee33483352b2be4cad2c06ec91183eda3e5964"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirebaseInAppMessagingPlugin: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_in_app_messaging/firebase_in_app_messaging/ios/firebase_in_app_messaging/Sources/firebase_in_app_messaging/FirebaseInAppMessagingPlugin.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf0e51bdf052a5e0b288a34358cd2c3731a0bc64cf1589102d363ca05216642"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirebaseFirestorePlatform: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_firestore.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"181adac4d60eae2f6684b1106e352e0fc77b7e88e16626228e0cd99560833629"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: messaging/FlutterFirebaseMessagingPlugin.java: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: FlutterFirebaseMessagingPlugin (51-838). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"277f967533d78bc0ffa12646f6b3d296b245725f6cc718995295b2264a232d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 45 shared lines): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:444-547 | packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:549-637 | packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:639-743 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:444-547 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:549-637 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:639-743 \u2014 These 6 members are variants of one another: a block of 45 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0a65a9828a748282e16c6a614eaa865f0c1c1e4eae5e7ec2f2e92ad15ff19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 21 shared lines): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:66-114 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:140-179 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:936-980 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:936-980 \u2014 These 4 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e200abff870ee3e900186415f727e3a570db4978ac134e32d66b1af04c4f423"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (84 shared lines): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:70-164 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:98-277 \u2014 These two members are variants of one another: 84 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":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d7e9e56db93d0ed4fad6e79906b2c8d8669ffad7cbe33b3cc0b3be83ca72d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:136-191 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:136-191 \u2014 These two members are one piece of code written twice and then edited apart: 56 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f57542926ad2f76e959d885f6f66ce7b57045345162bc6a3888227b69b4f4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:31-84 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:31-84 \u2014 These two members are one piece of code written twice and then edited apart: 54 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcadeee5534ad2ffbd7819fd0846abfd99fdf5cdd6f6043f229746ebfb6b70a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:90-114 | packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:116-149 | packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:151-169 | packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:200-224 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:90-114 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:116-149 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:151-169 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:200-224 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b044d9e936c62902e1039a242bbb473b7f17a9546aebfe885d3dade8d875257"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:42-74 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/LoadBundleStreamHandler.swift:30-65 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:45-87 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:42-74 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/LoadBundleStreamHandler.swift:30-65 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:45-87 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"204db6b20a9de6979b55f6f8b1c32cd1ef68021f6ab2bd9d3859bdf1801053b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt:282-298 | packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt:308-325 | packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt:334-352 | packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt:360-374 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"32416afdd1b035e9d8204b95760f4e8e27b3a0fa3bf08a9c70cc877653fec073"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java:32-47 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java:58-73 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java:83-98 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java:106-121 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"10afe9a8b7ec5d9336585deb9e8c254896c516fd9c20c9a7055302efbb8a95af"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:101-107 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:111-576 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:580-586 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:590-596 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c6b391a6bdf00de5561f22c3ce51f169ffceb3ca1aaa9c5b15d872381be3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:533-575 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:577-661 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:533-575 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:577-661 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bd898ed63743a48617fb4b3561ec870e4d5541ac966bf60b474113a9bbd8a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:663-700 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:49-148 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:663-700 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:49-148 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a55cc1f112df0a0d72414767f63c5f2b1b1a4a849624673a57297fb46f412c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:215-314 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:117-212 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:215-314 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:117-212 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f612d05253062a9a0cc83cbccf719c26a5d467c65563471971f04b857bb94cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1136-1193 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1195-1446 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1136-1193 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1195-1446 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b2d83fd3c6a43a66424d0d3843aa2ffc3e0a64510a13eef64dc47cf660ac33"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift:22-42 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTIdTokenChannelStreamHandler.swift:22-42 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift:22-42 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTIdTokenChannelStreamHandler.swift:22-42 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeff9e20f78ef8ede42d76982668068ccd338f1b43c9a738e635ec84b926cd2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:308-372 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:661-679 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:308-372 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:661-679 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd79b7d5747b7c3ff111fa0207d5ceb7a0f9dafe35d78398753109d531455a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:131-144 | packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:146-163 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:131-144 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:146-163 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3af9d2954d43e22f00eeb672bde96b22036064120ba5d9525ffa759335ba10"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:399-418 | packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:144-162 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:399-418 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:144-162 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"860b223483c8d118ab99f6d45ff242f83af884f911ce5af5328c31108ca205c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:307-353 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:299-345 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca9e3ece7aeb67f8bf0cd98b515f261e1e57053deb14735888134f0653d6c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:289-327 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:407-445 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore/example/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69385bdcc60a7150c8aed79dca2610bfb400c70243c4878cd549688535f9f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:70-103 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:98-131 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore/example/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"10182140b60244918024158986c96c431913a61cb683fe89f2f84b42b31e7f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:136-164 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:249-277 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore/example/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf31bacde26a1397986811a5fdb1f4daf88db1793e1cc7f6e1c8e803d04cb18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_user.dart:94-116 | packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_user.dart:149-171 \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":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_user.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92b9c42909ceda822f442257dc2793d11e493bdb5c043244237c2f0de3ebb12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:105-125 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:133-153 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore/example/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec2ec07e3ea454399ac4ce3a9699ab173dd4f1ad7975e3463bebbf0e8ad6672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): packages/firebase_database/firebase_database/lib/ui/firebase_list.dart:23-39 | packages/firebase_database/firebase_database/lib/ui/firebase_sorted_list.dart:24-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/ui/firebase_list.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d9de9756b46ca0a195f53b1d64759db8699e967655a84189a17ec2e6da4f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:290-321 | packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_query.dart:247-278 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:282-313 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"175a8bc503678ba46a856996b62f311f7bccf42447c6505a7b8d19aeeec9e213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_firebase_auth.dart:570-585 | packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_user.dart:197-212 | packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_user.dart:321-336 \u2014 there are 3 copies across 2 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 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_firebase_auth.dart"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2c93bd00567cc1d7170dba260f6d923f13d2986b635a8dd6abaf2cabe23692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_multi_factor.dart:41-55 | packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_multi_factor.dart:132-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_multi_factor.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc86126c66997f8cd9a774651a46b2eee61fb8a2958961fefe1cfcff25f3082f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_document_reference.dart:119-133 | packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:170-184 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_document_reference.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf896b4d5968900563a9f2c83af0afb5ffc20040b6123058094e92581f6ed52f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:263-275 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:260-272 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1c9a95183d4de4ab67e34e5279afefb4ee97af187bd3a8e9255535fc3fd1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/lib/src/filters.dart:154-165 | packages/cloud_firestore/cloud_firestore/lib/src/filters.dart:187-198 \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":"packages/cloud_firestore/cloud_firestore/lib/src/filters.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a642e04d6d602462424516af3323a3e9ff7b3b3ea15bac7086f367a8ea0bbfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3703-3710 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3723-3730 \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":"packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":3703}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfcb500a07e6ad2036164862d5d6da38e7f2fd1ff17c8476b3534694871ba45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart:1231-1238 | packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_web.dart:77-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"59181d3053568de3426cd58f407d42aecbed775727ab19fc24f6f1adf3d0f8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart:1241-1248 | packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_web.dart:87-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1440cba81c37631ca37e16799cca6916aebe0079ac1fbc8c9600168a9ffc86ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart:364-370 | packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart:972-978 \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":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b347ba690adcf7b399ef22a52a791974fa29bc2349446bb96f463912ec59b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart:375-381 | packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart:983-989 \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":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eef0a49abd2e09809eae4cc6338f67e31593f93c77e58dc3bc55a5cf127a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart:904-909 | packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart:934-939 | packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart:944-949 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d8747ce42389794b3d2d9be11007e3d5209cd7eee1da6e78250ccc0307e803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:49-56 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:77-84 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore/example/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6ea450b313ff0a98036b5b0e14d0426863a0ad0fd480f55424ce2841a2de00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:252-264 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:370-382 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore/example/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"011b791e6c21777ffd7079ba827795436c988525b8a6f2b34d1cab17b347e3ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:329-338 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:447-456 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore/example/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58fc6f59d6201862ffeeae0c1ba7f173905c771ab27475f0075bdef23b473f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:340-352 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:458-470 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore/example/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbeac96167a0c543cc50b0710c6c2fdb5da4f15bf09342e208603964f1ef5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart:386-396 | packages/cloud_firestore/cloud_firestore/example/lib/main.dart:504-514 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore/example/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 178 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"23caf4edd0109a193dbfcfb95651a1c9aa07ba12fca063918025664c4910ae4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10): packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2064-2070 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2082-2088 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2890-2896 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2907-2913 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2924-2930 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3543-3549 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3581-3587 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_stage.dart:88-94 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_stage.dart:149-155 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_stage.dart:309-315 \u2014 there are 10 copies across 2 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 10 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd975d22ac0b623c70f545ae95513a4a7a9af2fc24bb48d021fb474365728d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 27): packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2100-2106 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2118-2124 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2136-2142 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2246-2252 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2422-2428 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2643-2649 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2661-2667 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2679-2685 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2819-2825 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2837-2843 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2855-2861 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2873-2879 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:2970-2976 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3049-3055 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3109-3115 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3127-3133 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3383-3389 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3401-3407 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3419-3425 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3437-3443 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3742-3748 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3812-3818 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3849-3855 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3886-3892 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart:3923-3929 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_stage.dart:276-282 | packages/cloud_firestore/cloud_firestore/lib/src/pipeline_stage.dart:397-403 \u2014 there are 27 copies across 2 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 27 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c4f854e474a584ddaa17c20b47d5cf39a88939cbc5c56c5c706a19e7bffc9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_pipeline.dart:42-47 | packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_web.dart:30-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_pipeline.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede587f5952578c236fd125c1326bb2ae33a5b6ad9cb56c8672838a42d041d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:77-84 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:126-133 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a0ccfb4bf7cce90bb88e980175a1850de8e2ecdedec2719cf2c5e041b1f795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:86-92 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:135-141 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f395c44a5d9d21a3ad7df19e313fb4b3691e6e52df4991cb765eac4146943781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:94-104 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:143-153 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"542f2c0f36f8258b7960bfebfef59a21340df9b803420826379567a649ee8dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:106-112 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:155-161 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc51c5f61921d83d111f0a40bfc5b1c4bf73a8de99e4054616691506ccc3f062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:139-145 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:174-180 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a003724ffd1047d7b140a3b6ce117bc09356a7b2dc91be6b592c75651323a2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:147-153 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:182-188 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec30724419078916397055f383521581a470c447ebef86fe03aba7e8c35d3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:221-228 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:218-225 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8215d89849e998402f60e97cca010efce5a073d0b14cd89a4ff11d67198965d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:230-236 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:227-233 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0124d43ef0679cf997fb44fd8ba51dad9c78e859ea4b93c597bc89454eea552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:238-248 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:235-245 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62b0b162532a3d6a2dba3cfce4243f11ce04bcff9f6a428f1792f1d498a306d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart:250-256 | packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart:247-253 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcbad92980fc316e3d23c5642464776ddf9ea8a0bc0497208b1c6bde9b7bcd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/lib/src/firebase_app_check.dart:58-87 | packages/firebase_app_check/firebase_app_check_platform_interface/lib/src/platform_interface/platform_interface_firebase_app_check.dart:54-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/lib/src/firebase_app_check.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"125ce7b2375aab87764e4abf8904777c49021e3051867d4f862ae6dcefabaf03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart:361-401 | packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart:362-402 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart\u0060 and \u0060packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0ba94c038c2e51218a7aa152bc11a1cb0b50d9a17a6809fdeb03e4a984ec9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart:456-498 | packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart:449-491 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart\u0060 and \u0060packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88aacfb427ca4720763cfeed9602e5976ff051c71a268c4ea77bc1e4650dcc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart:545-591 | packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart:515-561 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart\u0060 and \u0060packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf233fd1ba7e553738c0e95816675b6827af4b0f0741dcb1096828555fc9aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_multi_factor.dart:18-24 | packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_user.dart:26-32 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_multi_factor.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f75d225a064cb585c81985f1cfd39fb6c27969261b651b5a9cf5033e75014a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_database/firebase_database_web/lib/src/database_reference_web.dart:46-53 | packages/firebase_database/firebase_database_web/lib/src/ondisconnect_web.dart:17-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_web/lib/src/database_reference_web.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df85448cf53f850bf26dd6b4aa383993bee5ab1f37d84174f5df143bd81dd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_database/firebase_database_web/lib/src/database_reference_web.dart:55-62 | packages/firebase_database/firebase_database_web/lib/src/ondisconnect_web.dart:26-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_web/lib/src/database_reference_web.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9498854c0c821b6258ddaa2ac307a3069a43b3773a2872a884cec53dec7917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/lib/src/collection_reference.dart:122-128 | packages/cloud_firestore/cloud_firestore/lib/src/query.dart:790-796 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/collection_reference.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a632bae148632a9ed7d221b2a6fd4f87310b93c97a822dcbfc0f2b6129b066dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/lib/src/collection_reference.dart:207-214 | packages/cloud_firestore/cloud_firestore/lib/src/document_reference.dart:314-320 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/collection_reference.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a4d0ffbccc0446489e58db0f2023ca1bbc915ccad63183a94dc36d9649e299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_firestore.dart:357-364 | packages/firebase_performance/firebase_performance_platform_interface/lib/src/method_channel/method_channel_firebase_performance.dart:52-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_firestore.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b962e8860355e518949c82d746e892f6002a3f74628c1fc1cd784c13d63351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/lib/src/firebase_app_check.dart:51-56 | packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart:55-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/lib/src/firebase_app_check.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75e988875ce3c7d27639844d8212d661b755082cd5ec3c923926441c8b7f857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/firebase_core/firebase_core/lib/src/firebase.dart:98-104 | packages/firebase_core/firebase_core_platform_interface/lib/src/firebase_exception.dart:58-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/lib/src/firebase.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e79b2475ca291b9f1165ef6969bccb44d5e786d48dde7c4ae55a8fdb5be9520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_core/firebase_core/lib/src/firebase_app.dart:70-76 | packages/firebase_core/firebase_core_platform_interface/lib/src/platform_interface/platform_interface_firebase_app.dart:60-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/lib/src/firebase_app.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8852a227eb177fd1daedcf2ed83152c23ec634e9a75c0ff19f08a0eac50510e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_performance/firebase_performance_platform_interface/lib/src/method_channel/method_channel_http_metric.dart:94-102 | packages/firebase_performance/firebase_performance_platform_interface/lib/src/method_channel/method_channel_trace.dart:69-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_performance/firebase_performance_platform_interface/lib/src/method_channel/method_channel_http_metric.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6fbf4fa669f5096cc0d6e83d00589422b4c00348fa3a7ca3c2a5950ff63110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt:659-675 | packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt:718-735 \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/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt:659\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/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"34410c650a7e30f541706350846fde41740b63a27edc1f0d4ac8b660e5707634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthUser.kt:70-81 | packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthUser.kt:120-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthUser.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4120e62974d6ac171f3ef874a20a6e040dda82b4198415aa3cc9d2de5b8baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt:638-649 | packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt:678-689 \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/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt:638\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, \u0060packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt:692\u0060 calls \u0060printStackTrace\u0060 and \u0060packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt:650\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":"packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.kt"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e334fb78a1ce4b53135f49520a3d012b78465a512622020138905875cd03fdc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt:288-298 | packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt:315-325 | packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt:342-352 | packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt:364-374 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt:288\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":"packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fbaa1f9b28ef3cf9740116a4f517d950eebc8bc6505eb9f93d0c6616e2da18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthPlugin.kt:258-266 | packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthUser.kt:373-381 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthPlugin.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2194e6514f8870bfc0f8a5496d7f084033d9082afddb53ea65a7d479eb85ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/android/src/main/kotlin/io/flutter/plugins/firebase/installations/firebase_app_installations/FirebaseInstallationsPlugin.kt:128-140 | packages/firebase_in_app_messaging/firebase_in_app_messaging/android/src/main/kotlin/io/flutter/plugins/firebase/inappmessaging/FirebaseInAppMessagingPlugin.kt:497-509 \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":"packages/firebase_app_installations/firebase_app_installations/android/src/main/kotlin/io/flutter/plugins/firebase/installations/firebase_app_installations/FirebaseInstallationsPlugin.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcddafcbe9b0c0f84387588d177d6910702f204528671e8e80abda66400fb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/android/src/main/kotlin/io/flutter/plugins/firebase/installations/firebase_app_installations/FirebaseInstallationsPlugin.kt:142-148 | packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthPlugin.kt:507-513 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/android/src/main/kotlin/io/flutter/plugins/firebase/installations/firebase_app_installations/FirebaseInstallationsPlugin.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de4f77676daa9a74ab41d9e6a7e610fd1862c54f2ee8fbe5739d324afd276ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java:394-437 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PigeonParser.java:282-325 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java\u0060 and \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PigeonParser.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 92 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 \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java:394\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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62f03105a785189069fdd25e72c3d033e35ebd493edf722b2a721fa9b4e74c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java:472-508 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PigeonParser.java:187-223 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java\u0060 and \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PigeonParser.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbe568fe7643bf690006ef06d903573cfe677a6eb484c84bb12823e87537890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:173-196 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:652-675 \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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:173\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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df0c9f2ff22ef3b9069e9c4257401c4023d453c70fe5b74ca9742e8c755faeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201315 lines \u00D7 3): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java:689-693 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java:928-942 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/TransactionStreamHandler.java:118-132 \u2014 there are 3 copies across 2 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 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java:689\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. 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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"3162bbfd4f6b8a5d8d512bb0e9cbb3a831e1ed4981d3948cfc06f9d04c8cb7d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java:33-44 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java:59-70 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java:84-95 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java:107-118 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java:33\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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionHelpers.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"742d96c7de9e22e1f2884e45fb9d2a48fc2dbafad22121c75719e253d7a9ce2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java:128-138 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java:153-163 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java:200-210 \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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java:128\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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56118b017079017c58d51d76628339a2898ca0c015b94fb129fc03ae313b814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java:520-530 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PigeonParser.java:234-244 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java\u0060 and \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PigeonParser.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 92 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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6893a999de8e8ae5bd4b21a77313c553539ae120fad3415c29716e94f37828f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java:706-715 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java:941-949 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/TransactionStreamHandler.java:131-139 \u2014 there are 3 copies across 2 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 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c044a80a29f553d6df79e4b2804ea761d7e72ba488ed8c6d5c8ad0026dd47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:327-334 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:337-345 \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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:327\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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bf456331a425a4815393a574b2115b7e98cf3e74ab65977a7168da3a8488d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:406-412 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:418-424 \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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"67013d545758ef1fe55a4d3c9f079e07c0f9bb9a4d507f78ad7d13b679b35d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:199-204 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:296-302 \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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:199\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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9529f3982ddc13b3e9a4b76f3f0e33da372ad2ff99a9e3f8adf54a2ea763bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:330-334 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:340-345 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:406-410 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:418-422 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34a5b220b8087852113c49881a30f3ea8b4fc3912f4c0ccdc00383ff7554266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 5): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:102-104 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:227-229 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:452-454 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:582-586 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:592-596 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:582\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060operation\u0060 to \u0060BinaryExpressionOp\u003CBooleanExpression\u003E\u0060 in one and \u0060BinaryExpressionOp\u003CExpression\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:104\u0060 calls \u0060parseExpression\u0060, \u0060arrayContains\u0060 and \u0060packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java:586\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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0b934e5736c9f82a94b76fec6c50baecfa3f3fa6dcd72921fe730dd3e491a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java:143-147 | packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java:215-219 \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":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a405b5a68d7b34b4a40c359973d3d0bee1655fd1c684ef1d89cb2d590e8317"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (647 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:323-969 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:323-969 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"410900654436c7135cfe8a7b4c572aae1a4e5fdcae86dbf1c453e479bb303d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (252 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1195-1446 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1195-1446 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b015cfd6b265427c23c698a3b542668967efb2129f619b4f866698df4b66eee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (97 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift:37-133 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift:37-133 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.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 2 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift:37\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":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1f249ea6e3bf6464aa227128bcfd53b52d4078c54bad805070280586188c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (95 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:565-659 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:565-659 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"0882c59b2404c7881f02086e05076296632986134051e0841e21d09a7a6ef2c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:784-871 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:784-871 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ae9a0fe6bdef9013b91e12967fb716539dbc5cbadf97aa3977bceed125e94d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (85 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:577-661 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:577-661 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc1829d42ac9b71cd734bb3f15ded7be403831644e61407b059219bdddf095a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:123-206 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:123-206 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a56ffb59e8587bdde27d7ec93bea61cf980bf55f7f4cd2969648b1aeed54a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:978-1061 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:978-1061 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52805117969c288a885ec80276ff6f10fd679e971078bf405721760b6e51ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:28-101 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:28-101 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6032dff57da4679d931fcdef72f3d2884d886311f52bb895db2b8f0667e0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:24-95 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:24-95 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"864c4fe7b4d5e375d8a0b645729e5bc76f758eac2a0f3c25ce62179988ec7a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:287-353 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:287-353 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ec05dca39b4bc384fcfe50916b3cb21f5c50de379d993852d9f0ebc47a0326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:85-150 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:85-150 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"48907a820376af452ba069b0d142bf63319f765b972ff71c6468576d1c76e6be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:639-704 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:639-704 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 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 \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:639\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/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7c55a16ea6d423c47fd25889413dd490a42610425d1f8d3fb3a0b040c8da51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:308-372 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:308-372 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c460c96932fefce7d1866689821db08e8dfd5b498864b237fa64c38df2fd0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (100 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:49-148 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:49-148 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a707d262ca12d07532064f90cff17bd0bf8a0bc3013d1cb1c1be15b78841faa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1058-1117 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1058-1117 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"417b05540a606c706af148e80003c068fb38c6da774310c7de3cb2306f1dde67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:204-260 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:204-260 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"002c0c20bc732281ebc00365b1cfaa7ff83146f30da8ab062839cc1adff647d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:439-494 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:439-494 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d8483704a9a5ce7888aa809dff30317c055eb6453eae7beded89166c75bdf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (100 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:215-314 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:215-314 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cd170358ad37d2cd8d46bf38436bb49106ce5879ffddbf2d959d3532db94c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:128-182 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:128-182 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c2dcbe79386846bdf47b01f6b5b8fdab0502f8d47286be42eba8a5a627bbda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:159-212 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:159-212 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:159\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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4688c895d1eacb199076dd648564ae8a00c5438d6040378cff99c185635fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 4): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:447-498 | packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:552-603 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:447-498 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:552-603 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 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 \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:447\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d57117eff7079912dfa16b0dd4e47abf49c5b61e49f07aacf26449850391ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:352-403 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:352-403 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 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 \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:352\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":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"507b184205d3654fd53e9e91dbf6e547b48e68b0332a7c0c660127f941162057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:184-234 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:184-234 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"168603caf8502f56f0d479bb50323c16bdaed8a88d24718572c020aeb9d43c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.swift:24-73 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.swift:24-73 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.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 2 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":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab3db34d9761c45bec614cf2b7315f1319124938974620b80fe62f96a0489e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/CodecUtility.swift:13-60 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/CodecUtility.swift:13-60 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/CodecUtility.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/CodecUtility.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 2 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":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/CodecUtility.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e49c22f76fe8cca042d19c2a6c0e93386583b26a1030fd8f013f3ec2dd1679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/CodecUtility.swift:66-113 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/CodecUtility.swift:66-113 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/CodecUtility.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/CodecUtility.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 2 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":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/CodecUtility.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e728696fed962da5bdc0e2176d4b5f9e18629c8b2f502079f1df0fcd892d343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:103-150 | packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:103-150 \u2014 before extracting anything, compare \u0060packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae6b9c60c40f73537f01b7bbf71b3d3c390a8387172fa9528fc48ac8f97cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:859-904 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:859-904 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3599362c8da43e3c008a6694785deb35fdc12e237839a893e6012812dadb47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:408-452 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:408-452 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed5991b33c2308a7161eaffbddb2cb40b4d4c0dd316625f9c1095bb09e1e4fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:282-326 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:282-326 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff84ea9f26be58d1eabd328c994a857a12b1b026de2d8a6a32a23f7f443f012e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:782-826 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:782-826 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"236fbafb85cebae2efb43787772672ca1aa1449f2152dff33da2774360b1099b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:936-980 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:936-980 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfffb2bf1e9162d8ec3228472d86f373be9f2231e434264d856ede17dccf49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1514-1557 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1514-1557 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1563e34be3c43ce52a4047501960574d482c3202d4eb168242c2bc24a236da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:263-306 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:263-306 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa05825e5395f2139da3c172ba8814f4f21c2237f53e7eb46c2eb94c79c1fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:533-575 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:533-575 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9002354f8c65620d5b514657a34f5acb85ac245076505e618ea056c5d36ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:45-87 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:45-87 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8b4cb65a2161632ce669fff1e1b73ebbc49758eeeda4fcec377aac72f373b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:156-197 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:156-197 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d933ca63cfa6d23f67c9a2bdd431ea1c69851cbf1cbe2f32faa5fd4f5e54cace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:104-144 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:104-144 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78d1228395c56dd085ace597700e24f0e224f74da5f34f9a7e98f5d5bd6118c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.swift:41-81 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.swift:41-81 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.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 2 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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c6917c675ef3ac01a17b93ec7af3eccc6c2f6aab20250db20a32677d45aa4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:751-791 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:751-791 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a0746f5856fe8178ac085f64b66a55d48cf2faab07bfa3b481d8ec12e88376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1065-1104 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1065-1104 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a163d1d4c7c764d76b8e9336614646a87e7924a30d02d0cd71c976192c54ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift:30-69 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/AuthErrors.swift:30-69 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/AuthErrors.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe4e002a0479d8ed2baec5dd0ffeb086643f0e824f0977999311134a38b856f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:218-256 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:218-256 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c8f548588e7804575abe3935268dc3aa4dbce0bc8e32a03cc1adba41cf4bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:702-739 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:702-739 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dae206d9194b38acff2d10115cdd8eb78e3ae8746f76f507af074a31e674f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1136-1193 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1136-1193 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedcfb837dbebc4c392fbd0de1d9655cb9ab75cf9e6bb9725935dafffde87ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift:71-108 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/AuthErrors.swift:71-108 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/AuthErrors.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04bc7eaf876395683132d433f3798db6e9ccac9c1fa30373dc12d03eb4a8aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:374-411 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:374-411 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e931aff52167b99522a7375a821fa83644892f1ae9258f89319eaa5fcbabe9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1131-1168 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1131-1168 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9ab4199d376f0ef4b39a8a480cb0fcdde458ba9c16a3bb50ef23bc6e527335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:28-65 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:28-65 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 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. 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":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c596d16e03b1b7df4ab25cd84268ceacea16d4d429ddf2b46b008fca8c1a44a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:30-67 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:30-67 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4930526c1def0cb336e8d1e635760891efc798ce6126f8dd3213e7f19d13d89d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:496-532 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:496-532 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"117a8130580bc0085ad302d1b0cd761c53b6c529e47e893559f9e361465f37a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:111-147 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:111-147 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f5b716fc2d048a25376d3bc23a3aa5cd357f382ff3da32c7e00dab5b02683d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/LoadBundleStreamHandler.swift:30-65 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/LoadBundleStreamHandler.swift:30-65 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/LoadBundleStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/LoadBundleStreamHandler.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 2 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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/LoadBundleStreamHandler.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6474b22981d4db9f93433f5d734b79a7deedc4a36f591d64d89f2332410b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:512-547 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:512-547 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 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 \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:512\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":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2af4ef8db1380d2dc3730333e69ef316a110d13765f3f0cb618b969f9d7cbbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 6): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:491-525 | packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:596-630 | packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:697-731 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:491-525 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:596-630 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:697-731 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 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 \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:491\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/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"941b47529de1f07f80f73bd31156e74119763502102d346aabc39ab9a99c0b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:361-394 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:361-394 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb89e5938a480779859e6914e191fa12cb6a85a79cbddae5fa9d4db5cc5bb3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:169-202 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:169-202 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 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 \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:169\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":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c82215185849a57679f1a694f5fe3bb89b03ae57e14be33f478be4e7769759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:42-74 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:42-74 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b801603a311a6db470b762eb977ee75a247ccf277959a708a640a18d7e0799b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:200-252 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:200-252 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"79be3c6f7c98a0a67cc936f694c445cedd27603f5081ec8f8722d81a0fd55087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:101-133 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:101-133 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dc7319647caa3c21b9fa67fca577a5f4e7f6219fb129f5479070b2202b3644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:103-134 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:103-134 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6809fd4482b352e155ce5a44c460ecef6aab2508123b5aaae8bc6dce9b5147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigUtils.swift:8-38 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigUtils.swift:8-38 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigUtils.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigUtils.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":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigUtils.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a74fb470baf7e4c59bc8d0b9283e71e8b52634a1773693ad9c718f9fc5d0402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:243-273 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:243-273 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b088f97a01eb091487252d9b9c78f0dcdc7af7c50a6e54d3ac6969262008e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:86-115 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:86-115 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"667cbca9f2771c010a4bd984a6f3e1f45ca84b71602ad690d3af64bcb2882eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:147-176 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:147-176 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9def7bd9b7c33156af988826e118e0d5e85aefbbf294c2eb83796db405a6d054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:534-563 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:534-563 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b986b82e0c9fce4937340e43fa7abb871f52f0bffc24517919f4f2cc355d69d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 4): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:241-268 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:140-168 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:241-268 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:140-168 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 327 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:241\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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd952fca7e458fff6561e3c861f43132bdba60395d9cdd8974bd2d2d0079473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:171-198 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:171-198 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0428447d8d653f672527b61dcc7355b66f1f54da56793ddbe1f460b117cc0148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:138-165 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:138-165 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd91d55182b0f0192473493097a5ea402411ce0e08f368b35c866a40b5abf785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:95-121 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:95-121 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0478664108cc3e2093553cb34978f0444735a8c9c21e6cb1fd06a2290683628a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:58-84 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:58-84 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d51964f5f0d7a9b368dcb51d94738df75e36a50deaabc3fe1ac11517dc18c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:166-191 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:166-191 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 327 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:166\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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"84707fb7c538520b0cea2b0acab1a49005da143c9d593fade51d7a2ae27d4172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:63-88 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:63-88 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc753f0706a871e84ad1780ad4c1e840e3e8ef3d8c279e8ffba421ee376c7835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:35-60 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:35-60 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9ae60231787e293f478e565e71f0d4d32115748260c1bae2e26ffcbc641c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:494-518 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:494-518 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca030c179ecf5c609c85c059e49f3a5e241233f48611646c2286c4d272710ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:200-224 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:200-224 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d278c7bd88cbbe58ca6cb922f9dc2d0275d475135b8abbce30119925bfc51426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:413-437 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:413-437 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 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 \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:413\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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c21f2e18eee47625d33ca93b9792eda42835d6232e40dcd08e4cc2ee865f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:217-241 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:217-241 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aeecdf80f557f74bfcd46763058c22f2b26df34a4f9a888d97099e9aa7bea08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:275-299 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:275-299 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d42af464bdcfac2db1ded5e647cfc1af5b04f8f5ff6b8898a6d70f7b31686f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:454-477 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:454-477 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"33024d46cb12d403446ac6debdf5f1ecfed3222c8b95233b4a18c595579eb006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:198-221 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:198-221 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbd2e7ced0d8b2423601ac07c6535eb7278caa36c1fe4fbb698aeca1c240411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:61-84 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:61-84 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b35feca9bf4562bed52b1243c571cc361d3c8b38df36114438240fbc0e4880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1448-1471 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1448-1471 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edea293a3de62cca5886096ebb2e82a35beb81917e384e18f9136cb526c90b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:144-167 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:144-167 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90b8b0f436ff0ef3c8cc29ee5075f32420d1835d2e48519f3e721816152c9b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift:110-133 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/AuthErrors.swift:110-133 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/AuthErrors.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 102 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 \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift:110\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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/AuthErrors.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf45c9a976af4474f58dfb9a9183338195c71ac9350df4431b306b7586b4d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:148-170 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:43-65 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:148-170 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:43-65 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 327 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:148\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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e896f7d7f04d5001691ec6868bf17fc093a5d3af4e20e3f2ecd678b4d564766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:82-104 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:82-104 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbeec12325aafc62856b13b8b14c6a9ef5c6c165afc0cbf555b17870f03851f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1490-1512 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1490-1512 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d11f7ec04c9a8eb8bfd2d4634db6ea64855cfc1239aff7641ebd4a285016704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:256-278 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:256-278 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfd841e6f0a44dd66f5e2ba8a27309818bd4fccc89dee61ad299dd2fbffb051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:114-136 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:114-136 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab4fd421049b2b8615186431cf98d2182ba6e1b46173144ab3a4d470fa1cf72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:133-154 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:133-154 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaa416804029d638273ba7c18c79636b06b9a8207a022817b682ca109eb3d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:741-762 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:741-762 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83e331e404e24f8630e5f3cd026926d3a493c806d06343214089a2d638cc30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:316-337 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:316-337 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 327 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f158f77e8c39719db3233c65b609510f29b3951618a150708f32cbae3ae7a06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:159-180 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:159-180 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a8ffce1b1b98c667274c396b0679ed8a6f1135f762b5c2bbb2dd977869d3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:98-119 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:98-119 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ed40a6b791b4ca8a99c7a1eb6fb16dea766c63ec452693d1fa6124d6679a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:128-149 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:128-149 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 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 \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:128\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/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e0df4424d36361ec0fddee9620c69046e53d0803b1c8a22189e2df7a910586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift:104-125 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift:104-125 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"932628310e43bf61a4fb3c48a0c67155ab2e229715b7cf231b418c80f334cad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:56-77 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:56-77 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efc8dd1df6a601620716cd38a54c3baa9ff3d00df2f46d3c3fc093bca6036dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:200-221 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:200-221 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"678727a1802165fe14c6b4adfd3bb59fa159ead0f1d4bf938287c6bec752ba29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:193-213 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift:193-213 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 327 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreReader.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f1682f79edbe778d4d9c32ff37f5697b0c481a4799f165eef19ab330f36f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:182-202 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:182-202 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac6dc0e43940dd04d3ba473ceb478a28f33850515e51243bd9e0f9f57ebc36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:39-59 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:39-59 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0d40b2860fb21fe561bb25f7e7b10b31f80773bef3c58f3f54e9ecb5ffd186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:87-107 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:152-172 \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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:87\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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d630e627e3d082050d705656f05067293cb427a4124e581244ee96f85e8caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:149-169 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:149-169 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab006929c5b878cf4512a13a7456f5f02fd1e9b2dbd65ff5b3c03e97546b2d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:428-448 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:428-448 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f28d3e29bdf48bca05cfd0cb644b3934468f7165e194807593281664d344fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:537-556 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:582-601 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:537-556 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:582-601 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:537\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"59178845528f56e6c99af69ff72f41b6ecb36362c8c53574e658ce9be4f376a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:177-196 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:177-196 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f063837c5a02d551ad0c2106ebeeb528b0edffc47ce10993cd84c6f26bb9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:236-255 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:236-255 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e153ee9da383ee715dca5f2022f1741a2920ac166a58828adc911716c59222c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:35-54 | packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:35-54 \u2014 before extracting anything, compare \u0060packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6b100f5462d82a5014ec3ffa11d003608fd77b51c3f27f010650a8404e5bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:90-109 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:90-109 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef17761ac25854d973fdbdd719d6834c94655934e3a8b5976222871b8cae2307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:367-386 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:367-386 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"863fd48d66025ac38ffefa718e3e0ddbbb6897ca83d6fb62b13820a33c896e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 4): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:674-690 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:104-122 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:674-690 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:104-122 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:674\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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"264baee3cfac9cf7f1e0cb94ae616cbb99085d6ef4ef3d98381034bc318ecaa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:93-111 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:93-111 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef06e11e24608ffdf5a5f8215e1263772bcf0e6233bfc432b06ce53fc85258a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:764-782 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:764-782 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe45d9c8b9d9e8706810878c59f6eed07c7449210644862b8093d5c112d7c6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:151-169 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:151-169 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7487d1d255e3d1cd1a60f5a5334832d094f70537da6a566ce184d1d6fdb31f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:71-89 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:71-89 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f1a810427455f0f752c6ff4f6beebb2ac92b32b20ab81e52f0988b7bd3d827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift:50-68 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift:50-68 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a33aa61c5fc6599be1ddbf6eb433ee7b2e7753d9826fcda43c561ec94c6dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:234-252 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:234-252 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"abedbde5797493568b731894815da089d5b8050e5eae27d9d3f58026d1d7011a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:661-679 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:661-679 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"4664b185e60712eaeb7b9caeff45f2173241f78957ece35ce731888ea4f1f321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift:84-102 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift:84-102 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2678f4f28adf725bf8908ec159ef598e33b31a7ff222a46561d531f1536b47e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:142-160 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:142-160 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"36028f1814a69f7fa3518f13651f48f557a8a75debdd589c6db70a155e569c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:175-193 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:175-193 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1c06cd92efc2bed6bdb6a939111a3b69cb4d417ac23205271dd5e2818c15a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:301-319 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:301-319 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eca617b6dcbc50e17d61168bcd95e2bc8fcd839d6df37de05335707b13dea75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:465-483 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:465-483 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad41af359360427127e0191a4603095096adc84ed9c04ceeb011f5c296338b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:93-110 | packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:119-136 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:93-110 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:119-136 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 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 \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:93\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (Result\u003CString?, Error\u003E) -\u003E Void\u0060 in one and \u0060@escaping (Result\u003CInternalAppCheckTokenResult?, Error\u003E) -\u003E Void\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4feab543b4243bbccc3fde40a1051d474f19f7f8d46a0d167488c5463b2f97a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:262-279 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:262-279 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6779ce45ee95908cbdced581370d3841d38ee277631e5897ed8fb7431be4e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift:31-48 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift:31-48 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94df22f4229a2f71de6513cd81261ddc9fc786911523d85b3933c6a611fd603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:735-752 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:735-752 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26c8ea03543e49a088daf1c49b503c9c0b8db9f4ab3a14038aa765cef204998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:89-106 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:89-106 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8863f0faec62849544a7e2d66cdb5770b4bae9caf34d4b18680848919ce1f175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:146-163 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:146-163 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a31d14b5f2d4f75f902560d58794bc1c12330d2fd4dccb9dee813906ab2b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:181-198 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:181-198 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25a553c7bd1cdac28d5e2c64ff882283e9b4000aed68f3a53ccf958bd2754ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:297-314 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:297-314 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f79e11be6a2b154489544b14dd274ee41035280b1a85426d197c7ad7106420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:224-241 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:224-241 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca798d5ac789b45517b42f19d018aa3228889112afdca37edf15eb8ddfc8404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:297-313 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:297-313 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e668ee8f85f0a0a038139c7e9372da1f5b0462351de0db15e849430921f0810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:338-354 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:338-354 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec7c2bd1bd795a947fd6b369ab4bd45ee5b7f5fda5cc077ab3906393670e3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:423-439 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:423-439 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"a199d315f1cfc14a10eb181236c804ea190016ecdf5dc965f53f629b2efeb165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:167-183 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:167-183 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"267f44ddaaff2bd6abb902353e68cd8d364b4104bd59dd599c31e8eb3cec4f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1009-1025 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1009-1025 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dd878710293112b6f97f84fc9118af31a1c138a1f2307872885a07d9826867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1027-1043 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1027-1043 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"9235e79e6dcfbdba91af8a707157fae120373ac57099c607edc5481826899926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift:32-48 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift:32-48 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"669d12bd3f0afa07ef0ee36cf03cda702b4b922e1780bf2200b5decfd20f69ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:252-268 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:252-268 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2708f6cbc190ba08cc3fdc2bd450226a9f35c44c7373e4b68ec553a5f38d9796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:355-371 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:355-371 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec45a59ee7111b3c4d118935726e56d0666077d9b2b8a9c997864bae556c4e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:408-424 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:408-424 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5552978261e9d65f9d2ada8d465f8f0d936cf26027b902768d1f06c59ac033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift:27-42 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTIdTokenChannelStreamHandler.swift:27-42 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift:27-42 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTIdTokenChannelStreamHandler.swift:27-42 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.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 2 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift:27\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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"899a73f6c3e448ce8798fc01d93f1da87568961ccfa7414ed3982ad8f047ea48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:51-66 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:51-66 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d3c25c9ca43bf3e2afcf08954ac85a915e402b5098845aac694fe489e51450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:160-175 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:160-175 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e883320e403f8216f62a13ec0dffdb4e231fb8dd2a00d32ec41e0ce45a278cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:306-321 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:306-321 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dbbd7b9ab8daee7ddef1d3d662d6e93120ec5d437c7bd08c1001c888c2a405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1119-1134 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1119-1134 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"118069a8f221ff7f9d9d83775ca7a3b8b1348ace8ff4cf05a52efe6521595376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1473-1488 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1473-1488 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96963df4ea22a407719685542252025065664faa73b4b4ce435062ff4aeeeab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:331-346 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:331-346 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d42b9e639b386e0253db5190399190f7fb4b0440ff1b190030a0bce6e011c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:43-58 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:117-132 \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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:43\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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"771281b73170af9b53a860443bfd258d089ec905900e633e58455787abdde8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:52-67 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:52-67 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c30bb1444a2f96808acd63f786de679dfc9ddc1c699b379fc5c4b45cb74a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:184-199 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:184-199 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbbb81b22002a3836bb1c47c5da54119e7b1010dce1dcb850a8f0b0d2467184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:235-250 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:235-250 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d800fc44b4c9e238bf518b10919f2985ab5a5fbefcb3d99b8006402706145fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:270-285 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:270-285 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d83944e662178f5207d690a1c67e383e909b9557b970af7d30969c044b52b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:391-406 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:391-406 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6115804f9aa4eef851f4bee5654668e5bf16197d1cd9865f1b49ca6b066da9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:73-88 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:73-88 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6c42d24473499bbc44cef781d79e82f67caeb9f13c6af1ed238d4dab7f0f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:254-269 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:254-269 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"faba1c5614523e2f09d377f94e402b494125067c78fee83d901ccae6559bfec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:37-52 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:37-52 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da6d1c993163fd1f88e152fd11c4270b7a670717063146d67b0ec1b61955711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:257-271 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:257-271 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"3271be8b8f91540775b8b9f4eaa44fb3653d6f0dc009f64b37557ca752aeb41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:33-47 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:33-47 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f1bf34d99c152a7564dde823a0a7277147058913480a2b31cc9e9483bfd647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:38-52 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:38-52 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c987ead65f80a9f35c2592a9039e666642a2c6076a0be8bdb62ac7b5a807d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:286-300 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:286-300 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5f35d582fd099d5a729e5029b51feaff40146754e8420897e7d9cd08a28478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift:50-64 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift:50-64 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeae399637de7f9d3f945a247dcdb574a03e5c4c4d88253407a7a59ebb950649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:219-233 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:219-233 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3974bbadb9580dca1fd1ee16c832cb2824754dd66a35b8f8c2e2d74b63e355d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:375-389 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:375-389 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"40643c1e0dd3963d802b470fede918bbb30a5cac318daf65a3a2795ad82f0c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:426-440 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:426-440 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b77e6ded66700e2b38958dcba53a23a2b92119f02077847770c13880a8ad14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:122-136 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:122-136 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0169fd36f2646c653dba8b57ec3647065aedf82ea30d842b6d32cc079d66a925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:75-89 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:75-89 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d247860d1e816c694016822a63476989dedf87a7859e3665239e285c371bcb85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:208-222 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:208-222 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8222ec98e27607276f49ac497cf8a20f8c5245957343931c84d98c48278afd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:321-335 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:321-335 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e3b704b2a0f9f346b4599599175dff30c2b0cc97a043be7355323a7f92c637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:85-99 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:85-99 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8b87dd547ecee0a27d78b8ba96d94ce9fa876510cab8e091155acb3b41fe96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:67-79 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:937-950 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:937-950 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:67\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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fdf0e6dfce82600705a2c99391129f4a86d62fa0e9e50658db5b4dfbe7652d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:479-492 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:479-492 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f1bf56ba69e966e4e6882d2bb73a94dd9dd7e3252dd1244ae2e9a38ff9853f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:316-329 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:316-329 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b43535860180d24bd4841b9f53bf94015c11ff3635ed60ad7cc09591186f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:754-767 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:754-767 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3036af0f71c81395022a79b6970bb7c15ac8876bbecdab55bac3b4e15e075e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:131-144 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:131-144 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6580ac1c74d75e22d9a9a523c4960969abd49b3681a59519ce7bb677d02af598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:173-186 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:173-186 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edabb138e021bd718c9996535a7d50cc40bbbe7b08c64b864d1ce642d8b3c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:148-161 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:148-161 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"871b66ce4114a26f40d703af38295b4b62f56d34d587645cae68c4a9facf8402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:165-178 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:165-178 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 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 \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:165\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":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7039084b0a98cf823da6b0c759fe1ba2a7f8ba43fce2fd616672c9dcb04b08f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:93-105 | packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:119-131 | packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:154-166 | packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:203-215 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:93-105 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:119-131 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:154-166 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:203-215 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 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 \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:93\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (Result\u003CString?, Error\u003E) -\u003E Void\u0060 in one and \u0060@escaping (Result\u003CInternalAppCheckTokenResult?, Error\u003E) -\u003E Void\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"248b316d77137d5749bf76a4586dc47beb0b9cb5ace95f32c91bd15b0c94dfa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:51-63 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:63-75 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:51-63 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:63-75 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:51\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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"27515da52cd7ae70e7cce2807049e4ccab561ceadce06ac4df20157b733e8356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:81-93 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:81-93 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d62412e8d4a2f8bfc795c9714a261f9848c507af8486e18ad2a3cac5c5456c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:405-417 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:405-417 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ed4949a97cd49017c4cecd33a430bf761212551177b7b6254f67f2d8bc5556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:31-43 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:31-43 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e499405d488b989fa49ff02cbc4563c5f9a0137aa846116e8ce71a6caa0edf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:100-112 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:100-112 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf8a8e98bfd163cde5df9c316ae0f87a0201b84d31eaac609212f5241ec6b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:133-145 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:133-145 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d87684b3b84fa3c46cd3500c918ceb7bbc31fb974e71d87206c85ba18ae7f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:982-994 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:982-994 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"099da08c28540ea4494c0ca46ee477789c8d58d138f2a37899f960a40c63ef1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift:66-78 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift:66-78 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a161301b6844530432051dabba240fb47d340ae54ade62f68555ecc8d6311a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:115-127 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:115-127 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aa349509c21659b4eada9d6e6ac8e636e3c23f10c826cef82404c0dd9a9563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:51-62 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/LoadBundleStreamHandler.swift:37-48 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:63-74 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:51-62 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/LoadBundleStreamHandler.swift:37-48 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:63-74 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:51\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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac773d79a83e3f93177dfd041135bf61aa7173d60f8a9ba17e8d1251859bb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:46-57 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:120-131 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:265-276 \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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:46\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping (Result\u003CInternalUserCredential, Error\u003E) -\u003E Void\u0060 in one and \u0060@escaping (Result\u003CInternalUserDetails, Error\u003E) -\u003E Void\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7cdc43bf34456f18046fa1cfad860d6563525070564c954debe6caf3243085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:258-269 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:258-269 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c9efe2a889bf41322635ed2d4f2f4fae6af7d7e84171dc6d4c89a142196ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:271-282 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:271-282 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed3283e210dc70fef131e8783956ee5ab427e3ae9483777320d15a78a64aa9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:284-295 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:284-295 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"608a649d2fe4c663f5d46639f7f9fee6ab8864d7c20143309c2703607e36d51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:315-326 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:315-326 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41dd4058e442493316334579182eb7be6cda3c1ee6071716201a1e41581b05b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:328-339 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:328-339 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4007929c5eb9ced496d732691f6f3a2392c75c9786f63c148ac0555ee8c67b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:520-531 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:520-531 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c48bfb2eeec568a44c6e55ccd5e942a0d2050a7cee7cae67ecb159fd2e860d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:34-45 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:34-45 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"50289c51bc7e84614c4083d31c8bdd254dc3f2b80486a59644413edcae873cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:100-111 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:100-111 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5593f2ea83663c0c3bba49d67d5e07729919ab67f208e530e53522aa9f6491a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:164-175 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:164-175 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"70102125ce14c4298149ec2d0f6d8efad96cc9e2c2b6f7cfbb2f7393ee105867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:209-220 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:209-220 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 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. 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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26a1d5aa122e740662ff9f527edb8d0f62e0c65c340a37910424ef6a0f525fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:691-702 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:691-702 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1855a8501d3d398c87a86b44cdb5c7a1163bfb80aefe2574646f055492691e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:704-715 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:704-715 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd2c900d264c9c7cf96b09f006cd63acddfc3a0aa8e35f32250a77d46f05ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:769-780 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:769-780 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf6d639a7cf4623f050de7de20f171a17266c624819af4f17d74a2b4905eda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:996-1007 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:996-1007 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90277ff576aae69d37f09a36cb01caaa1d535f0977a5a491f82e434fa750d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1045-1056 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1045-1056 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"1375c62c04a9493b8e13977230bab9b94cdc76b6a8c90c650c0b792d96ec3add"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1192-1203 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1192-1203 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"30636e3ec1fe7c78c6bd5e4e5e26dcc43ec879eb66f2c17b46fbdf63355b6b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:109-120 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:109-120 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4b4891aa6625bdac28492507d83679e90d3c7cd22e27bc6e80fb8e7eb0fed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:129-140 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:129-140 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f052485de219f61612e84f58597a1af0942f6d7601b43c6da957d7d9db7063f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:162-173 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:162-173 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9546f00ff1166885b3a486a82bd54363f324b86a0e127a8520daa316ec9c4996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:195-206 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:195-206 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"219c4be595de2ca060f7db79ad4fbd718e00820e9acf358adaa7138be737e0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:86-96 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:151-161 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:953-963 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:953-963 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:86\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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48ddabc8e78d452406ed46047f81a658a0c73b48c997215a5a0ca9c22c469c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:113-123 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:113-123 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"238212ed67d48265eb8a4aed0d54dbe31c1bb62e2444cfd204ee850add03c136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:206-216 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:206-216 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"94055b613d77808a1ad2104438028e5d8d81cf82e4a2b6b8a41da4e658b6a379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:396-406 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:396-406 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0c899f801b28af4df1e5169409c0b85a1a7231a3ec402a2a3ff808644b4482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:73-83 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:73-83 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca5277dbbd949cd418fbd157eb53e470a8009d4afb3964569bc190ea5d4d84c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:228-238 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:228-238 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d66fa5520a8889fbc8529c26e41c33a8593356188b9ee2b0cc28e84402aeff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1119-1129 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1119-1129 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73fac3a3e30b557e26710c5a2eb2f74a34b14e0da207f831fdba4ce5a64ff53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift:127-137 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift:127-137 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab9d1f63bf7c3687518fbc65d87b66c6cddcda8519be6327b5e0941ba20a0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:239-249 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:239-249 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 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 \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:239\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c6d1d3541de292dc493189270d8d8c55e6f8062dc7f60351138e650e93adf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:452-461 | packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:557-566 | packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:648-657 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:452-461 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:557-566 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:648-657 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 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 \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:452\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":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ef2ee69db8d7ea08a3a1d1b76072ecf211701b7496758ccc0be958bbb6b872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:98-107 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift:163-172 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:965-974 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:965-974 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin\u002BUser.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4c71839381aaa77031a3928229fb35febe33550972d75818665dde1c3eb051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:312-321 | packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:664-673 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:312-321 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:664-673 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 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 \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:312\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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdaaacaa9281672130e529acacb8cd1a0b6cc8d8db71a4e77264e33e8912f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:106-115 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:106-115 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1e0805c8b09ec7a6e5a80beeedd2c097a013988f2d529280ccfe81c9c03ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1108-1117 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1108-1117 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1108\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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85b8f2266eae00fa70667354b35e36e26d7e4bf3fe2e48a01aaafdb97b88015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:147-156 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:147-156 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"475b7db4c0168eb42253be6757cfcd02b90d7afa2c190d7f79470bf7671be209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:838-847 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:838-847 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"895fd9ef3a3ab4a07da0d682ce015d46f89073d9ffe132fb954d92f4bab2c551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:40-49 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:40-49 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8393c12f9d535d0191cf85ef4d12d46ade811bab6ed0c730fa20d183b550d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:133-141 | packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:148-156 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:133-141 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:148-156 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 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 \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:133\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/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9df44a5a1674f375428654992ad5001606ce86575be51997ea4b7462659745d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:24-32 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:24-32 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d8114ecd247c9784fe31dba5897eb114577aa1b6402e8765a4dfed9b3d7728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:54-62 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:54-62 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b750bfb8c1a301dbe04bc3ccf50b0eb6e7f0d9a8f496730fba7ca5aa04738e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:717-725 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:717-725 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"300f3b7201822c0c236aa1d3a47570e9b25dcb4da370876cfdc6954318f05ca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:828-836 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:828-836 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bbf4496827552592a6469ff4f55514c103c9f539d88a5ca8fc48d175ff6825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:906-914 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:906-914 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bd3fc409b948a0ae061280bad431459831b991c71bbe5ec6916cfa29852d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:916-924 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:916-924 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bc9541059bfedf2034541420f8d12ad756d85085c2b228b9f3187689c0f1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:926-934 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:926-934 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"117742228b50ceb0115ad63b04bef7884cce4412d662c8a2a602735d6f69ba9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:109-117 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:109-117 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 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. 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":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c3f6b2f74f9d39a10479cbe1bf9bbfb21e843619d56cf37964639c129a5c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:188-196 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:188-196 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c3dbcce9ec466b983bf0d5fe1fcf80bc18e1f0dd176fbeb6c15ce80e764c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:198-206 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:198-206 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"717a3bd7d6cbe4bc9806c24efcc1df8fb964c481c8209c95da51964121562932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:79-87 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:79-87 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"201c8a4f74bd118e16b3ad9695518466e3b01cad0a6e10103a71a78d47e8836e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:89-97 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:89-97 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"114f05049c0f1bae62527876b0ff9f6ba6dddd64dde76378f258765c3ec5b38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:99-107 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:99-107 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32ad2254ce7f052233b65cca770bc6dbd6bd488f0d295022b9c6a6094a79a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:138-146 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:138-146 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62ca37ed3e1a1dcda14887ed09af3e37675a39c37c6bac2b3a9d12facd5a3e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:22-29 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:22-29 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 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. 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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a454c31a1580ed8d354eee0103fbf6f7d66971877c5a110a1b803e4775e0d17b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:126-133 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:126-133 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 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. 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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7852aca7db4215af7dc8ea9a5011c97b13a642e5f54926ee6b217ce65eeebbb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:189-196 | packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:189-196 \u2014 before extracting anything, compare \u0060packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aca703789ffd31815d9b8b00e8340dfa33c7a8e39fbecfe8ecac10d27d3a84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): packages/firebase_in_app_messaging/firebase_in_app_messaging/ios/firebase_in_app_messaging/Sources/firebase_in_app_messaging/FirebaseInAppMessagingPlugin.swift:318-323 | packages/firebase_in_app_messaging/firebase_in_app_messaging/ios/firebase_in_app_messaging/Sources/firebase_in_app_messaging/FirebaseInAppMessagingPlugin.swift:340-347 \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/firebase_in_app_messaging/firebase_in_app_messaging/ios/firebase_in_app_messaging/Sources/firebase_in_app_messaging/FirebaseInAppMessagingPlugin.swift:318\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/firebase_in_app_messaging/firebase_in_app_messaging/ios/firebase_in_app_messaging/Sources/firebase_in_app_messaging/FirebaseInAppMessagingPlugin.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"8211b13e2fa1ccf020554b7aa4f97247c5155086205ba6c6965ee123d0fb7dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:70-77 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:70-77 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8b7ce40818e78394fe35c7ec4691dbb426feac512ace6907374b5e56bf8271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:223-230 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:223-230 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdc6d27c4b74a30a0581af17c32a903b8fd52b9645ab01ed154076c6543b901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:337-350 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:337-350 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7bbe2a73a70c9be281b209a30124277df33a4f7cea18305fa638a3001a742b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:352-365 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:352-365 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"711e34991ab7eda60108c46ff3feda075c626962aa0957bddecbfdbb0b283a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:76-83 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:76-83 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 125 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 \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:76\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":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7c2792d1cb0b12a0bca54a69210823fdbc9aeb1f1a04ada968fcf7a0e3e028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:401-418 | packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:145-162 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:401-418 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:145-162 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 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 \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:401\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b942f1edcaec58a79e41a30603670f0b6b75d16108dbd335e63975597acdac32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:255-261 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:255-261 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 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. 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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d624ff3878ba84a9584d3485a04dbc37fcf4f4ed599572df3b5871ec09404eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift:144-150 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift:144-150 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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. 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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd45c308ca82815252c47dc825fc6f942a61efe7552995f02fe06e00b37d7519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:280-286 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:280-286 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 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. 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":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2c4b5fa888c3213b16126c777dc7d3e2a27cbf1230e99eec04a0d7dabf75c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1175-1179 | packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1274-1278 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1175-1179 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1274-1278 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 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 \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1175\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 before the matched lines, \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1172\u0060 calls \u0060asArray\u0060 and \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1271\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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"754ee1dc27af589c3b46c8be538e1af148a5a7090960227cd3ca1895acf42f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:153-157 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift:153-157 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 146 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. 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":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FirebaseFunctionsPlugin.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3bf9b82538e6b04436112e5701b756c85261acb71302efdde7130d46de20b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:388-397 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:388-397 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6ad3260f3a555ed685613dfa9f681ccc11b8ec56cc392eae299850cc7fdfad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/SnapshotsInSyncStreamHandler.swift:18-37 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/SnapshotsInSyncStreamHandler.swift:18-37 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/SnapshotsInSyncStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/SnapshotsInSyncStreamHandler.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":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/SnapshotsInSyncStreamHandler.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeda9c41f7457ffbc4d7a31666142b13c1c2dbc34c92d72b35e483cd9a88f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:28-40 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift:28-40 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/DocumentSnapshotStreamHandler.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"276129ba05dd92875eabf9e1e03cc174266de1bd087983000b75cefad867598e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:125-131 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:125-131 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c199c92417e2dd7fe9eea16cbb12910a6d5947889ba7ed1d3ecb428ab9cb185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:199-204 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:199-204 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a93662f0847e497a8082e7e849ab14d60a0e4c3e48fc2aab0accbc196c466ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:341-347 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:341-347 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e9a7fe2da64d6979d2d0376ae9660eb2afa057a141b0a76588ad9dbec74b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:349-359 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:349-359 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aaea608ef25cdf55f398af9b9e851f24ee52628c55ac6de7ebb105d336d238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:883-887 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:883-887 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd3a4a0310ab20136cf776fb66a768e5c78017c475231b1958cc89efa1e35ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:889-893 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift:889-893 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 777 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FLTFirebaseFirestorePlugin.swift"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"0680ad6c3e9007390b6ce22ebdbae0efae9adce357de5659de67763a4fe77a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:52-56 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:52-56 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21763523858c935f1c54b43c0d92e8b8b9a7ac69384ea1e7416bf4e59ee79b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:58-63 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:58-63 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39791c91b7f3a29e31bb16a54da9ac4fcaeb15fcf505a217c4b53901ffb6c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:65-69 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:65-69 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fbb3a5cd00e97f3a30d38064b995c28a5714da5082213f0bc9802a901891af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:208-218 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:208-218 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"383a4767d845b037b567b0efd06880565f9de35d30ca97e503afb56b9bc9507c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:220-226 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift:220-226 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreUtils.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"434d3035660e19275caaae14fd506c410d56df9c41ee343ac7fbb5e15eb464bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:97-102 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:97-102 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70f93c4f49fe80a88cdd23de74f2e66bad5c4a78556f92b5acdf1c8b949cdab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:146-158 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift:146-158 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a20d85e9433e165685bbf89fd8baa500a6767bdad998169cac24b6a82934be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:13-19 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:13-19 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"415d2d140758d542524f6f26330d70c0fe18db421bc9a73e59c78c370134b292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:214-223 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:214-223 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"778dcd23b3b30a77652aa385b6bb24ce476d53f33724ee7e462962d048024306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:225-230 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:225-230 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d0117cd512a6133cc3bc244bfe825aecf6eb19a11ab0bc3a2d917bd1748870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:232-243 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:232-243 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"547a341f36038e13951f7ce7b994f9afa2b047d055ad4121cdffcea698aa99cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:245-252 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:245-252 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"683df898758a16b3bde60025557cf9b3081b07d6ba9acf1f2f77c71fc98c0c48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:263-274 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:263-274 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41774974b698888e6bbca33c4c3f3b22c88a7d502c9894db6143559384161c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:328-336 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift:328-336 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 294 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f5211afeeb86d3931c324603ad759170a8594f120736fc853d34626a9fa946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:74-80 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:74-80 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c78b53c21e2b993305da91012abddc0990edcd011415e9fd8bf94b35b723fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:117-123 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:117-123 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b832863b45e6af0626ba96926a0c95c7e9e8d1f58fa42fac1512431bc6cb87f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:135-140 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:135-140 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf34289415395d9be9b5c919f6af449f45022b018476d5dc91d19eb57f8b79a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:178-182 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:178-182 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc23fbde8f88bb0634e184923b29c56621a855b85a69827517e985ee76ead42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:273-278 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:273-278 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e9d21a15e283d341f9f0baecb8832e79974121a28567fe23f26fc32c9c085b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:296-304 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:296-304 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cd4b8809c2d2173739449546c1f4006d0434624d63bb59751b3dc3c1ca80eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:971-976 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:971-976 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4e05d8cdcd269d402b2882a19587df073ad7016bafccdde975a683f705765f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1559-1566 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift:1559-1566 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1446 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"94410a19ad951f0ad516c84887556c6721914e211bf33350a40d854df09333d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:31-43 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift:31-43 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/QuerySnapshotStreamHandler.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"44131cd32c69624a871c4726f0282878c00e4477915ba4d3f5bc9d4ef535ae52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:155-164 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:155-164 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0396691cbe56e77852e932039400743ee2f180cb4df1fd1300dd729523d981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:166-170 | packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift:166-170 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 149 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ef2517666ed92e3bd8cfabf2079a827c8f637162be181502cd5476789e926b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift:22-30 | packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift:22-30 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift\u0060 and \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.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 2 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":"packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"34176fc599ccea81988ea19c800fc932e5f27bf1b45e0eb1d3125d3674e1094e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:69-75 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:69-75 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3d9f8e46b2fa91c110bd2ab62343a6c26139e25eb05d139f4063382bcab07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:77-83 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:77-83 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddc87b572b055216313807631694b5aaae87b03819ec0b620d20713389f195e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:90-96 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:90-96 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d375691f100e97d892addcf4022a3626a8f87e9877a2264e1dbf5d8176d4816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:121-127 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:121-127 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"474c06a2af40a26e8323d1f6af056053e9ddcef8ecc166cac22f027db0fcc220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:134-142 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:134-142 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5e3735f3c9601fdac69deab13c8f8aa7d0e322215ebc6073a55ffdb7fa2644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:309-318 | packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift:309-318 \u2014 before extracting anything, compare \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 226 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Sources/firebase_analytics/FirebaseAnalyticsPlugin.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c806767758ee92ec2e3627f4e39ea8272bca039f6bff3b4ed64d574139ebcd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:302-308 | packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift:302-308 \u2014 before extracting anything, compare \u0060packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 and \u0060packages/firebase_app_check/firebase_app_check/macos/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"12743b03730e2c93c6f46384677e8be290ffa256ca09a3fcc5db4d8ccc5f261d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:91-98 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift:91-98 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/FirebaseInstallationsPlugin.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"765bd8b62487937cec6b64cb027ed7cf30a15206c32372d62ecc0b026a1c445b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift:70-77 | packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift:70-77 \u2014 before extracting anything, compare \u0060packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift\u0060 and \u0060packages/firebase_app_installations/firebase_app_installations/macos/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/ios/firebase_app_installations/Sources/firebase_app_installations/IdChangedStreamHandler.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"742f7b281f17352b11105507228b104cdb8cdd93168be0fcfa25f45ed7986e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift:44-50 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift:44-50 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.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 2 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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTAuthStateChannelStreamHandler.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2921ca91523dea253423016eacfa1e789458b692b6b8b939c528da373156df85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:90-98 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:90-98 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f38f0bd64df74793294581d5c59f50f0c9c2a0942b5d38406f53ec48076550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:185-193 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:185-193 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fed5884d280243102346315b7350d2cd1ec426ec5999999d16982da30fe0de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:195-201 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:195-201 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0848a8ba2b3811da9af8f8cab301d1834dec364c2e6dc6f28b0fb078c454d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:223-232 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:223-232 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfc4be5c4858ea7d3267b2ad4744e34e3e86efe9bfae2804267f894dd2ba826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:681-687 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:681-687 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fe8db18f55b52a268847fd8a91f582f25858bfb33b270661b019cd9ab2c08c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:727-733 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:727-733 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"add0c51e237efa131f0fa77661a7eda1b6d73f9a8325b1e6fae0221e1613f9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:849-857 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:849-857 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4189c858ac8b4bfb490fc2cab5448a539640957aa6cb2df151befb64873ff68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1170-1177 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1170-1177 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb334ae4e361a4d9cf0fa4a7994f2fd34b3e9f3dd3273bed36095fe65438b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1179-1190 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift:1179-1190 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift\u0060 as WHOLE FILES: this scan already matched 53 separate duplicated blocks between them, totalling at least 1095 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"923b79f5499a828585834af78b8862022f77b1440be4c5774fbbca1a94012635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTIdTokenChannelStreamHandler.swift:44-50 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTIdTokenChannelStreamHandler.swift:44-50 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTIdTokenChannelStreamHandler.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTIdTokenChannelStreamHandler.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 2 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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTIdTokenChannelStreamHandler.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc26a3634359f227ee6080ebd1344148a6cf1181787128c65057d376727c0c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.swift:23-33 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.swift:23-33 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.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 2 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":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bae6f18f4d3ac736c666880a669f6816532065d478e49fc260394bf066306cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift:9-19 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift:9-19 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"20901897c5a61513658dfbd887f4661d708f8c58f326b0cce0bbf0f158534d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift:25-30 | packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift:25-30 \u2014 before extracting anything, compare \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 and \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/PigeonParser.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/PigeonParser.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"309915bfb9e1e8f27f09b61404b31f3134173c654077391680fcab35a9d98312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:119-126 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:119-126 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"177ce01485ceafedf802b7cc2c335c849678fe97cd821bb24152359643689cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:201-215 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:201-215 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1f3c89b8a0383c13c310997e7fc99d27ed24cdc8ad7943e076b2b96e37b192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:243-252 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:243-252 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b6d409c1ead65450cd1eb4cbc8a0f3fd57c509e6ff8374afad1c205489c616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:254-261 | packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift:254-261 \u2014 before extracting anything, compare \u0060packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 and \u0060packages/firebase_core/firebase_core/macos/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"270beedc56ff0e52303e4506026e4b0402c89273b9aef6700f35bc1f8e291460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:64-68 | packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:64-68 \u2014 before extracting anything, compare \u0060packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc0d5dd43a23e8e964fa560b77f97930fc0a2dfb18c1435b65271abe0c403f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:80-84 | packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:80-84 \u2014 before extracting anything, compare \u0060packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd62a05d79d1a23e1f5252e1a80819a808964f31ffa1fe2dc31a0503c220d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:86-92 | packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:86-92 \u2014 before extracting anything, compare \u0060packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f78659c8c12b78b3dd30a326e64fb5972e76fb15ff9975fa20132b111ebf292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:162-168 | packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:162-168 \u2014 before extracting anything, compare \u0060packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec816294a014c439cf6eec8549dfbe587ea66443c239480d4f90a5b2eaed9fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:170-176 | packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:170-176 \u2014 before extracting anything, compare \u0060packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"38abec575c13fc0feebe7386c2e02ebd1ff2ba597d99e9c462de60000aee82a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:178-185 | packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift:178-185 \u2014 before extracting anything, compare \u0060packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/ios/firebase_crashlytics/Sources/firebase_crashlytics/FirebaseCrashlyticsPlugin.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce5303405768059a3927f6a67ee096249ec265532c390adb6a3c8140be1987f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.swift:18-22 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.swift:18-22 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.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 2 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":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseObserveStreamHandler.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0341d2e5a5c9e42552adde2c8107405498f4c39ca7dfb84923ee3a64fef2a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:113-120 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:113-120 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1ce086be223f12ea477bcb52c5bfeb230b771bb11dd55be09a8959bf6cec8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:122-129 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:122-129 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"73faabfdd8352b1c08fa280cffc3e6b4c9da6244e5297f7ccd4aa6cd17217021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:165-171 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:165-171 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff70292e48656a3a6c09bf117de8cc66363d343a437889c31ba6545918e56d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:208-215 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift:208-215 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 587 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1998312fb871cc79619f0cc6212dec9562ddfe853906203a8ae58515df73a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:18-25 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:18-25 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"541efbb238a5a3558dc22c07a46c867a513410b4a7cf4bb0127bcd52d74300d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:67-71 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:67-71 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8999639aa90b49241f7a022ceb9a4207bf9ba0f7f3af6e2d5dbc18caf72d15b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:171-179 | packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift:171-179 \u2014 before extracting anything, compare \u0060packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 and \u0060packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 241 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca223a90d2c179590446bacb16492e8769a1cc62d397d28c4b729871cf32a3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:62-68 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:62-68 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74ff5ff6aba21e15265a01ff3fa627131848818ba8a03478d04a148ca42c388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:180-186 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:180-186 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d5f2cb9c3e02cc9e3b5be844a696e5a21414976fbaa7f17f395d4ae00978a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:251-258 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:251-258 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b635a3b5f12bd080163fd38524a3a6c0fbd82379d33d6a644e6c7e46978a6f14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:260-267 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:260-267 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4b3ca1283294642c41c86f3715eb3a0db321bab7a817e2c999e51ec9ceb17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:269-277 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:269-277 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb3818adb79d304171f95871a63f8ff4d9ddd59353bd997ead9814b88fcccab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:288-295 | packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift:288-295 \u2014 before extracting anything, compare \u0060packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 and \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config/ios/firebase_remote_config/Sources/firebase_remote_config/FirebaseRemoteConfigPlugin.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa83bd3283824e58a742ef1bc2371e4c201757326d6ab0dbab5fdc0833a70748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:58-62 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:58-62 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"52011eb91b10fa7f3ecb4be96bc7bdd6b4c683f5c918997c5380a0e1acbbee3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:64-69 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:64-69 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"572b0a30a8f92b55e8e0b8c9e6871f3dc6e96a14811267a9b231201014dcbac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:91-97 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:91-97 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f03d1477c66a96341d865d70073f74f8ee9358f12e7603ae45944a14b51434d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:99-105 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:99-105 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab50c00c1d99df8565dd2f46127746cff286abf6952e0db067ad6142c60e761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:107-113 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:107-113 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71cd5af5589baafd0e8403f9ddc84af23a323b4f6daffc2bf476fdd75702a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:450-456 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:450-456 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"88febc62a9d3473c3f255d864f26f30db6688da8c16187fe7fe167c2cd5a9182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:458-463 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:458-463 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47d5dae888b36dbfc6cd2bae2118ac14bb81bc404a8dac051e88a9c3296c500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:485-491 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:485-491 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b02545ac63b88dad684d4ead2f0f28f7b360809b4e2d10df5d4b346df4c14db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:24-28 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:24-28 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0453c4527c867161026ac73468db055217431ee22cd59929fc3cfded2922c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:135-142 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift:135-142 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7769e93f60390ae0f9a7e50ee9fabcafb75d3610ccdec95f577a7242eb1ba920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:420-426 | packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift:420-426 \u2014 before extracting anything, compare \u0060packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 and \u0060packages/firebase_storage/firebase_storage/macos/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 416 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/FLTFirebaseStoragePlugin.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2ee4580a957ee17c13319e5ca30ed5a4f27749c76fa26317b108bd36dfeadd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): packages/firebase_ai/firebase_ai/example/lib/pages/capabilities_page.dart:110-128 | packages/firebase_ai/firebase_ai/example/lib/pages/chat_page.dart:258-276 | packages/firebase_ai/firebase_ai/example/lib/pages/function_calling_page.dart:740-758 | packages/firebase_ai/firebase_ai/example/lib/pages/grounding_page.dart:157-175 | packages/firebase_ai/firebase_ai/example/lib/pages/server_template_page.dart:613-631 | packages/firebase_ai/firebase_ai/example/lib/pages/tts_page.dart:145-163 | packages/firebase_data_connect/firebase_data_connect/example/lib/main.dart:253-271 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/main.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3262e4316d662010c3e46e90ca9122f0be09b3f08a68ac92db79e35732507465"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:50-83 | packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:144-163 | packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:242-267 | packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:280-313 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9483b4537b5b113c3ae3aba0e1ff540dcd880365e737097787b4907784893a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): packages/firebase_crashlytics/firebase_crashlytics/example/lib/main.dart:232-251 | packages/firebase_crashlytics/firebase_crashlytics/example/lib/main.dart:255-274 \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":"packages/firebase_crashlytics/firebase_crashlytics/example/lib/main.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"18adf3c42678ac569a3e99efee29ed08335cd724e336985c9e59bd4dc3d42b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 7): packages/firebase_ai/firebase_ai/example/lib/pages/capabilities_page.dart:110-128 | packages/firebase_ai/firebase_ai/example/lib/pages/chat_page.dart:258-276 | packages/firebase_ai/firebase_ai/example/lib/pages/function_calling_page.dart:740-758 | packages/firebase_ai/firebase_ai/example/lib/pages/grounding_page.dart:157-175 | packages/firebase_ai/firebase_ai/example/lib/pages/server_template_page.dart:613-631 | packages/firebase_ai/firebase_ai/example/lib/pages/tts_page.dart:145-163 | packages/firebase_data_connect/firebase_data_connect/example/lib/main.dart:253-271 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/main.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a25dbd7d9650ef7ba6347f80f4210b031fe93972fa2e5ada36f9cf38fc4b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:67-83 | packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:297-313 \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":"packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"65523452e3e0e2680d8874befd375136dbb6e8488bb9da2568cf0e19dc65bfff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:50-61 | packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:144-155 | packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:242-254 | packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart:280-291 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/main.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd364e765b3e505d5573204b95d7700597298bf9a594e9eeb60d942671fca5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cloud_firestore/cloud_firestore/pipeline_example/lib/main.dart:1277-1283 | packages/cloud_firestore/cloud_firestore/pipeline_example/lib/main.dart:1352-1358 \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":"packages/cloud_firestore/cloud_firestore/pipeline_example/lib/main.dart"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"df09559a764c71ab64e048b2a66eb4470dd7fbac34aa69a8e795268762cd49d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 15): packages/cloud_firestore/cloud_firestore/example/lib/firebase_options.dart:11-24 | packages/cloud_functions/cloud_functions/example/lib/firebase_options.dart:11-24 | packages/firebase_analytics/firebase_analytics/example/lib/firebase_options.dart:11-24 | packages/firebase_app_check/firebase_app_check/example/lib/firebase_options.dart:11-24 | packages/firebase_app_installations/firebase_app_installations/example/lib/firebase_options.dart:11-24 | packages/firebase_auth/firebase_auth/example/lib/firebase_options.dart:11-24 | packages/firebase_core/firebase_core/example/lib/firebase_options.dart:11-24 | packages/firebase_crashlytics/firebase_crashlytics/example/lib/firebase_options.dart:11-24 | packages/firebase_data_connect/firebase_data_connect/example/lib/firebase_options.dart:11-24 | packages/firebase_database/firebase_database/example/lib/firebase_options.dart:11-24 | packages/firebase_in_app_messaging/firebase_in_app_messaging/example/lib/firebase_options.dart:11-24 | packages/firebase_messaging/firebase_messaging/example/lib/firebase_options.dart:11-24 | packages/firebase_performance/firebase_performance/example/lib/firebase_options.dart:11-24 | packages/firebase_remote_config/firebase_remote_config/example/lib/firebase_options.dart:11-24 | packages/firebase_storage/firebase_storage/example/lib/firebase_options.dart:11-24 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/example/lib/firebase_options.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7a5632edb9c3b2014537794632c0fe33a5c08169d982c97db4f21ec83b71a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 13): packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_date_and_timestamp.dart:58-62 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_director_to_movie.dart:139-143 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_person.dart:53-57 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_timestamp.dart:49-53 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/create_movie.dart:76-80 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/delete_movie.dart:48-52 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/delete_movie.dart:115-119 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/get_movie.dart:115-119 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/seed_data.dart:44-48 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/seed_movies.dart:44-48 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/seed_movies.dart:74-78 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/thing.dart:55-59 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/thing.dart:84-88 \u2014 there are 13 copies across 10 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 13 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_date_and_timestamp.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1a4f09c8227bb89ceeaa85161932b6c9fd2b8ca394372441c31ab99211823e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_date_and_timestamp.dart:91-95 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_timestamp.dart:81-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_date_and_timestamp.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d053bdbc387062fe65687256c5791105447e9afb9b01bff1e1ea4a119ac5a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/firebase_data_connect/firebase_data_connect/example/lib/generated/list_movies.dart:135-139 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/list_movies_by_partial_title.dart:117-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/generated/list_movies.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1423a63ce1ddee9e861597a9503abb8bb3353092a4e33174f312d15d3a4fd92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_date_and_timestamp.dart:41-53 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_director_to_movie.dart:122-134 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_person.dart:37-48 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_person.dart:104-115 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_timestamp.dart:32-44 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_timestamp.dart:98-109 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/create_movie.dart:60-71 \u2014 there are 7 copies across 5 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 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_date_and_timestamp.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8db17e5e897023c8803acd54afe1f5ffa8189279a371370b71b57fbf6b1fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_person.dart:120-126 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/list_thing.dart:123-129 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/thing.dart:154-160 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_person.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b85dad6d9a8b6a267013f9cbc2e339f5543f25bb116f2e127cde322f1d7b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_timestamp.dart:16-24 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/delete_movie.dart:16-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/generated/add_timestamp.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f470a1d40aba8ead7857fd9757b189cd6ed6499fe1281c4602b16d151ed8e8e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_data_connect/firebase_data_connect/example/lib/generated/delete_movie.dart:80-86 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/get_movie.dart:83-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/generated/delete_movie.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7fac3fc0e652716f2591b3033f08b6bb6967962e16f3bf97b90975a0a7bd7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/firebase_data_connect/firebase_data_connect/example/lib/generated/list_thing.dart:100-106 | packages/firebase_data_connect/firebase_data_connect/example/lib/generated/thing.dart:129-137 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_data_connect/firebase_data_connect/example/lib/generated/list_thing.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ef58676f92be9e18d8958e7bf97dfd0f2045ff1d95e7822a1ab465da6a6b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 15): packages/cloud_firestore/cloud_firestore/example/macos/Runner/AppDelegate.swift:6-12 | packages/cloud_firestore/cloud_firestore/pipeline_example/macos/Runner/AppDelegate.swift:6-12 | packages/cloud_functions/cloud_functions/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_ai/firebase_ai/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_analytics/firebase_analytics/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_app_check/firebase_app_check/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_app_installations/firebase_app_installations/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_auth/firebase_auth/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_core/firebase_core/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_crashlytics/firebase_crashlytics/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_data_connect/firebase_data_connect/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_database/firebase_database/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_messaging/firebase_messaging/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_remote_config/firebase_remote_config/example/macos/Runner/AppDelegate.swift:6-12 | packages/firebase_storage/firebase_storage/example/macos/Runner/AppDelegate.swift:6-12 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/example/macos/Runner/AppDelegate.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/pipeline_example/macos/Runner/AppDelegate.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":"packages/cloud_firestore/cloud_firestore/example/macos/Runner/AppDelegate.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9e3a41eef5542d5a4abbe4b43eb3a5f2d00a00d148e63ea982af9e0f50edb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): packages/cloud_firestore/cloud_firestore/example/ios/Runner/AppDelegate.swift:6-12 | packages/cloud_firestore/cloud_firestore/pipeline_example/ios/Runner/AppDelegate.swift:6-12 | packages/firebase_ai/firebase_ai/example/ios/Runner/AppDelegate.swift:6-12 | packages/firebase_app_installations/firebase_app_installations/example/ios/Runner/AppDelegate.swift:6-12 | packages/firebase_auth/firebase_auth/example/ios/Runner/AppDelegate.swift:6-12 | packages/firebase_data_connect/firebase_data_connect/example/ios/Runner/AppDelegate.swift:6-12 | packages/firebase_database/firebase_database/example/ios/Runner/AppDelegate.swift:6-12 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/example/ios/Runner/AppDelegate.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/pipeline_example/ios/Runner/AppDelegate.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":"packages/cloud_firestore/cloud_firestore/example/ios/Runner/AppDelegate.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b191216e50dc0263f40ba6172031d876da2f2b298fdf0e37ad9118e2dd243d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): packages/cloud_firestore/cloud_firestore/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/cloud_firestore/cloud_firestore/pipeline_example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_ai/firebase_ai/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_data_connect/firebase_data_connect/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_remote_config/firebase_remote_config/example/macos/Runner/MainFlutterWindow.swift:5-14 \u2014 before extracting anything, compare \u0060packages/cloud_firestore/cloud_firestore/example/macos/Runner/MainFlutterWindow.swift\u0060 and \u0060packages/cloud_firestore/cloud_firestore/pipeline_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":"packages/cloud_firestore/cloud_firestore/example/macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8db043f272368cf1a0486d5d15ab62c4417cc0289d62043b0864a0f4100c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): packages/cloud_functions/cloud_functions/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_analytics/firebase_analytics/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_app_check/firebase_app_check/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_app_installations/firebase_app_installations/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_auth/firebase_auth/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_core/firebase_core/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_crashlytics/firebase_crashlytics/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_database/firebase_database/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_messaging/firebase_messaging/example/macos/Runner/MainFlutterWindow.swift:5-14 | packages/firebase_storage/firebase_storage/example/macos/Runner/MainFlutterWindow.swift:5-14 \u2014 before extracting anything, compare \u0060packages/cloud_functions/cloud_functions/example/macos/Runner/MainFlutterWindow.swift\u0060 and \u0060packages/firebase_analytics/firebase_analytics/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":"packages/cloud_functions/cloud_functions/example/macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a063abad3f253e622bbb42ccd08af72e8cff22eac9b37543d254419d2d793130"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: firebase_core_web: firebase_core_web: abstractness 0.13, instability 0.08, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 12 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"be81959cb37f0da7b0072d781f11ba7f792a9bc822c095a31cbe6c8e4752830b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: firebase_core_platform_interface: firebase_core_platform_interface: abstractness 0.29, instability 0.00, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 19 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"064e63755b31d8a6ce13dfd3cabe22c5d6c706c3df6f2cdf4f3d1cc780578331"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: firebase_core (pub): firebase_core (pub): abstractness 0.25, instability 0.05, distance 0.70 \u2014 zone of pain \u2014 concrete and depended on by 40 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ab74ba095d418d6a37d1cf2316ce63e6c799df3bef890a5e64558f2c95bd4ef9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAnalytics (LCOM4 51): FirebaseAnalytics\u0027s methods fall into 51 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 51 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65b1443bfed7e67f00f3df310b700d841988283b0765b73416f49e9fc718dd9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAuth (LCOM4 33): FirebaseAuth\u0027s methods fall into 33 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 33 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"276eab25d7f5dba8f990750256343ba14d06d2d67326a971fff9dd730a045f7a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAuthPlatform (LCOM4 33): FirebaseAuthPlatform\u0027s methods fall into 33 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 33 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_firebase_auth.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a96ea017dcbbcfdf154dac15417ccb78db1f5cb2ce487e09123f39ed3e380c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Auth (LCOM4 24): Auth\u0027s methods fall into 24 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 24 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_web/lib/src/interop/auth.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9822d36a2eee36db1d4e7c227c50cd98c6abcf634bb42826896d2b55297c0e2f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseFirestoreWeb (LCOM4 21): FirebaseFirestoreWeb\u0027s methods fall into 21 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 21 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/cloud_firestore_web.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"34922e95b3df639d1f315f9b833b5066c091d11e96905a16b43949e42806f660"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAuthWeb (LCOM4 20): FirebaseAuthWeb\u0027s methods fall into 20 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 20 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_web/lib/firebase_auth_web.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cf42b43996b60e5493abc9e48398299e7bb64fbcb4d51d3852a0b286ba4561"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserPlatform (LCOM4 19): UserPlatform\u0027s methods fall into 19 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 19 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_user.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"667226edda1eed00bb120d70cf6713d21131eb1b5b7bdf7ed822efbc16b5daad"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: QueryPlatform (LCOM4 18): QueryPlatform\u0027s methods fall into 18 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 18 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_query.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca26a794fd1631dc93d462caff1716cb0397a2bc11aa764001ba64b506262956"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseMessagingWeb (LCOM4 16): FirebaseMessagingWeb\u0027s methods fall into 16 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 16 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging_web/lib/firebase_messaging_web.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebdfe05597a9f2fc795ceb39bc532d3ec5cc3e59b4255f960386c34232e94fa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseFirestore (LCOM4 16): FirebaseFirestore\u0027s methods fall into 16 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 16 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/firestore.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33f85290cd37be486d456ef2c21f0024e0dc231eff35fd282679f27191c53c7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseFirestorePlatform (LCOM4 16): FirebaseFirestorePlatform\u0027s methods fall into 16 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 16 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_firestore.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4394c5b44e69ce2cc8ee6f2d0f65d9f46e867d2783b116ba042133f910fd4695"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseMessagingPlatform (LCOM4 16): FirebaseMessagingPlatform\u0027s methods fall into 16 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 16 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging_platform_interface/lib/src/platform_interface/platform_interface_messaging.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c42c1f0647ca06157b541599d6e5fce9ccdbc18a60846b692576b11f0e358a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseMessaging (LCOM4 15): FirebaseMessaging\u0027s methods fall into 15 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 15 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging/lib/src/messaging.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"223ff0f818128e279984e6c5b141aaf3d31250182060b50e2e56743038460489"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAnalyticsWeb (LCOM4 12): FirebaseAnalyticsWeb\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics_web/lib/firebase_analytics_web.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0cf3138f7b30056a7550945541d0ce2de87245dc96ce4bae830379fe4ba1c3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseRemoteConfigWeb (LCOM4 11): FirebaseRemoteConfigWeb\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config_web/lib/firebase_remote_config_web.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3486c37e8c8157ec6196bbaa5fa02ece07864211dbd9148835db937d139aadbd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseCrashlytics (LCOM4 11): FirebaseCrashlytics\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/lib/src/firebase_crashlytics.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4f0a3fae69073d7efb945372045a67cd54787ea128425571ea91426171e9c9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseRemoteConfigPlatform (LCOM4 11): FirebaseRemoteConfigPlatform\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config_platform_interface/lib/src/platform_interface/platform_interface_firebase_remote_config.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce6de7fc395e17ab496a1f7df4fddcab6c002766c763abee89c6995cb8c5e9f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RemoteConfig (LCOM4 11): RemoteConfig\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config_web/lib/src/interop/firebase_remote_config.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13ce4678d4cf5a08c1c219a5d1f47cef3d1814ca59d392008f2838d70d991c3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseCrashlyticsPlatform (LCOM4 10): FirebaseCrashlyticsPlatform\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics_platform_interface/lib/src/platform_interface/platform_interface_crashlytics.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"38185646d395d8c681d5a55d80cc5bb4e882d0dcf6fc028cd445ede889f80963"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseDatabaseWeb (LCOM4 9): FirebaseDatabaseWeb\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_web/lib/firebase_database_web.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"34610b2de8e4edaaf522b85694b0d9e819114043ea7982f0bb6ea116fb184b97"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseDatabase (LCOM4 9): FirebaseDatabase\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/src/firebase_database.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f665b6678b7a918fc6880fbac85ced3f5af6f24aa7ce48930ccd45e825b3ef4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReferencePlatform (LCOM4 9): ReferencePlatform\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_platform_interface/lib/src/platform_interface/platform_interface_reference.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa7d1be735e36e7998602fdd281c53cdf83173b5541e05428a7eac70ae79da2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseInAppMessaging (LCOM4 8): FirebaseInAppMessaging\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_in_app_messaging/firebase_in_app_messaging/lib/firebase_in_app_messaging.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b934d6386a3bbb2ce47434219c17d739d4b64d37cba3eb5ab1873c8e437100dc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAnalyticsPlatform (LCOM4 8): FirebaseAnalyticsPlatform\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics_platform_interface/lib/src/platform_interface/platform_interface_firebase_analytics.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"631d4d230cce67763d6a1f5bd371c18a287864b53ec08414b99c516354758646"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DatabasePlatform (LCOM4 8): DatabasePlatform\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/platform_interface/platform_interface_database.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"339a19002563c3c280a54becdde1da207ba18feb519c1ac1fba87fd16653cebf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAppCheckWeb (LCOM4 6): FirebaseAppCheckWeb\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check_web/lib/firebase_app_check_web.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14f42e6ffcf7cefd1bcc7f6dd6ab598fb7f2bb5d54db36a53446d617c77da3a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DocumentReferencePlatform (LCOM4 6): DocumentReferencePlatform\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_document_reference.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"387589198f1008c498d0d9c6946930c79a9b25814d3aa9ce30df6b526edcf40f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Timestamp (LCOM4 6): Timestamp\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/timestamp.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f3443d6b7c72faf19d7b05e7b06493b04d0a41d250ba08b90a1c0b2c01a3f5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAppCheckPlatform (LCOM4 6): FirebaseAppCheckPlatform\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check_platform_interface/lib/src/platform_interface/platform_interface_firebase_app_check.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8df7763de1f1494edbd556def8ab4b52cc442c3f50c6bfe565933163de6cf31"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MethodChannelFirebaseAuth (LCOM4 6): MethodChannelFirebaseAuth\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_firebase_auth.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59bae035c8dc1b6bffa237c2098a6da74d0b30a45f173607e16d03f5f1189a0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseList (LCOM4 6): FirebaseList\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/ui/firebase_list.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fcd44130790dff1bf04cd900eb7c323f5eca393baefb2c649f90de2290e7f1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseSortedList (LCOM4 6): FirebaseSortedList\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/ui/firebase_sorted_list.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd1ee7b1b5b730ea3c81863b50c6e4d670a43ce5415e60e103195f2d69fd947"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAppInstallationsWeb (LCOM4 5): FirebaseAppInstallationsWeb\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations_web/lib/firebase_app_installations_web.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2065efd2a3c9ef986bdbc31fe15f2f8912f904a6c58a0a333ca4a6e6632301e2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CollectionReferencePlatform (LCOM4 5): CollectionReferencePlatform\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_collection_reference.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30d6c2d9870517796ecbfeb32ed4d5dcd71f6f176408b7a706587569765b2f4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseAppCheck (LCOM4 5): FirebaseAppCheck\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check/lib/src/firebase_app_check.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f415904d2ee4b9af9ce4f5443f3114a635698fec55afab69c6923a0caa2ef931"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MethodChannelFirebaseMessaging (LCOM4 5): MethodChannelFirebaseMessaging\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging_platform_interface/lib/src/method_channel/method_channel_messaging.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eab761a459f1bd8c9d9496c50688a70ee4ead4c6181a19fce54d0f167fdb50a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Messaging (LCOM4 5): Messaging\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging_web/lib/src/interop/messaging.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a7b2ac64b4d35cac86fe0bfd3ee7ec613e38ba1da146298470c72e61fdd756"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebasePerformance (LCOM4 5): FirebasePerformance\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_performance/firebase_performance/lib/src/firebase_performance.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fef9809a35e4335c7ea89eb931af81dd34f76e31e6dfd9a1d8a4f32a8a497e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebasePerformancePlatform (LCOM4 5): FirebasePerformancePlatform\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_performance/firebase_performance_platform_interface/lib/src/platform_interface/platform_interface_firebase_performance.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ecb96f163cb673a6adf9b74419a204f68f0a4e9c0f3e0910cb9f1f2b5c3fe3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AuthGateState (LCOM4 4): _AuthGateState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/example/lib/auth.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4e40e8806af6d59663480184a9d5b7703211d0a55033773fef01f82c487d59"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebasePerformanceWeb (LCOM4 4): FirebasePerformanceWeb\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_performance/firebase_performance_web/lib/firebase_performance_web.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cbca5b31f673c40949239903e2379bcf1cda19355f656676bb7781e1ef4be1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MethodChannelPipelineResult (LCOM4 4): MethodChannelPipelineResult\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_pipeline_snapshot.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b89337a496facbb7cc2c6ba30fa499427ea869f56a1c52ff98e4a0347abd544"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PipelineResultWeb (LCOM4 4): PipelineResultWeb\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_web.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1413df14afda0b17c7960739e02fa052b1b8737119155331a21105483d6e285"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseFunctions (LCOM4 4): FirebaseFunctions\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/lib/src/firebase_functions.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f120b6b396f78abffa6632926e40df6b0f283949ded71cd35a4ad27ca48d76e8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppCheck (LCOM4 4): AppCheck\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_check/firebase_app_check_web/lib/src/interop/app_check.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c53fbcdd0c2dcf68821d0d827b7bb500981b2286b98dfae0b51a63164e9e52"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Installations (LCOM4 4): Installations\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations_web/lib/src/interop/installations.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7f7236587361ab6a5192032b7df85b20e3c2989ac5d26ae8e26fa42cdbdb84"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseApp (LCOM4 4): FirebaseApp\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/lib/src/firebase_app.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dd4c74f241f446ece77373b2f55e0f8d5cd70d4c0421cc5d7ccb3d353b50bb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseOptions (LCOM4 4): FirebaseOptions\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core_platform_interface/lib/src/firebase_options.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"906a9a5bdf472854d69fc909fe3ac256794d456804019763ffdb9d541eb93abb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FirebaseCoreWeb (LCOM4 4): FirebaseCoreWeb\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aeef6b307be907dca300bb3b1fef8622bd2a754de40adc122ca3b57d86f37e7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UploadTask (LCOM4 4): UploadTask\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_web/lib/src/interop/storage.dart"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc93e5431102cd733b5f58082ec054e4297be7f284f591d7df690529fff0b4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/firebase_ai/firebase_ai/example/lib/pages/bidi_page.dart: packages/firebase_ai/firebase_ai/example/lib/pages/bidi_page.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _BidiPageState.build at line 793. 3 of those changes were fix/bug commits, 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/firebase_ai/firebase_ai/example/lib/pages/bidi_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":"packages/firebase_ai/firebase_ai/example/lib/pages/bidi_page.dart"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"55de7477158ce8d3838a5ab8e817690ef708f965a0ff88bc90007ba0f9460758"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/firebase_ai/firebase_ai/example/lib/pages/integration_test_page.dart: packages/firebase_ai/firebase_ai/example/lib/pages/integration_test_page.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in _IntegrationTestPageState._initializeTestCases at line 97. 2 of those changes were fix/bug commits, 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/firebase_ai/firebase_ai/example/lib/pages/integration_test_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":"packages/firebase_ai/firebase_ai/example/lib/pages/integration_test_page.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9808b49877970c4d4b4073f8b59b22089b628ffbaa8136995d7e17307dbac70e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java: packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in FlutterFirebaseMessagingPlugin.onMethodCall at line 550. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java\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/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"3670360037b378b5ccaa4bdd6b364f6291d22ac52d656aaeaee18d062858f9bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart: packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in FirebaseCoreWeb.initializeApp at line 297. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.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/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b7b0082eaf8c0520b853e00104f272b2caf9f4a150a51ca8100e61c11afa02"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/firebase_messaging/firebase_messaging/example/android/app/src/main/kotlin/io/flutter/plugins/firebase/messaging/example/MainActivity.kt: packages/firebase_messaging/firebase_messaging/example/android/app/src/main/kotlin/io/flutter/plugins/firebase/messaging/example/MainActivity.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in MainActivity.configureFlutterEngine at line 33. 2 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/firebase_messaging/firebase_messaging/example/android/app/src/main/kotlin/io/flutter/plugins/firebase/messaging/example/MainActivity.kt\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/firebase_messaging/firebase_messaging/example/android/app/src/main/kotlin/io/flutter/plugins/firebase/messaging/example/MainActivity.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb53a84304ee217abba3e2c0204de11b10e690af4ded1f10652e34dea1c99cbb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/utils/firestore_message_codec.dart: packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/utils/firestore_message_codec.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in FirestoreMessageCodec.readValueOfType at line 152. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/utils/firestore_message_codec.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/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/utils/firestore_message_codec.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ee5bcc4123e2fd5bd9f5a90ae47debc80c99262d249849e5a94774142c3451"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift: packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in FunctionsStreamHandler.httpsStreamCall at line 37. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift\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/cloud_functions/cloud_functions/ios/cloud_functions/Sources/cloud_functions/FunctionsStreamHandler.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b735a265ca3675e2da0ce2e992ed0f329f4a832f32bf3405c50a13dc61d597d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/firebase_auth/firebase_auth_web/lib/src/interop/auth.dart: packages/firebase_auth/firebase_auth_web/lib/src/interop/auth.dart changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Auth.setPersistence at line 644), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web): properly cast Map from JSAny?.dartify() (#18855)\u201D; \u201Cfix(firebase_auth_web): fix Wasm string list cast and dart:io import (#18847)\u201D; \u201Cfix(auth,web): fail onWaitInitState instead of hanging when the first auth state is an error (#18705)\u201D; \u201Cfix(auth, web): connect Auth emulator after reload when sessionStorage already has the origin (#18690)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/firebase_auth/firebase_auth_web/lib/src/interop/auth.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/firebase_auth/firebase_auth_web/lib/src/interop/auth.dart"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbca936e20b26094e06aef15f0992187e1ccd4a1a47dd2311094541aa4e9774"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift: packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is AppCheckProviderWrapper.configure at line 352), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(appcheck,apple): map native error codes by enum case (#18875)\u201D; \u201Cfix(appcheck,apple): forward getLimitedUseToken to the configured provider (#18719)\u201D; \u201Cfix(appcheck): normalize telemetry token on iOS/macOS to flutter-fire-app-check (#18706)\u201D; \u201Cfix(appcheck,macos): fix how appAttestWithDeviceCheckFallback is working on fallback (#18568)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift\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/firebase_app_check/firebase_app_check/ios/firebase_app_check/Sources/firebase_app_check/FirebaseAppCheckPlugin.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60361931fb69bf20da518b8e4a85a7fe6e56b0833dd4df32b6fa3eb84651c0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/firebase_auth/firebase_auth_web/lib/firebase_auth_web.dart: packages/firebase_auth/firebase_auth_web/lib/firebase_auth_web.dart changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is FirebaseAuthWeb._createStreamListener at line 117), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(auth,functions,web): rethrow non-Firebase errors instead of crashing in the error mappers (#18923)\u201D; \u201Cfix(auth,web): fail onWaitInitState instead of hanging when the first auth state is an error (#18705)\u201D; \u201Cfix(auth, web): connect Auth emulator after reload when sessionStorage already has the origin (#18690)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 14:04:13 \u002B01:00\u0027 --until=\u00272026-11-10 14:04:13 \u002B01:00\u0027 --full-history --no-merges -- packages/firebase_auth/firebase_auth_web/lib/firebase_auth_web.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/firebase_auth/firebase_auth_web/lib/firebase_auth_web.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dd8971828f455fa10bddb4713d3a2e7f50ee29bfadd797ee2153714728bc3f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 17 significant file(s) lose their only recent owner: packages/cloud_firestore/cloud_firestore/lib/src/pipeline_expression.dart, packages/cloud_firestore/cloud_firestore/pipeline_example/integration_test/pipeline/pipeline_expressions_e2e.dart, packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart, packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExpressionParsers.java, packages/cloud_firestore/cloud_firestore/lib/src/pipeline.dart, packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/JobIntentService.java, packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/PipelineStageHandlers.java, packages/firebase_core/firebase_core/android/src/main/kotlin/io/flutter/plugins/firebase/core/FlutterFirebaseCorePlugin.kt (\u002B9 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f4f6f2f716bd5c3ab27ce59ac3d01fa1a93a5048443827d04324789558e78617"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 9 significant file(s) lose their only recent owner: packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingReceiver.java, packages/firebase_auth/firebase_auth_web/lib/src/firebase_auth_web_recaptcha_verifier_factory.dart, packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/QuerySnapshotsStreamHandler.java, packages/cloud_functions/cloud_functions_platform_interface/lib/src/firebase_functions_exception.dart, packages/cloud_firestore/cloud_firestore_web/lib/src/interop/utils/utils.dart, packages/cloud_functions/cloud_functions/android/src/main/kotlin/io/flutter/plugins/firebase/functions/FirebaseFunctionsStreamHandler.kt, packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebasePermissionManager.java, packages/cloud_firestore/cloud_firestore/lib/src/write_batch.dart (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8a7f5c73b991d5e1cf42fdbbe803cfb82a5addb2b2351f9e4d7dd95993c56a85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(russellwheatley): test randomly causes an auth sign-in failure due to duplicate accounts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration_test/firebase_core/firebase_core_e2e_test.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c67825c4bdef7b4ced9dcca52624c6d36d8e425d863f4c3ebb289192d9dbf92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should this be initialized with the metadata currently in firebase? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_web/lib/src/reference_web.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9198a7b7edb7a18a65d5dcddc4a31a5308ef3a47d4fa23a93832cf71e44095a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kevmoo) - figure out if a settable md5Hash makes any sense \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_web/lib/src/interop/storage.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"9408b6a08729eaa76ad9d9261e16d3bc07ce1a42cd186dfb68241c226fddee64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - new API. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_web/lib/src/interop/storage_interop.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08375146d781b0f65d42aa366f4478eec456bcf51879d0e83e5ff5c7791108a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - new API. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_web/lib/src/interop/storage_interop.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7d9629f371875692a122ae7e4e6c6c1048059d203dc8e879252ef55b0c29ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(russellwheatley): sending null to windows throws exception so we pass empty metadata \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_platform_interface/lib/src/method_channel/method_channel_task.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a957da3084aac538c8367deefd54d934ae00aa2692e23b83009651ae632292"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ehesp): Add stack trace support when it lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_platform_interface/lib/src/method_channel/utils/exception.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f9b5bbca4449d8208c4140204ec4f279519efd3baa85676fe7f8944f75304d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(helenaford): regexp can\u0027t handle no paths \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/test/utils_test.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6bdec6d0e20cdc3bdaa882340928b41b483e810f9596a329273e258be96a05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(pr-mais): causes the emulator to crash \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/reference_e2e.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d05575662cb540f0b67216590d668a919e11314bbeab60048343bbed9bd450c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ehesp): Emulator rules issue - comment back in once fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/reference_e2e.dart"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcc17c090bbf5ab76243f6c5b31545c6c89572e29d06aa9f05d521243c53990"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(russellwheatley): raise issue on C\u002B\u002B SDK, if object does not exist, it throws \u0022unauthorized\u0022 exception \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/reference_e2e.dart"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9045aec27d2f1813551255102601f0ee30697df97cb500526b8d976530b69f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(russellwheatley): raise issue on C\u002B\u002B SDK, if object does not exist, it throws \u0022unauthorized\u0022 exception \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/second_bucket.dart"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb2d82d499c4771798f397833ff96d4d2a9f71d85e0a5b20ae2e6d3f3d6854e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // [TODO] This test always time out for catch the exception \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/reference_e2e.dart"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b15a52d8c7edfac8318092ef9b16958fec0724b3d8e49f953c37c81ef362140"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - remove this note if still appplicable - Metadata isn\u0027t saved on objects when using the emulator which fails test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/second_bucket.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"892ac64f7216fde267676ff1efa6b9085976d8246fbb78f754147ffd7079e42a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Salakar): Known issue with iOS SDK where pausing immediately will cause an \u0027unknown\u0027 error. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/task_e2e.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0080e540923b8d2255a1a415971a61bf6710f158341bf429c08537fea907c39d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Salakar): Known issue with iOS where pausing/resuming doesn\u0027t immediately return as paused/resumed \u0027true\u0027. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/task_e2e.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acf38db4e6c3d72dab4853a1a325f780f80ec87668e06de23265a5b10d27248"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Salakar): Known issue with iOS where pausing/resuming doesn\u0027t immediately return as paused/resumed \u0027true\u0027. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/task_e2e.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd19581ac0a9c89922ed3a1b53c5237557c913494f3f9990b9589630c3b7581"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(russellwheatley): Windows works on example app, but fails on tests. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/task_e2e.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fb4efcf599bac60e3773b79a7d1708f87ec0a4bb4c891043126324e7703b4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(russellwheatley): Windows works on example app, but fails on tests. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/task_e2e.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b61397a7f5a3e978579b5c7e3dba9b30958d7182d3e963c55ba2b312388a5c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Salakar): Test is flaky on CI - needs investigating (\u0027[firebase_storage/unknown] An unknown error occurred, please check the server response.\u0027) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/task_e2e.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0a2fa58e183fb72e4288984d4aead7a82ea07d3e20d7ead53f82c09a259a7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(SelaseKay): move this white-box core reinitialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/example/integration_test/task_e2e.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"38976e1e16e8165398dc4b9f858df6d3e7725f4ddebd12e4ad8e93716ad9087b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - \u0022instrumentationEnabled\u0022 is also a setting property on web to be implemented. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_performance/firebase_performance_web/lib/firebase_performance_web.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c755604980d8c2edccc1fa23bfcac6c00b8e23881fd5e838ccc98cb2aae3bbc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update API to match web \u0026 iOS for \u0027dataCollectionEnabled\u0027 \u0026 \u0027instrumentationEnabled\u0027 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_performance/firebase_performance/lib/src/firebase_performance.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"415ea35605ec5a5a353709925ae7fe8010b1bacc030f81cd8c5d3c382ad268c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rrousselGit) dead code? Should this throw an UnimplementedError? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging_web/lib/firebase_messaging_web.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"45eebd4a352960a65aacd72aa9c60498faec828548b56474e23c6d01429dfd66"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add a proper drawable resource to android, for now using \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging/example/lib/main.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1318304ec09c0c814021d2ac135dfa83671bacd808862e7526b7ef3baf9228d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - new API for implementing post web v9 SDK integration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_web/lib/src/interop/database_interop.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"42aaa1311d827226df9866fff04032d9debff591b0e7163a270806cd936ea449"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - new API for implementing post web v9 SDK integration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_web/lib/src/interop/database_interop.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7455ded63cc03ae294d358ec2e891fa064ee5d545629f766900a91176065294"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ehesp): Using \u0060get\u0060 returns the wrong results. Have flagged with SDK team. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/example/integration_test/query_e2e.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfe95b0a12340ac8a2a2483379390332c0375de3a20e612552a526a373990a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove once Crashlytics public API supports isCrashlyticsCollectionEnabled \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/android/src/main/kotlin/io/flutter/plugins/firebase/crashlytics/FlutterFirebaseCrashlyticsPlugin.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"1758a4dcb0841885e814fa5d184dd4657169bdc75132ea4c7370f50e9282b6ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rrousselGit): Either FirebaseAppPlatform shouldn\u0027t overrides ==/hashCode or FirebaseAppWeb should be immutable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core_web/lib/src/firebase_app_web.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8790cd964a2d932bc9d3e95c04d5fdbe3e5d49f2c123695436c8553b77de60bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Lyokone): should be deleted once all plugins are migrated to use js_interop \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core_web/lib/src/interop/utils/utils.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa8c7c698031f2b7f717dc39fce93edaed7d3c4bde5a7c6cad0b7944ad0e7bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rrousselGit): remove ==/hashCode \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/lib/src/firebase.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e83483e41d6c0a10f90e537e18e109fddca47000caca8974a627c0237badcf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Salakar) hacky workaround a bug with FirebaseInAppMessaging causing the error: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core/android/src/main/kotlin/io/flutter/plugins/firebase/core/FlutterFirebaseCorePlugin.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1d2c4fa08c4f97de547331c76163a72bbd57548daa0ea7b1a5a0dcb68159e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rousselGit): cache the \u0060user\u0060 instance or override == so that \u0022.user == .user\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/lib/src/user_credential.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ed9806ab472a6a4f0fea4671057f80be97c7d7621af3b3b2a86362d0360529"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(SelaseKay): this is crashing iOS app when running on CI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/example/integration_test/firebase_auth_instance_e2e_test.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6e414429ded83015e5be452cebaecd4425d3328c34d6f7a9b61b6687f40722"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(SelaseKay): this needs to be investigated as now failing on android \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/example/integration_test/firebase_auth_instance_e2e_test.dart"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ba3c453567026d67cc5df5b87b6f3ba8879b51c27e62541f3286e43054da75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add custom claims and tenant id tests for id token result \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/example/integration_test/firebase_auth_user_e2e_test.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb4ee5b58bce7ae8abb01481447bbcfb3384e5382ef875022c972bb9d39848f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO can this be moved to be shared for all plugins that use emulators? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/example/integration_test/test_utils.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b123117f870856fa3e048552852c0b90c7a9d842fc5fdac422af6b09fc77581d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ci): getToken deadlocks (5-minute timeout, reproducibly) on the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations/example/integration_test/e2e_test.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddcfaa447cc1bb5b9057b799d507c2c8fc976af2c18a1e42a65bf79c5941531"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Salakar): Is this an API core could provide for testing, e.g. Firebase.reset(). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/test/mock.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bc888b8e18c009f0f11a960b5f782bf083a0de0ad16866256d8df4e4aa23b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Lyokone): remove once we bump Flutter SDK min version to 3.3 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/lib/cloud_functions.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ff5b8839a1401879e3d871e8ee673d237956e0ab25d7801d78a08c7e09e9dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Lyokone): remove once we bump Flutter SDK min version to 3.3 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/utils/firestore_message_codec.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a110ac05ae4a28939c0b38a94a01e40568499a6e7c12c0a58d47a7c258a2f09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Lyokone): remove once we bump Flutter SDK min version to 3.3 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/utils/firestore_message_codec.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc5752dcdf0fa622813eb8f34a10b7ff0cb0f9ab7a7a8fbd9607305e018c57f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: [SnapshotListenOptions options] \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"00172a84fd0a73aba5c40fe4f6e504e11fef6f5eaab998b4b057a4b8c7e68601"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this should be refactored to use \u0060convertPlatformException\u0060, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_load_bundle_task.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f814c37a45c1943ff7e53b38c54e3c22119932a420d97def9e3236acb5068dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rrousselGit): can we cache the result, to avoid deserializing it on every read? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/document_snapshot.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"343eebff9b894f9be07125b5546ec2b22848dd793d6d8ddfbe99601ed555a49b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rrousselGit): use package:stack_trace to merge the error\u0027s StackTrace with \u0022incomingStackTrace\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/_flutterfire_internals/lib/src/exception.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4226c72f195b8682d5b392129e82b63d1ae5fbf5af90bab7d5b665a484139275"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"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":"f40d8d29010e050a71acebacabfadf2a7d09995dfcc9510a23057d16c0e73bc2"},"properties":{"commitSha":"49009687d448bc3ac7f6dd06d82c03ffbcdf86e8"}},{"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":"914b071c11ca8265db7de857f2296abbb34a299dfe7df50a39777e79ba51b27c"},"properties":{"commitSha":"3a5fd2c836cf35633e2b3375b01c6eb17f56337e"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7160779db43e2e47f5ed45392498fe7d5f82381445c26356ead326bbbdf95013"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb6ee54a4e333da7e21cad6c00ed00879fed2d83020761fb427122fe6eb68b25"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"facad5be874aef24f648397c2827bcebb6a5f68effcc635f67b045f44eaf8f71"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8b6890b9c031247fb0bc3e872a494ffc17cdbd2b9be4065afeaae6172151e2c"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46a9e21f51e33350bd7acbde3f7fd0a8a8cf0acc6e6fc6fc5b9c36078d00828e"},"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":"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":"ea904fa868587fc1fa835cd8cc1ee40f2d82abd85496506540a8d8021d360c26"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cca417b6a75869e1b51ff9277cb73b474d528377ae0d2b34b06a9f8b428c4f2"},"properties":{"dependency":{"package":"websocket-driver","version":"0.7.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93a26802ec812c627a1150aef3c397f5465c2986eb9dc63db27abc8487eea62e"},"properties":{"dependency":{"package":"@fastify/busboy","version":"3.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c60e9a273744603a355af2ba7415df8bb909c70d078da58e18ee06d753a9ce7d"},"properties":{"dependency":{"package":"@grpc/grpc-js","version":"1.14.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffe817a4f0f697d69bd5add75259e1fce69fc71fdf0a46a02859f2503c8397cd"},"properties":{"dependency":{"package":"body-parser","version":"1.20.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55d1e23eeab113c90e1edcae621a1fdc861c2feee560036e913775a20974f32d"},"properties":{"dependency":{"package":"qs","version":"6.15.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e52359c99e1ed6881c4a6096866cc4ff0185740d255bb621ec58cc18fb4cb78"},"properties":{"dependency":{"package":"uuid","version":"9.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/query.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfb6bf9901c10aadf7c237e3ad378607503e1e767d9753ded4e7673b9976dfb"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_web/lib/src/interop/storage.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f62bf76f4e61b1ad430dbeb6efd7c2355186ca6ab7ec08ec521b859bfcc5287"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 68 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart, packages/cloud_firestore/cloud_firestore/lib/src/document_reference.dart, packages/firebase_messaging/firebase_messaging_platform_interface/lib/src/remote_notification.dart, packages/firebase_crashlytics/firebase_crashlytics/lib/src/firebase_crashlytics.dart, packages/firebase_database/firebase_database_platform_interface/lib/src/query_modifiers.dart, packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift, packages/firebase_database/firebase_database/lib/src/database_reference.dart, packages/firebase_storage/firebase_storage_web/lib/src/reference_web.dart (and 60 more) (70 orphaned of 313 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 313 of the 728 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/dartpad/lib/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e68b280da8522354262162c0f881f5003c1bd68195172322202a5cf062bb9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/document_reference.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e042ce34f83e54e3e3b30dcd25371d0917457ac1c2cdf6ce9d2d3a17084628"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging_platform_interface/lib/src/remote_notification.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3427e3555d29251c0139b876638191b70446d29c0433797a9ed7125e8e8a0d88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/lib/src/firebase_crashlytics.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"638caa92b5fdd5e7d7f9a23cae23b56cd9b1d15784bf3d46183cd2de882c2796"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/query_modifiers.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2212963caf41c243fef3695ebbda7a59d924f129892e5250f32536d6765c283a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabaseUtils.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33930d9c58d01d3ce563c23ed72e4b8a73db4f29bb0d8dbdf4f41e2561b00b61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/src/database_reference.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d959a1df67c59a032c383ea842c2e2e02f292e64de20c5e6336bc794ef88e7d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_web/lib/src/reference_web.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b506bf04bd0c0ac22b43ecf918494755017ed4d648a68611a6a636661eed8aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/src/query.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80acb0d81cc22f20a00c8cc8f4c3638df2a9f0ce1d2c8721fa58f555f94deabb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/src/firebase_database.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e1911dbc0cfb9ce635e439de300b92bb49e6c9a9e8d6aa2ffc7c19bc4e0e2a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/ui/firebase_animated_list.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0354f4d296c0557352d367548a5630b6a0316297e11d190a9bef034a147764a8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/platform_interface/platform_interface_database.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0e6bb6d7469b87c3db4cfb7b097cc459b56ea353c48001964a36581a5e0187"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/method_channel/method_channel_database.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9847043fdf28cc2fcb73cf1396fab909eab1cc6a31195f140bbad35dde3cdf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_platform_interface/lib/src/platform_interface/platform_interface_reference.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfec328421d4319ccd99a1bd7acb51ed7acfcbf94a4cb02eacc1b53dd35b2ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config_web/lib/firebase_remote_config_web.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f30d6b1deca1b9055a780d2530ebe58f8f2eefcd24f8d8ae55ba1e8f416a7c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/platform_interface/platform_interface_database_reference.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc5b38503822e4f9c56cac9034ef9e7b06dfe715f2656b128dbff795f319e4a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/method_channel/method_channel_database_reference.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa571c883f44427b23bdf3c17482fbede2553bcc2bd0ae585b96dad3845c10b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_analytics/firebase_analytics_platform_interface/lib/src/analytics_event_item.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eb13f39f11275ed72429a5d213ac27db826ef67cd68835436a1ab5556bdafb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/ios/firebase_storage/Sources/firebase_storage/TaskStateChannelStreamHandler.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d61055733e6af7338292350e6657d882ac5e86fca0610e45a5b12af35e7be30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/pigeons/messages.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd4782cfcf503c0a91bfdb381350901d569039908e90f625610e1970cc9275b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_performance/firebase_performance/lib/src/http_metric.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade3ac47ead433e79e3782426e7ec11fa7e41b0e75a28fcef5add32840713cc4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_document_snapshot.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fc1eedb7be522cfbd117f8a2da71927d032f7a9327e3897a4e75d12eb90756"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_web/lib/firebase_database_web.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db90517501a61384d6d7abd9c18ae82b8714fbf806f6ba447a35b9bcf57daa39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/document_snapshot.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"781245398c49e5412d4785b50d88bdf4085b2300126812780056b1fede9aed44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_field_value_factory.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef33e419eda388a19e67846c4e73d0c444f4bf501fe09731e985dc96ac67939"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_performance/firebase_performance/lib/src/trace.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"145219b4ba5e145cfff10bcc4aa45279b55b19bf34c8a075099c2f5c6442b39a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_document_reference.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2fe085eccb4cb6314b74d66dab4f5055945d136d1f7b0e08a6eb729833ddee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/providers/oauth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf98d88a52bd2df6afcd1045b7014979d68c4afdc640e39abe059b85c74077b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/platform_interface/platform_interface_recaptcha_verifier_factory.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e869cd7a5fe5e09a3f77dae05da850927e8a5cec40514b26b55d5e377506bbd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/ui/firebase_list.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a280c6d4da0d1a50cd4b3e419e98a9a4ba98e7006ef3217067cd69b7040d27fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/TaskStateChannelStreamHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba6ef1c1e21b8c142c2f8f20bb0883a4d6cee131b03b0e3ba97426270a82ef3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e35456561117ed7fbcb705828b5f14ba368283b88cb608eca2b3b92fb79acd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/ui/firebase_sorted_list.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b371c838e9f9b178100f5267959eae051ab157ad5b6802b3294c6c1a4bd7c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging_web/lib/src/utils.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd616ed52b805e65ded64c0cc061d8c06fde0fa77f266fd8cd7006cbdb8005f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/transaction.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c822504bdf145961dbf2266d2730f9d3afc12081e110cafc04f974827877d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth/lib/src/recaptcha_verifier.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19048bfac95b5149d0ba2b78c728f34e9c43e3515c779de698ac4c64771fbd58"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_performance/firebase_performance/lib/src/firebase_performance.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"997d699332eb887b7b85e103d807d9bd11dca83d9dd6a8aeac8e96b411d8c73a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/providers/google_auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"847163e7e7cbb28f196cb842fbfb1cfc7fc0623999706a37bf0b23dc06d011e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/lib/src/task.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60feebcc5e2b74d9539d48250f590ee2a88f4ffb4c4290c80c85fce90397889f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/platform_interface/platform_interface_query.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb6e6bb7c59045449200f85e6b131733a7cfde0520a402133a662d90548c29f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/providers/facebook_auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be37ba793e4734064d928da58a298ae406da16eefdf303d1a73ef3158d358c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions_platform_interface/lib/src/platform_interface/platform_interface_https_callable.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a1c23e301d774cf73104c9878d8e39620a6db043aaf516061733a4042142db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_messaging/firebase_messaging_platform_interface/lib/src/notification_settings.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"769cf3de0d99203decb65040035b14bdcdb4a53a17f7ff3e77a9285c20100b37"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/providers/twitter_auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fe0bd0de113c5aaa8c4bcba449120ffc6567fb89533e007678279967cc7e04"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/providers/github_auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a686c86db50f6c12013ad839f6714d7d7c2a05f2e0b4500f65b91167e667039"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/password_policy/password_policy_impl.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c1f7c0f2cc13aad7662e1ab9ece475b1cdfa650db8b8b76464dd27b3f4935b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_web/lib/src/utils/metadata.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"137b677f81d90e418c6df0221dbb09831223896dbef538b85615cf2a31427e2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/method_channel/method_channel_data_snapshot.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a49c19125cdb9a0cfc210a7d3200e7b120e103a004567cfbbe1f04e25a431f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/query_snapshot.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b1c93af10fc851781e7af43f62aad2b696507c271db347f7a10c85442d00ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage/android/src/main/kotlin/io/flutter/plugins/firebase/storage/FlutterFirebaseStorageException.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f6304395a59290ddb92afc4ddbec52d80c915ba67583bf8bf224488fc97738"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_platform_interface/lib/src/full_metadata.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9fc3e35baccd6a73ec8b9c798d3682d3c41abb72d136f2bf6388b711e04bd8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExceptionConverter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b88cbf47b58d1b208cd54953cca929a34a42fa16e9e64380b6e982f9ce834c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/providers/email_auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae98a72d8140d08940ba7d94061166e2e1d9490ae61aeb1e92d3d166435ba973"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_transaction.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8bb30a0583e828241b2cb49208d7a36ecd0541d437455d03b3bbb2dce546ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/get_options.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53faf7a9bc68fe93813c54d27c046a8a841ea60da578472401b97fba45121ce3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_web/lib/src/database_reference_web.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2e693a82e55aea4fed26da1be229fbe6eb2f84867fe2b33fd5a45034990525"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/lib/src/document_change.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c390aa337e07253bd323c513c3504078beca8fb18545dbd412db37f11eaf0998"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/providers/phone_auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d81b99752a13b919e3b04b0fe4fb94bad62d3b8f35fee8dd90cd9eec07727fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_storage/firebase_storage_platform_interface/lib/src/platform_interface/platform_interface_task.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fe9f5987c83017b0ee0e693feeb1b6224d6b71f90e304dbbe49bfb871f3dd6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_app_installations/firebase_app_installations_platform_interface/lib/src/platform_interface/firebase_app_installations_platform_interface.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcef6bd7ba090582d544c961b8b836c6d51829152c6f7d5d52694b7ecca7709"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_core/firebase_core_platform_interface/lib/src/platform_interface/platform_interface_firebase_app.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f274007375711e84f690e4d0809625d155fc982f0a0729aba9331fa835422a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_auth/firebase_auth_platform_interface/lib/src/id_token_result.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84d84e373baf75645a11aeb8e39aff58e67395a1dcc009f2862d8b5d4f34802"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/method_channel/method_channel_on_disconnect.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b91b775ff00fd230708e9d613ec1dc6351f0b417fcea6dab0069255c7d05937"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_collection_reference.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8d69c4fef96e1dcafd6576136031060746569fe8fe2b5248ac3fc39dc91b55"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database/lib/src/on_disconnect.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"192bfa87e36a2b8ffb72109e0450185629fbe2e852ed8b361da5593fe5c9c8be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/platform_interface_write_batch.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fb6fc30a8144d6653adf9b53759369e30a25f507b8ac992d3082530a9ac50f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/platform_interface/platform_interface_database_event.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04551edddde02fc7a18f96e16bc532584a70c8305320061b0a02ab1ecddec29c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/firebase_remote_config_platform_interface/lib/src/remote_config_value.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3a4856fc00620503e630b398855b339f2a0b267fafb03164e5592663e4ebff"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: Package.swift, Package.swift, Package.swift, Package.swift, Package.swift, Package.swift, Package.swift, Package.swift, Package.swift: 9 files \u2014 \u0060packages/cloud_functions/cloud_functions/macos/cloud_functions/Package.swift\u0060, \u0060packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Package.swift\u0060, \u0060packages/firebase_analytics/firebase_analytics/macos/firebase_analytics/Package.swift\u0060, \u0060packages/firebase_auth/firebase_auth/ios/firebase_auth/Package.swift\u0060, \u0060packages/firebase_auth/firebase_auth/macos/firebase_auth/Package.swift\u0060, \u0060packages/firebase_core/firebase_core/macos/firebase_core/Package.swift\u0060, \u0060packages/firebase_crashlytics/firebase_crashlytics/macos/firebase_crashlytics/Package.swift\u0060, \u0060packages/firebase_messaging/firebase_messaging/macos/firebase_messaging/Package.swift\u0060, \u0060packages/firebase_remote_config/firebase_remote_config/macos/firebase_remote_config/Package.swift\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 36 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/macos/cloud_functions/Package.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"537735afaf68613888a0bf5e0e9c2b3f053a3d33986293c8c6877a29add3f5ee"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: firebase_functions.dart, firebase_auth.dart, firebase_storage.dart: 3 files \u2014 \u0060packages/cloud_functions/cloud_functions/lib/src/firebase_functions.dart\u0060, \u0060packages/firebase_auth/firebase_auth/lib/src/firebase_auth.dart\u0060, \u0060packages/firebase_storage/firebase_storage/lib/src/firebase_storage.dart\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions/lib/src/firebase_functions.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45efe4d5218592592a6af15ce50850c16cbe9945fce5fc4ffb10b1bd25d932af"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: firebase_crashlytics.dart \u2194 method_channel_crashlytics.dart: \u0060packages/firebase_crashlytics/firebase_crashlytics/lib/src/firebase_crashlytics.dart\u0060 and \u0060packages/firebase_crashlytics/firebase_crashlytics_platform_interface/lib/src/method_channel/method_channel_crashlytics.dart\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00605e6f02ca\u0060 feat(crashlytics, android): Support deferred component crash stack tr\u2026; \u00608f670e4f\u0060 fix(crashlytics, android): improve reason field handling in recordErr\u2026; \u006017931f30\u0060 feat(crashlytics, android): Send Flutter Build Id to Crashlytics to g\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_crashlytics/firebase_crashlytics/lib/src/firebase_crashlytics.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eee796fe90c6597a34ebb000ae7a2f1ed031f12a6fbbd145702361cf27bd141"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: method_channel_firestore.dart \u2194 cloud_firestore_web.dart: \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_firestore.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/cloud_firestore_web.dart\u0060 change together 62% of the time (13 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060b9c4a8ec\u0060 fix(cloud_firestore): stop dropping filters, settings and instance on\u2026; \u006067017fd6\u0060 feat(firestore)!: remove deprecated functions (#17559); \u0060806c15d7\u0060 feat(firestore): support for \u0060PersistentCacheIndexManager\u0060 for firest\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_firestore.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b9b8625593293bcc24131fba8d4abb34cb3b86931b44694549e5a28ba29c8b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cloud_firestore_platform_interface.dart \u2194 firestore_interop.dart: \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/cloud_firestore_platform_interface.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore_interop.dart\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060cc23f179\u0060 feat(firestore): add support for VectorValue (#16476); \u0060806c15d7\u0060 feat(firestore): support for \u0060PersistentCacheIndexManager\u0060 for firest\u2026; \u0060ac434044\u0060 feat(firestore): add the \u0060Filter\u0060 class and support for the OR query \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/cloud_firestore_platform_interface.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbb44c10bf53a48f076f7f4f92d8a2c024045e3a9d7a4101ba9f2c57460b6ef"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: method_channel_query.dart \u2194 query_web.dart: \u0060packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart\u0060 and \u0060packages/cloud_firestore/cloud_firestore_web/lib/src/query_web.dart\u0060 change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060b9c4a8ec\u0060 fix(cloud_firestore): stop dropping filters, settings and instance on\u2026; \u0060ce6e1c97\u0060 fix(firestore): not passing correctly the ListenSource when listening\u2026; \u006082af6c2f\u0060 feat(firestore): add support for \u0060sum\u0060 and \u0060average\u0060 aggregated queri\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_query.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0cf8c9070d954dcd3063b69344126bfb9b7c29850c28a5769732c26ea08b2a"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Node.js 20: .github/workflows/scripts/functions/package.json declares Node.js 20 as this project\u0027s engines.node, and Node.js 20, support ended 2026-04-30. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2026-04-30 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/scripts/functions/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2fac88ecce9222fb97ec1899fb451aa389ee46ee33b9240eab4a62105362ec"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: firebase_core (pub) (Domain) \u2192 firebase_core_web (Web): \u0060firebase_core (pub)\u0060 is a Domain project but references \u0060firebase_core_web\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f8199ccdebe584e767bc15741e75081fc99136ee1424d7077b1fb0917fa148ad"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking wait inside a handler: TransactionStreamHandler.onListen: \u0060TransactionStreamHandler.onListen\u0060 is an event/message handler that blocks on a synchronous wait (a semaphore/queue \u0060.wait\u0060/\u0060.sync\u0060) \u2014 it stalls the handler on a peer or resource and serialises throughput, and can deadlock under load. Await the work asynchronously (\u0060async\u0060/\u0060await\u0060) instead of blocking the handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"523a53270f0b862c27383d5fc1d12ff4cc5eede77a41f6d856d9d8d67580c36a"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking wait inside a handler: TransactionStreamHandler.onListen: \u0060TransactionStreamHandler.onListen\u0060 is an event/message handler that blocks on a synchronous wait (a semaphore/queue \u0060.wait\u0060/\u0060.sync\u0060) \u2014 it stalls the handler on a peer or resource and serialises throughput, and can deadlock under load. Await the work asynchronously (\u0060async\u0060/\u0060await\u0060) instead of blocking the handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/TransactionStreamHandler.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0347cea11a7b1c943fc5cf7ba98db8c50eea67fbeb9dfe9418b02e624c0e766"}},{"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/firebase_ai/firebase_ai/test/google_ai_generative_model_test.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f61f9c1debd64839cff711664ddc929b1f6c531a85829718415155d7bab135f"}},{"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/firebase_ai/firebase_ai/test/google_ai_generative_model_test.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db31c95b5ae15c3443d186f60c2d0c68e16526e416b06f9f3fda40d8ae2e932"}},{"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/firebase_ai/firebase_ai/test/google_ai_generative_model_test.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e701da5a90fee746cf60fab0cccb517898f5ffc414845491e1c7615189bbfe"}},{"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/firebase_ai/firebase_ai/test/google_ai_generative_model_test.dart"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c801248e1bcc405bdcf92141d308a48dd955e745787488fa1efd405da8a32f"}},{"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/firebase_ai/firebase_ai/test/google_ai_generative_model_test.dart"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ec0e4be2159ce409cd71bfc9d202467150f748ff90461a3fa4d477a158e939"}},{"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/firebase_ai/firebase_ai/test/google_ai_generative_model_test.dart"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13b3137dad7bcdff0158b4b858288fa849368dc03b4d241cd8da2278be34101"}},{"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/firebase_ai/firebase_ai/test/google_ai_response_parsing_test.dart"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27ef93ce7036fb1dccb47f015771e1220136d32f4273ccea3d2c6ace25a57ca"}},{"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/firebase_messaging/firebase_messaging/example/integration_test/e2e_test.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20ab21d6132d6748330ebc0dd4fcaa3eff7ed1377ee6f41edb02d9c6c7f2b18"}},{"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":"P10","level":"note","message":{"text":"Implementation type on the public API: 105 public types in \u0060repository.src\u0060 are marked as implementation by their own namespace, folder or name: \u0060Pointer\u0060 (packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/internal/pointer.dart:8, \u0060internal\u0060), \u0060TransactionOptionsJsImpl\u0060 (packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore_interop.dart:268, name ends in \u0060Impl\u0060), \u0060FirestoreJsImpl\u0060 (packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore_interop.dart:338, name ends in \u0060Impl\u0060), \u0060PipelinesJsImpl\u0060 (packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore_interop.dart:350, name ends in \u0060Impl\u0060), \u0060AggregateFunctionJsImpl\u0060 (packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore_interop.dart:477, name ends in \u0060Impl\u0060), \u0060ExpressionJsImpl\u0060 (packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore_interop.dart:484, name ends in \u0060Impl\u0060), \u0060SelectableJsImpl\u0060 (packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore_interop.dart:539, name ends in \u0060Impl\u0060), \u0060AliasedAggregateJsImpl\u0060 (packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore_interop.dart:544, name ends in \u0060Impl\u0060), and 97 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/internal/pointer.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd2591943786a1deb129d777f047d79fb0cff8af1545334c0ded853eb3632bf"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 4 public types in \u0060repository.interop\u0060 are marked as implementation by their own namespace, folder or name: \u0060FunctionsJsImpl\u0060 (packages/cloud_functions/cloud_functions_web/lib/interop/functions_interop.dart:48, name ends in \u0060Impl\u0060), \u0060HttpsCallableResultJsImpl\u0060 (packages/cloud_functions/cloud_functions_web/lib/interop/functions_interop.dart:72, name ends in \u0060Impl\u0060), \u0060HttpsCallableStreamResultJsImpl\u0060 (packages/cloud_functions/cloud_functions_web/lib/interop/functions_interop.dart:83, name ends in \u0060Impl\u0060), \u0060AnalyticsJsImpl\u0060 (packages/firebase_analytics/firebase_analytics_web/lib/interop/analytics_interop.dart:65, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_functions/cloud_functions_web/lib/interop/functions_interop.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84b5da855544072a299c14c921f8c390c8eceac0e1e28ae49d5538a9bdaf8dd"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 4/45 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060packages/cloud_firestore/cloud_firestore\u0060, \u0060packages/cloud_firestore/cloud_firestore/example\u0060, \u0060packages/cloud_firestore/cloud_firestore/example/ios\u0060, \u0060packages/cloud_firestore/cloud_firestore/example/macos\u0060, \u0060packages/cloud_firestore/cloud_firestore/pipeline_example\u0060 and 36 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"warning","message":{"text":"Analyzer excludes 1 path(s) that do not exist: \u0060packages/firebase_remote_config/analysis_options.yaml\u0060 excludes \u0060firebase_remote_config_platform_interface/test/pigeon/test_api.dart\u0060 from analysis, and no such path is in the repository. These entries are dead configuration: they silence nothing today, and each one is a name the analyzer will silently start honouring the moment a directory of that name appears \u2014 so the file\u0027s exclusion list is wider than anything anybody decided. Delete the entries that no longer name anything, and keep the ones that do."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_remote_config/analysis_options.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65aaa9150796e99cdba9a0ab57ddeddbfaf9bcbf6d0a5549c7ea7006a30a456f"}},{"ruleId":"P3","level":"warning","message":{"text":"SAST runs, but gates no merge: \u0060ossf-scorecard.yml\u0060 run(s) a static-analysis scan, but no workflow that runs one is triggered by a pull request (or a merge queue, or an unfiltered push) \u2014 the scan fires on a schedule or a manual dispatch only. A vulnerable change therefore merges clean and is reported on the next scheduled run, by which time it is on the default branch and the only remedy is a follow-up fix. Add the pull-request trigger to the workflow that runs the scan so the finding arrives before the merge rather than after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"73211886541038635ced0208da9cedd27ed1caa9132fd6aa5e44d2976a4de6d6"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm/gradle: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, \u0060gradle\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3061b3f1b45c496891c98b9bb3cea3326c21d73f556bbc5811a08320341e68a8"}},{"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":"packages/firebase_performance/firebase_performance/example/firebase.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08959ae6bf6f673204ed4d09e4d6d364927d37e3d8c9e3d1a45395b9be7c8e77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!kIsWeb \u0026\u0026 defaultTargetPlatform == TargetPlatform.android\u0060 appears character-identically in 4 files \u2014 packages/cloud_firestore/cloud_firestore/lib/src/firestore.dart, packages/cloud_functions/cloud_functions/lib/src/firebase_functions.dart, packages/firebase_analytics/firebase_analytics_platform_interface/lib/src/method_channel/method_channel_firebase_analytics.dart, packages/firebase_core/firebase_core/lib/src/port_mapping.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/cloud_firestore/cloud_firestore/lib/src/firestore.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c896ed116605967f6227f129a91f783ebb12ef85290bce469a9b58730f95d25b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(mappedHost == \u0027localhost\u0027 || mappedHost == \u0027127.0.0.1\u0027) \u0026\u0026 automaticHostMapping\u0060 appears character-identically in 4 files \u2014 packages/cloud_firestore/cloud_firestore/lib/src/firestore.dart, packages/cloud_functions/cloud_functions/lib/src/firebase_functions.dart, packages/firebase_database/firebase_database/lib/src/firebase_database.dart, packages/firebase_storage/firebase_storage/lib/src/firebase_storage.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/cloud_firestore/cloud_firestore/lib/src/firestore.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa27850ed74c5c507a9489093c1693101162b725981f289c39e4d068d1fc514c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultTargetPlatform != TargetPlatform.iOS \u0026\u0026 defaultTargetPlatform != TargetPlatform.macOS\u0060 appears character-identically in 2 files \u2014 packages/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart, packages/firebase_messaging/firebase_messaging_platform_interface/lib/src/method_channel/method_channel_messaging.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/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"137a67ee9308c8d8ad1c8be1e60f5347bc0bf4f4f69b8505efaf5d3153b1d674"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultTargetPlatform == TargetPlatform.android \u0026\u0026 !kIsWeb\u0060 appears character-identically in 2 files \u2014 packages/firebase_database/firebase_database/lib/src/firebase_database.dart, packages/firebase_storage/firebase_storage/lib/src/firebase_storage.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/firebase_database/firebase_database/lib/src/firebase_database.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e2ab7b41a913d673de09ac74dd915e119baebc281b53b9da875815c05ccafc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultTargetPlatform == TargetPlatform.iOS || defaultTargetPlatform == TargetPlatform.macOS\u0060 appears character-identically in 2 files \u2014 packages/firebase_core/firebase_core/lib/src/firebase.dart, packages/firebase_messaging/firebase_messaging_platform_interface/lib/src/method_channel/method_channel_messaging.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/firebase_core/firebase_core/lib/src/firebase.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c418eeb55eb43107e39e24cdc8f5af04e560b0c05e9b171893849d58e7cd62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultTargetPlatform == TargetPlatform.macOS || defaultTargetPlatform == TargetPlatform.iOS\u0060 appears character-identically in 2 files \u2014 packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_firebase_auth.dart, packages/firebase_messaging/firebase_messaging_platform_interface/lib/src/method_channel/method_channel_messaging.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/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_firebase_auth.dart"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5f16383d3bd0c5db23f1dfcee42f0f1361b20e212cf85229d865df2210883f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exception is! Exception || exception is! PlatformException\u0060 appears character-identically in 3 files \u2014 packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_load_bundle_task.dart, packages/cloud_functions/cloud_functions_platform_interface/lib/src/method_channel/utils/exception.dart, packages/firebase_storage/firebase_storage_platform_interface/lib/src/method_channel/utils/exception.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/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_load_bundle_task.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9de1698f42f36338691236bfea56e558f2f912b22399471ca26cc58d176e904"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expressions == null || expressions.isEmpty\u0060 appears character-identically in 2 files \u2014 packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_builder_web.dart, packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.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/cloud_firestore/cloud_firestore_web/lib/src/pipeline_builder_web.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b958fb93bb1040dc61b6ee526c204a50fe7777c36d0235ac9c2e491e70757ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name != null \u0026\u0026 name != defaultFirebaseAppName\u0060 appears character-identically in 2 files \u2014 packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart, packages/firebase_core/firebase_core_web/lib/src/interop/core.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/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb0b34535edb6f8a08bf850a902ee9b511f3b1cbb1e923772f9f26d563bd66a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name == null || name == defaultFirebaseAppName\u0060 appears character-identically in 2 files \u2014 packages/firebase_core/firebase_core_platform_interface/lib/src/method_channel/method_channel_firebase.dart, packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.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/firebase_core/firebase_core_platform_interface/lib/src/method_channel/method_channel_firebase.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e969c8fdb3827cd55aaea4361329069edb85268de66473e44e3407c448d92b5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other.name == name \u0026\u0026 other.options == options\u0060 appears character-identically in 2 files \u2014 packages/firebase_core/firebase_core/lib/src/firebase_app.dart, packages/firebase_core/firebase_core_platform_interface/lib/src/platform_interface/platform_interface_firebase_app.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/firebase_core/firebase_core/lib/src/firebase_app.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3598267549a2217d854c0739feec09803e6b7934a6be9c30a6a25510eb62c245"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source == ListenSource.cache \u0026\u0026 defaultTargetPlatform == TargetPlatform.windows\u0060 appears character-identically in 2 files \u2014 packages/cloud_firestore/cloud_firestore/lib/src/document_reference.dart, packages/cloud_firestore/cloud_firestore/lib/src/query.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/cloud_firestore/cloud_firestore/lib/src/document_reference.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbed2a329a6d163359ab4456ba272589d7d8b468eac07a44c941fb108d98275"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is String || value is num || value == null\u0060 appears character-identically in 2 files \u2014 packages/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart, packages/firebase_remote_config/firebase_remote_config/lib/src/firebase_remote_config.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/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffc5c8f2cd2f64d1b9d7c2d1404ca8c42bd2387ae5a1fdfb860422c232dcd01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.getMerge() != null \u0026\u0026 options.getMerge()\u0060 appears character-identically in 2 files \u2014 packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java, packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/TransactionStreamHandler.java. 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/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee4c440a53fc5d68776c914cf92d213360db53c070a627465a9b84eb1ba5cd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initialAuthState.getAndSet(false) \u0026\u0026 auth.currentUser != null\u0060 appears character-identically in 2 files \u2014 packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/AuthStateChannelStreamHandler.kt, packages/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/IdTokenChannelStreamHandler.kt. 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/firebase_auth/firebase_auth/android/src/main/kotlin/io/flutter/plugins/firebase/auth/AuthStateChannelStreamHandler.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"251911f4c7d182cbea1c1893be72ff7875befee55065389437939bfd93b0ac1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(FirebaseApp.app() != nil \u0026\u0026 Auth.auth().canHandle(url)) || Self.isAuthCallbackURL(url)\u0060 appears character-identically in 2 files \u2014 packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift, packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift. 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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c0670c9d3227f844d5f8880b1bff26fefb9890335e800b94257725b687c46d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(FirebaseApp.app() != nil \u0026\u0026 Auth.auth().canHandle(urlContext.url)) || Self.isAuthCallbackURL(urlContext.url)\u0060 appears character-identically in 2 files \u2014 packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift, packages/firebase_auth/firebase_auth/macos/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift. 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/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTFirebaseAuthPlugin.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9389a6649af53cf14d268cae147448ef390c05f789dde514c2988afb0941d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060CFGetTypeID(number) == CFBooleanGetTypeID() || CFNumberIsFloatType(number)\u0060 appears character-identically in 2 files \u2014 packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift. 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20796c01916f280be71214d9c68743ed26b0ccf2c99d63b12cca9bc270c3a56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060accumulatorMaps == nil || accumulatorMaps?.isEmpty == true\u0060 appears character-identically in 2 files \u2014 packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift. 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84638e77755f2e36ca43bed3067bdad6d8f602273d7b500df7b82744a8c7d2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.label == \u0022expr\u0022 || child.label == \u0022constant\u0022 || child.label == \u0022field\u0022\u0060 appears character-identically in 2 files \u2014 packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift. 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ece266e540d4e9384579024587f9cf6228bd403c939f933ab9d7071064da62a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060documentChange.newIndex == NSNotFound || documentChange.newIndex == 4_294_967_295 || documentChange.newIndex == maxVal\u0060 appears character-identically in 4 files \u2014 packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift, packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift. 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"162c3f1846230691290bfb7758b18508c5eae83635b9b932fc0a188c8e8cb35b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060documentChange.oldIndex == NSNotFound || documentChange.oldIndex == 4_294_967_295 || documentChange.oldIndex == maxVal\u0060 appears character-identically in 4 files \u2014 packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift, packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PigeonParser.swift. 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/FirebaseFirestoreWriter.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"577bd7441b46cd2adccec972a1f3cb7432d30b48139f603cdad192fd6d1fbd13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kBinaryNames.contains(sdkName) || resolvedName == \u0022bit_xor\u0022\u0060 appears character-identically in 2 files \u2014 packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift. 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de99f75b5f2e89c49899bdc5050ee1a2e935651bda4a64084261a6aaa01fe14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolvedName == \u0022and\u0022 || resolvedName == \u0022or\u0022 || resolvedName == \u0022xor\u0022 || resolvedName == \u0022nor\u0022\u0060 appears character-identically in 2 files \u2014 packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift. 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"58936e5a924e660b1bb24a4e40ceadadaa769ccfebe525b5b68dbfb706dc1406"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolvedName == \u0022array_contains_all\u0022 || resolvedName == \u0022array_contains_any\u0022\u0060 appears character-identically in 2 files \u2014 packages/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift, packages/cloud_firestore/cloud_firestore/macos/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift. 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/cloud_firestore/cloud_firestore/ios/cloud_firestore/Sources/cloud_firestore/PipelineParser.swift"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"46030c050fce1c34d801d0670c508169296ec5306e5d3923f03ef03aa4444e4f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060transformValue\u0060 is public and takes \u0060Object ? value\u0060 from its caller, and it calls itself at line 19 (\u0060transformValue\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060transformValue\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060transformValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/firebase_database/firebase_database_platform_interface/lib/src/method_channel/utils/utils.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b861739316ef9d3f1b23963f912bc92c31e8eb42e1f8cbc62fcb354a85ca68"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060toExpression\u0060 is public and takes \u0060Map\u003CString, dynamic\u003E map\u0060 from its caller, and it calls itself at line 62 (\u0060toExpression\u0060) with a piece of \u0060map\u0060 (and at line 67, line 133, line 204, line 205, line 210, line 223, line 260, line 273, line 274, line 304, line 311, line 321, line 377, line 420, line 445, line 446, line 452) \u2014 and nowhere in \u0060toExpression\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060toExpression\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced95c1389f63ba0814a88d017a9db2acb7606dedde5faf82228fc0ef2b7cf65"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060toBooleanExpression\u0060 is public and takes \u0060Map\u003CString, dynamic\u003E map\u0060 from its caller, and it calls itself at line 574 (\u0060toBooleanExpression\u0060) with a piece of \u0060map\u0060 (and at line 593) \u2014 and nowhere in \u0060toBooleanExpression\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060toBooleanExpression\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/pipeline_expression_parser_web.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c141c6cf49808505a360754fbbba43b74cee4848ca093fd23d6e2c053c8e752c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060filterWith\u0060 is public, takes a document from its caller (line 764) and hands it to \u0060_parseFilterWith\u0060, which calls itself at line 746 (\u0060_parseFilterWith\u0060) with a piece of \u0060map\u0060 \u2014 and nowhere in \u0060_parseFilterWith\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060_parseFilterWith\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"d386dbb51d03c3c265c73490f6d7bc3f7fadc4a577ba05fc5378e273b164c08a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060convertNested\u0060 is public and takes \u0060dynamic object\u0060 from its caller, and it calls itself at line 50 (\u0060convertNested\u0060) with a piece of \u0060object\u0060 (and at line 54) \u2014 and nowhere in \u0060convertNested\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060convertNested\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/utils/utils.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa341d51a2be50d65efba31e539a718e3666956d495c3360466f571052093af"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060jsify\u0060 is public and takes \u0060Object ? dartObject\u0060 from its caller, and it calls itself at line 70 (\u0060jsify\u0060) with a piece of \u0060dartObject\u0060 (and at line 74) \u2014 and nowhere in \u0060jsify\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060jsify\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_web/lib/src/interop/utils/utils.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2c2648b6f3941200367fe3fc174b1ff8e455eb89b94dc6ddbda03df64ba649"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060writeValue\u0060 is public and takes \u0060dynamic value\u0060 from its caller, and it calls itself at line 94 (\u0060writeValue\u0060) with a piece of \u0060value\u0060 (and at line 95, line 106, line 109, line 118, line 122, line 123, line 124, line 135, line 146) \u2014 and nowhere in \u0060writeValue\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060writeValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/utils/firestore_message_codec.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb9ad2c1b22d1bfdd99940da81b54b12678facee8d58cbd6700a239b2d5ae2e"}},{"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":"packages/firebase_storage/firebase_storage/lib/src/utils.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"931b9c3926c22f597e82e1bf7158e3166d5eb454b465f35c2148f2883876e530"}},{"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":"packages/firebase_in_app_messaging/firebase_in_app_messaging/android/src/main/kotlin/io/flutter/plugins/firebase/inappmessaging/FirebaseInAppMessagingPlugin.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ca79efcbe108fa8a650f93b155d753d726617cdf9f003de56366aedbffcb64"}},{"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":"packages/firebase_in_app_messaging/firebase_in_app_messaging/android/src/main/kotlin/io/flutter/plugins/firebase/inappmessaging/FirebaseInAppMessagingPlugin.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2580aa3a0b31125203656ce2da5f4ea95cc6b6a4b1dff24892b81e96531b298"}},{"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":"packages/firebase_data_connect/firebase_data_connect/lib/src/network/hot_restart_guard_web.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bae6d1aea09e982d93f353269dee59e30da785d8c659296baa585e72d4db4c"}},{"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":"packages/firebase_data_connect/firebase_data_connect/lib/src/network/hot_restart_guard_web.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c21aa7732ce95f369f5d684907166721b1855ed318a9a1e125a36501a6bde3"}},{"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":"packages/firebase_data_connect/firebase_data_connect/lib/src/network/websocket_transport.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cfca43336b5a4cef8585825b2653977be85fbb1d67d8a7dc85abe1ab998f9a"}},{"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":"packages/firebase_data_connect/firebase_data_connect/lib/src/network/websocket_transport.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"81810fa1d036168e20adc8b65406945acf106dd82d79b2563f4d03711dfdf5ef"}},{"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":"packages/firebase_data_connect/firebase_data_connect/lib/src/network/websocket_transport.dart"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f7420eef6211ba09ef931857fa1797766be8da37e5afbcc6b3b62264b21852"}},{"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":"packages/firebase_data_connect/firebase_data_connect/lib/src/network/websocket_transport.dart"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a7b3f5502629aea7774f25f8e7aef907dd103a5d78a3e3fd5d54418b0fbf91"}},{"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":"packages/firebase_data_connect/firebase_data_connect/lib/src/network/websocket_transport.dart"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bc9e3bc14969af4ae5d55c4102d1688b63cae543a13f8b25a4160a28ba0db1"}},{"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":"packages/firebase_data_connect/firebase_data_connect/lib/src/cache/cache.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8a66869d346a31f7623a971bbf2a0505390c9a39db5d70e7af752160121274"}},{"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":"packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6a3521a497a21825f92caf0e2fe44e1cd1c04b20ee7f295d7a0f9ade194edd"}},{"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":"packages/firebase_core/firebase_core_web/lib/src/firebase_core_web.dart"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb5d656c78a905408c2a0e09cef94bdf5040fffec8416596f2adcff5edc4c0e"}},{"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":"packages/firebase_core/firebase_core/android/src/main/kotlin/io/flutter/plugins/firebase/core/FlutterFirebaseCorePlugin.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b3f2ff1f8b31eae2be71606bd18d7f0ce9142daefb4f330fddbff6c1867405"}},{"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":"packages/firebase_ai/firebase_ai/lib/src/platform_header_helper.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6304caa03b0d70cbc2a60b47c75ad4dbf0d29ef27d9af5752ebb4fa9f9cd27b4"}},{"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":"packages/firebase_ai/firebase_ai/lib/src/platform_version_web.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ca89193992505433a33fc8a159e11916bdabf74faa68083b7e3edb610131e"}},{"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":"packages/cloud_firestore/cloud_firestore/lib/src/utils/codec_utility.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b0d6570da99526ef81f5a54f23b8746b7d1e0fab0dd9e4341fec9441af934a"}}],"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-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-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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":18,"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."]}]}