{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"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":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"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":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"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":"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":"D2","level":"warning","message":{"text":"FunctionCallingViewModel.handleFunctionCallsStreaming (cognitive 22): FunctionCallingViewModel.handleFunctionCallsStreaming has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"87022009ce40e7247aad6d9b607d6d69a5dc54d5abd50ab790ce3bc78d9e2815"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalViewModel.internalSendMessageStreaming (cognitive 21): MultimodalViewModel.internalSendMessageStreaming has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (8 pts), boolean chains 2, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"82dde62cb7ae1781ce9f8e197af26a19d033bc5405c5f16f1b7fc4d24f499a50"}},{"ruleId":"D2","level":"warning","message":{"text":"PostDetailTableViewController.tableView (cognitive 19): PostDetailTableViewController.tableView has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, ternaries 1 (3 pts), 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":"database/DatabaseExampleSwift/PostDetailTableViewController.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"075e8a643b33a6620dd44302483521feae91c51affdb02d55e1c4c70c751a1ab"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalViewModel.internalSendMessage (cognitive 18): MultimodalViewModel.internalSendMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (6 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7512626c5951116dc3829aefbc8ef1c0e29dbcf6f1566c0e4cf01fc6017474b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassifyView.body (cognitive 17): ClassifyView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 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":"performance/Shared/Views/ClassifyView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a84bd11a0162cacaa5fac71b5f85f5e5a08839702de97a3d81627c215a8d91e"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCallingViewModel.handleFunctionCalls (cognitive 17): FunctionCallingViewModel.handleFunctionCalls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2712319bae3ddf814ee1e6b8ac1a24e50839a1aa3546fa12744b985f81aece"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageContentView.body (cognitive 16): MessageContentView.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/Chat/Views/MessageView.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6cd747a2b6a0ffc7239336df343f58e0152ff991c5c2307b6d064e2059aac0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AccountLinkingViewController: 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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"26828834437d038549ae5fecd4e329215feddeedc9a1b04776c2c80d5aaa9fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (103 shared lines): database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift:23-136 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/SignUpView.swift:23-134 \u2014 These two members are variants of one another: 103 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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"153b6e1f26c09333207b0faa60875d065fe3f2a12bb963d65e0f4c41b0ad3f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (40 shared lines): firestore/FirestoreExample/RestaurantsTableViewController.swift:154-225 | firestore/FirestoreSwiftUIExample/Extensions/Firestore\u002BExtension.swift:23-87 \u2014 These two members are variants of one another: 40 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":"firestore/FirestoreExample/RestaurantsTableViewController.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b0074dda45677ade752c0f02fdc6d9899a5a947b0bcfd9eb3527c8b95fb9f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift:34-62 | firebaseai/FirebaseAIExample/Features/FunctionCalling/Screens/FunctionCallingScreen.swift:34-62 | firebaseai/FirebaseAIExample/Features/Grounding/Screens/GroundingScreen.swift:34-62 | firebaseai/FirebaseAIExample/Features/Multimodal/Screens/MultimodalScreen.swift:42-108 \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":"firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59dda881d222acf21ebdd2df4bfb23d759c144be38ff684654d8975e604cc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:51-74 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:51-70 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:52-70 | firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:49-78 \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":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"037e6981a8ce6b5bc12d9d48d52a1a7a702d247e858b882c0ab8f8b173b86e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): performance/Shared/Process.swift:120-171 | performance/Shared/Process.swift:280-339 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"performance/Shared/Process.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c027a592320e87f5bebda2c4553e04cc144aa6bd72ad4e643fde4092511e800a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:185-236 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:238-287 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4032851b52a125e586903678048e28172b53a0a1d5c5031f2e4a93a846b7de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): performance/Shared/Process.swift:92-118 | performance/Shared/Process.swift:244-278 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"performance/Shared/Process.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8417e90f4825c6c2c49d6215bbcb1850c650e934c05a8c62ccf210c196ab890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:98-142 | firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:144-188 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:144-183 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"da59f23a0dfdee1ce4ebb353f938ed044da12d6bdd40a526620ce8f97d3f4adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): firestore/FirestoreExample/LocalCollection.swift:56-81 | firestore/FirestoreExample/RestaurantsTableViewController.swift:62-103 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"firestore/FirestoreExample/LocalCollection.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab30a0c909848d541e1249dfbe99b1e61f13f96c8e4141b9667e39982fdc196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:142-175 | authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:99-141 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd3b58014f6f10ac2f9236c757c138838821535405c9767bf4b6538547435c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): performance/Shared/Process.swift:173-194 | performance/Shared/Process.swift:341-363 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"performance/Shared/Process.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1890d74b1ecdd8241a7006361b680fbc37b5051ac94289dfc9c5330f1d6c916"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): performance/Shared/Views/SaliencyMapView.swift:21-53 | performance/Shared/Views/UploadView.swift:21-53 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"performance/Shared/Views/SaliencyMapView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"635d27b3c1b9e33b2e8f48bd0868aa9ea9adc9aeac216a3b2476131245bd6e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): config/ConfigExample/RemoteConfigView.swift:86-107 | config/ConfigExample/RemoteConfigView.swift:137-161 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/ConfigExample/RemoteConfigView.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbb89de7105e16d7bf38901babadb6523f047f3e1ca137096849ff3a90c8ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:382-407 | authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/PhoneAuthViewController.swift:55-76 | authentication/AuthenticationExample/ViewControllers/UserViewController.swift:244-261 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e10a6aa55d5f647ca45503bdb5ded479abee07845c8f3df070d73839bdec684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): database/DatabaseExampleSwift/Post.swift:36-49 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/Post.swift:39-53 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/PostViewModel.swift:51-67 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/DatabaseExampleSwift/Post.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"25493726a5405eabdc1c7dbd4a4c1537c3ee138cd6bcd331f904f252bb302187"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateViewModel.swift:78-112 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaViewModel.swift:95-124 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateViewModel.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d7055d340caef46800fbce82983f557fa1e02ddbd26785be33244f6ffa25b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:68-112 | authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:52-94 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"52224a963a0caa7c9cb5460850e4ea1fe9b5a9fd09f1497bdb73a9242d9e6490"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:459-484 | authentication/AuthenticationExample/ViewControllers/UserViewController.swift:279-310 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fe947159aa94b0acccc513ae90e59962ce0dd6fb043b9353aaee1d6260a37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): storage/Shared/ContentView.swift:163-181 | storage/Shared/ContentView.swift:183-204 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"storage/Shared/ContentView.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7cb4d7eb40afe2e009c038d787aa78779f0ef97bf63317fd4f7b8210d51b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): authentication/AuthenticationExample/CustomViews/LoginView.swift:86-108 | authentication/AuthenticationExample/CustomViews/LoginView.swift:110-133 | authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/OtherAuthViewController.swift:130-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/CustomViews/LoginView.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fd95c849e3c3182551b3f5702b5599abe356520449beb59a4e1df5cd01af25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/PostViewModel.swift:106-120 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/PostViewModel.swift:123-137 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/PostViewModel.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ee9f31db21a321b1a781beaaa3d214aa8f63e48fea5dfdec3730c6a4b6e43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:308-322 | authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/PasswordlessViewController.swift:36-53 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33619c0d54ae1ec4da282506eb3ecab0cc75c766c63f96518bab1c614094def"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:222-236 | authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:182-195 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2628b06873f39cb46cd1f9827dfa43643792c9ed30141f844ba6fe9df89b558"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): firestore/FirestoreSwiftUIExample/ViewModels/RestaurantListViewModel.swift:41-62 | firestore/FirestoreSwiftUIExample/ViewModels/RestaurantViewModel.swift:89-109 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"firestore/FirestoreSwiftUIExample/ViewModels/RestaurantListViewModel.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43b001cd8672ccb433f3781cd3eb642a95c2aa8906043db29684226a30775a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:250-265 | authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/PhoneAuthViewController.swift:31-44 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1153d0419e536625bfa5439c1cee8eca356e4d9aec40f2de81c56200d7fb1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): analytics/AnalyticsExample/SceneDelegate.swift:20-32 | config/ConfigExample/SceneDelegate.swift:20-31 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"analytics/AnalyticsExample/SceneDelegate.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c629e4b29458b1f41751383b80554cd8484eaf863a7047081762ffa5819aedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): functions/FunctionsExample/Shared/View/AddNumbersView.swift:61-82 | functions/FunctionsExample/Shared/View/CapitalizeMessageView.swift:42-58 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"functions/FunctionsExample/Shared/View/AddNumbersView.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bed891a6b9d06725e7d8bffc4edd23b697de1bf2f444c4d084ce2ff16252139"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): firebaseai/FirebaseAIExample/Features/Multimodal/Models/MultimodalAttachment.swift:156-174 | firebaseai/FirebaseAIExample/Features/Multimodal/Models/MultimodalAttachment.swift:176-193 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"firebaseai/FirebaseAIExample/Features/Multimodal/Models/MultimodalAttachment.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6872a8c02d78aa69366f89436a2be0816559f8598c4eeec0a9ff1da594092fe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): firestore/FirestoreExample/StarsView.swift:92-107 | firestore/FirestoreExample/StarsView.swift:268-288 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreExample/StarsView.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef205701ecc823f54689b55d7776d75463b3f24b7a5ea26d00086a801a3f9ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): firestore/FirestoreExample/StarsView.swift:37-48 | firestore/FirestoreExample/StarsView.swift:250-261 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreExample/StarsView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd430ea7a1b4825edc850b7c792067deaad958321937771b53e11d4c607a76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/UserViewModel.swift:32-47 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/UserViewModel.swift:49-64 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/UserViewModel.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9090e25349ee15ba3b8406cbb548ce0670d04f46d509df4b8022b551935a00e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): firestore/FirestoreExample/StarsView.swift:54-60 | firestore/FirestoreExample/StarsView.swift:62-68 | firestore/FirestoreExample/StarsView.swift:70-76 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreExample/StarsView.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2afc81359fb0a0682a68585fd8bc96f482e67ada36a11a5145876c33f7f2b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): firestore/FirestoreExample/FiltersViewController.swift:151-165 | firestore/FirestoreExample/FiltersViewController.swift:167-181 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreExample/FiltersViewController.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af30537f09c1db133c28c9a6c112156ae26b9ca048b401de0e66e9fa661c57f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/CustomAuthViewController.swift:31-38 | authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/PhoneAuthViewController.swift:46-53 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/CustomAuthViewController.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aec38308bf6ea587c7c59248020297a620ca8233fe2be0dccd9e524a8e516a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): firebaseai/FirebaseAIExample/Features/GenerativeAIText/ViewModels/GenerateContentFromTemplateViewModel.swift:54-67 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateViewModel.swift:67-76 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/GenerativeAIText/ViewModels/GenerateContentFromTemplateViewModel.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8774ff8a81031a4d62146c2e7b4f2497f2073b922b1d8b94fe6067010458907f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): installations/InstallationsExample/ViewController.swift:46-55 | installations/InstallationsExample/ViewController.swift:57-67 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installations/InstallationsExample/ViewController.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e176306361e8ecd60c879facc75d33645096451864bc759fbc494b25ee0c5fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:210-218 | authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:200-207 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3d822dbc3b0ba38c0c3fac534af8bbbd3626075669943701b3bafadfaa4c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): firestore/FirestoreSwiftUIExample/Views/RestaurantDetailView.swift:68-73 | firestore/FirestoreSwiftUIExample/Views/RestaurantHeaderView.swift:59-64 | firestore/FirestoreSwiftUIExample/Views/RestaurantItemView.swift:57-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreSwiftUIExample/Views/RestaurantDetailView.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d954e84f936fe5ed39c418d23ebbc2a3eb8d78bf6b99d66f11678280f04a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): authentication/AuthenticationExample/ViewControllers/LoginController.swift:110-115 | authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/OtherAuthViewController.swift:184-190 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/LoginController.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d045e0bd46b138035f7d951207028c8fc57bdd27efb64c12e763cd2188862b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): appdistribution/AppDistributionExample/SceneDelegate.swift:20-28 | authentication/AuthenticationExample/SceneDelegate.swift:40-49 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"appdistribution/AppDistributionExample/SceneDelegate.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e325ac82ee745d1d2ad12e4e8582c7ae2a30dbc394f9ea4b62864273c6a530e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): firestore/FirestoreExample/RestaurantDetailViewController.swift:116-122 | firestore/FirestoreExample/RestaurantsTableViewController.swift:255-261 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreExample/RestaurantDetailViewController.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6ce94a08940fe2754a98c7bf497b09af03bcd79d2d2514eec2d6ec0f7055b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): database/DatabaseExampleSwift/Post.swift:28-34 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/Post.swift:29-37 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/PostViewModel.swift:40-49 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/DatabaseExampleSwift/Post.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6a5ce52ee97305cef5970811a2e3b40aeca9f131de3f11f9cadb970068baa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:120-125 | authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:244-249 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"593e8b5ca176a3524e640499931a728a8b376ab869c4765b99005c95d0c5bf38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): analytics/AnalyticsExample/AppDelegate.swift:47-56 | authentication/AuthenticationExample/AppDelegate.swift:61-70 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"analytics/AnalyticsExample/AppDelegate.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4e7e064085a72aeebcbcd0641c1837065c006ab44c661e42023ff79b65a3a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): analytics/AnalyticsExample/BlogViewController.swift:145-148 | authentication/AuthenticationExample/ViewControllers/LoginController.swift:58-61 | authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/OtherAuthViewController.swift:57-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"analytics/AnalyticsExample/BlogViewController.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4d1a192408444b4c411aa1bb22035ab6b40fedae09756a567717d2d6f0bf88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): database/DatabaseExampleSwift/Post.swift:51-53 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/Post.swift:55-57 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"database/DatabaseExampleSwift/Post.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"badcf6a7cd6127322c37db1ea04104639d84e7bbe1ef2c8c902954e1ab10df25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): database/DatabaseExampleSwift/AppDelegate.swift:22-29 | firestore/FirestoreExample/AppDelegate.swift:22-27 | inappmessaging/InAppMessagingExample/AppDelegate.swift:24-32 | installations/InstallationsExample/AppDelegate.swift:23-28 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/DatabaseExampleSwift/AppDelegate.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4d77b360c13878c087e147ffbfcb10c36f4dffd2adbf28ccc5b5f6c338e338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift:23-80 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/SignUpView.swift:23-80 \u2014 before extracting anything, compare \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift\u0060 and \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/SignUpView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift:23\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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3442f98d9d88ca998e663022362a379ecc8bfc88f173ea964c4e8dcf6ca1a343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift:48-90 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaScreen.swift:51-93 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaScreen.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift:48\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":"firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e24a86fdd487a0c344a35b20e8a77d796a3e63acba795367d70799fdc7e1a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): firestore/FirestoreExample/StarsView.swift:133-167 | firestore/FirestoreExample/StarsView.swift:310-344 \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":"firestore/FirestoreExample/StarsView.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"326d3733310bfe4bd92ebf71d6109674796be020fa1c5e6fc8e3b394b9e6f078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201334 lines \u00D7 2): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:143-170 | authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:101-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:143\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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d8efa4c36e30d39e1e89534976091983c90acceb8a18bb3f9daeefbc9dc34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:104-137 | firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:160-193 \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 \u0060firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:104\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 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":"firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c210d48e0911aa9cceb62f46af6a32c2f9709081034f813e9e7fc44189da9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): firebaseai/FirebaseAIExample/Shared/Views/ErrorDetailsView.swift:178-207 | firebaseai/FirebaseAIExample/Shared/Views/ErrorDetailsView.swift:228-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060firebaseai/FirebaseAIExample/Shared/Views/ErrorDetailsView.swift:178\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":"firebaseai/FirebaseAIExample/Shared/Views/ErrorDetailsView.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55bfae3e6d259de0f33f5a533c90f27ab47beb40e5b8a7a61a9500ed4b5b724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift:34-62 | firebaseai/FirebaseAIExample/Features/FunctionCalling/Screens/FunctionCallingScreen.swift:34-62 | firebaseai/FirebaseAIExample/Features/Grounding/Screens/GroundingScreen.swift:34-62 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/Screens/FunctionCallingScreen.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"795f6f31c40b4d388109f839d15d48638ce20cb6d8d2f9d730967634ef4dd36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): database/DatabaseExampleSwift/PostTableViewCell.swift:51-81 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/PostViewModel.swift:149-177 \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. 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":"database/DatabaseExampleSwift/PostTableViewCell.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7214760d34c6f1b02456db1831f5855fbceb5f5c0fe4d437ef3abc8d92a3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:145-168 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:140-163 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:145\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 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":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bb2e5f7144bf38988046b0c00e2506194dbc6ce32f17068ce394f44891a4ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift:84-106 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/SignUpView.swift:84-106 \u2014 before extracting anything, compare \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift\u0060 and \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/SignUpView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift:84\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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ce54634a5c7a297c8d9e6396b034f6ee2816e249149b1429abb5e711729e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift:115-136 | database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/SignUpView.swift:113-134 \u2014 before extracting anything, compare \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift\u0060 and \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/SignUpView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift:115\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift:112\u0060 calls \u0060sheet\u0060, \u0060SignUpView\u0060 and \u0060database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/SignUpView.swift:110\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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e61687b5819e786413ff44c5398835584ab3b20d57c961456a8f3f6d3adaf91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:102-122 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:98-118 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:102\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 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":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f812cdf473453d328f0a076d9f12157ad199ae025bf30673182eec7a19736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:98-116 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:94-112 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:94-112 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:98\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 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":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ad48dcf8a5bd32e396fc544c1f6df4e47db69e8406f5a1f5a795cf548f8ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:52-70 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:53-70 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"08403f7b3ca9d952dfe0fa182f4a7942f10fdc4220194eec173374debd985cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateViewModel.swift:94-112 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaViewModel.swift:109-124 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateViewModel.swift:94\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateViewModel.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e76714f54202c46029a2f93875027c600ae79796eaf365e87c6e5ac231260bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): firestore/FirestoreExample/RestaurantsTableViewController.swift:210-225 | firestore/FirestoreSwiftUIExample/Extensions/Firestore\u002BExtension.swift:70-87 \u2014 before extracting anything, compare \u0060firestore/FirestoreExample/RestaurantsTableViewController.swift\u0060 and \u0060firestore/FirestoreSwiftUIExample/Extensions/Firestore\u002BExtension.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firestore/FirestoreExample/RestaurantsTableViewController.swift:210\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":"firestore/FirestoreExample/RestaurantsTableViewController.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf91f69487901b623fb0cfd31220621411314eb83b551211216c462276f8dfe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:99-115 | firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:145-161 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:95-111 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:145-161 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:95-111 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:140-156 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:99\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 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":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fb71ec6dd5f01dce908a85b32976096fb06b36fd2e14a3e1a8ff8ec175e2db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:187-203 | authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:164-180 | authentication/AuthenticationExample/ViewControllers/UserViewController.swift:183-199 \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. 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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22e18a5ae627d9a3cfa6e0b6f109acf7c75618fc79c609ff43cf4b286fc16fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:219-235 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:271-287 \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 \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:219\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":"firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"622c84a10fcd94cac9933f78b7b473bafc0062a545cdfa61fed0adec931418f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift:72-88 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift:78-94 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift:72\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":"firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"90876b1b33d493e4a227a427564923702061e0936e77d60bc37b2c115b438a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:121-137 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:166-182 \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 \u0060firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:121\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":"firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d38ccff85a5bbc10c55a109958dde0117d06a7ad28c963b2249792aa5a81f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift:71-86 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift:77-92 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaScreen.swift:80-95 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift:71\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":"firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d856d354837598c116c0d88da4a4ee07bb3f4c876dc8012043dbda38e95b086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:459-473 | authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:287-302 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:459\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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fa309db045b92dd113e38236bb109e9e3e8fdc88f476346ef7f83475fafecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): firestore/FirestoreExample/RestaurantsTableViewController.swift:183-198 | firestore/FirestoreSwiftUIExample/Extensions/Firestore\u002BExtension.swift:42-57 \u2014 before extracting anything, compare \u0060firestore/FirestoreExample/RestaurantsTableViewController.swift\u0060 and \u0060firestore/FirestoreSwiftUIExample/Extensions/Firestore\u002BExtension.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreExample/RestaurantsTableViewController.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94da9e9b48124158a07111eb2ad940f312b0079929eb4018965edc68549ffb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift:47-60 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift:46-59 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaScreen.swift:49-62 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift:47\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":"firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc02a68d6722bbef4053172596fd8ac1712f40bb5f8b6d339332c254ad42e86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:189-205 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:242-258 \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 \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:189\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":"firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0670f5262555e4a4a050e129fcfb4a83561984cf1bbcb5ff0539cd2dd396fff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:62-73 | firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:59-70 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:62\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":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92a93bc3fedffcd4b14a7974ff4bc497c57f39107073699a7d2a8d5858b856b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift:41-51 | firebaseai/FirebaseAIExample/Features/FunctionCalling/Screens/FunctionCallingScreen.swift:41-51 | firebaseai/FirebaseAIExample/Features/Grounding/Screens/GroundingScreen.swift:41-51 | firebaseai/FirebaseAIExample/Features/Multimodal/Screens/MultimodalScreen.swift:60-70 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/Screens/FunctionCallingScreen.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift:41\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":"firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"102c6d69ce34c4d8956b6e5943b67c442b7022a3292185b17e2916e92e8516d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:51-60 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:51-61 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:52-61 | firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:49-58 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.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":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"14914adc5d9c15dd9b9796a06e9f726701a1f3085f759964b300fc9f3dba50d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/PhoneAuthViewController.swift:66-76 | authentication/AuthenticationExample/ViewControllers/UserViewController.swift:253-261 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/PhoneAuthViewController.swift:66\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":"authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/PhoneAuthViewController.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde4d837d3e738eb06b846b8f33a64a815f9ccf24ba793647698b5d245d13521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:147-157 | firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:201-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:147\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":"firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1477591e044dcbff57ca3c6bb7c905370fd59fdbb50a149139723d27bcd0fdc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:311-320 | authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/PasswordlessViewController.swift:41-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:311\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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f181da88cfe33e3fd865742ee936d35a16fbae24efb8e38becaad746af1dd3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): firebaseai/FirebaseAIExample/Features/GenerativeAIText/ViewModels/GenerateContentFromTemplateViewModel.swift:54-62 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateViewModel.swift:67-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060firebaseai/FirebaseAIExample/Features/GenerativeAIText/ViewModels/GenerateContentFromTemplateViewModel.swift:54\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":"firebaseai/FirebaseAIExample/Features/GenerativeAIText/ViewModels/GenerateContentFromTemplateViewModel.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c601a3f6d965ef2cccd010d677c2e1086fe221dad0e3d250bec9813ce13fb43a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:116-122 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:112-118 | firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:139-145 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:116\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":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5c84b5ba4bca99c9120e8cfb498de863c483f2559991ffd3e654d060517332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): firestore/FirestoreExample/RestaurantsTableViewController.swift:165-172 | firestore/FirestoreSwiftUIExample/Extensions/Firestore\u002BExtension.swift:26-31 \u2014 before extracting anything, compare \u0060firestore/FirestoreExample/RestaurantsTableViewController.swift\u0060 and \u0060firestore/FirestoreSwiftUIExample/Extensions/Firestore\u002BExtension.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060firestore/FirestoreExample/RestaurantsTableViewController.swift:165\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":"firestore/FirestoreExample/RestaurantsTableViewController.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"393db182b8109bf52ddeee3c8a3d616bbd4cf48b71066c2d714e1deedcad7678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): performance/Shared/Process.swift:141-146 | performance/Shared/Process.swift:309-314 \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 \u0060performance/Shared/Process.swift:141\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":"performance/Shared/Process.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a530ee39b81b62a4199df9bb88f45a4a1fe56c9d8ae08eb19c65e78f30d6e738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): appdistribution/AppDistributionExample/AppDelegate.swift:20-38 | config/ConfigExample/AppDelegate.swift:20-46 \u2014 before extracting anything, compare \u0060appdistribution/AppDistributionExample/AppDelegate.swift\u0060 and \u0060config/ConfigExample/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":"appdistribution/AppDistributionExample/AppDelegate.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e1ee28c88935e6dd63e21a241742287ffa9e330fd4e54e0536a82125b5d293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): analytics/AnalyticsExample/AnalyticsViewController.swift:122-128 | analytics/AnalyticsExample/BlogViewController.swift:72-78 | appdistribution/AppDistributionExample/AppDistributionViewController.swift:52-58 | authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:259-265 | config/ConfigExample/RemoteConfigViewController.swift:127-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060authentication/AuthenticationExample/ViewControllers/AuthViewController.swift:267\u0060 calls \u0060transitionToUserViewController\u0060, \u0060transitionToViewController\u0060 and \u0060analytics/AnalyticsExample/AnalyticsViewController.swift:129\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":"analytics/AnalyticsExample/AnalyticsViewController.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b45cdf533043166bf20c0c36dc31c76a31def31e0032d90cdf1b3d0e419a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:334-341 | authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/PasswordlessViewController.swift:79-86 \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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b50f7fde824b1c0dd60fbc18ccd734600e679a5eb2c6db35f120d0e1bc333c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:345-349 | authentication/AuthenticationExample/ViewControllers/LoginController.swift:93-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dd25a7482155c0d751351d5a7e4880cee1aabae5c3f36883836b9564f87334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:424-428 | authentication/AuthenticationExample/ViewControllers/UserViewController.swift:238-242 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060authentication/AuthenticationExample/ViewControllers/UserViewController.swift:235\u0060 calls \u0060updateUserImage\u0060 and \u0060authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift:421\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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"424a468af5556069082d0236631195d8ec80cbeac630df0eac808e3ca4072fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift:76-83 | firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift:72-79 | firebaseai/FirebaseAIExample/Features/Grounding/ViewModels/GroundingViewModel.swift:72-79 | firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift:80-87 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a078b449c16a89221879ee448871754413af6fa381c1dd841e76a56f23e5707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift:27-32 | firebaseai/FirebaseAIExample/Features/FunctionCalling/Screens/FunctionCallingScreen.swift:27-32 | firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift:28-33 | firebaseai/FirebaseAIExample/Features/Grounding/Screens/GroundingScreen.swift:27-32 | firebaseai/FirebaseAIExample/Features/Live/Screens/LiveScreen.swift:27-32 | firebaseai/FirebaseAIExample/Features/Multimodal/Screens/MultimodalScreen.swift:35-40 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaFromTemplateScreen.swift:27-32 | firebaseai/FirebaseAIExample/Features/NanoBanana/NanoBananaScreen.swift:30-35 \u2014 before extracting anything, compare \u0060firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift\u0060 and \u0060firebaseai/FirebaseAIExample/Features/FunctionCalling/Screens/FunctionCallingScreen.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/Chat/Screens/ChatScreen.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6018666ff5d57a5f9c070a794b3de552f20a11f6447abfd47b26f877b5c2f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): firestore/FirestoreExample/NewReviewViewController.swift:22-29 | firestore/FirestoreExample/RestaurantDetailViewController.swift:29-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreExample/NewReviewViewController.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e935408818a28e54f5c1edd80ec5bf0041fba06e9cd880eaa378c849fbe742"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LoginController (LCOM4 7): LoginController\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/LoginController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec2a35ab4426f8a217bf15ab5acbb6565cd009900bedec82d2df1653fa08043"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnalyticsViewController (LCOM4 6): AnalyticsViewController\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":"analytics/AnalyticsExample/AnalyticsViewController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a122c37c21c9e8df371742e51a59321ee3a24524e814d2a370c4b2bed984ac7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BlogViewController (LCOM4 6): BlogViewController\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":"analytics/AnalyticsExample/BlogViewController.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf79d7728b93b3cac389cb12e317dc236e6e24744c562cd4af81f424b927ead"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PostListViewController (LCOM4 5): PostListViewController\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":"database/DatabaseExampleSwift/PostListViewController.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ae1224f5b7e60f2e14ef6bba51cbea73a844559205102bb58eb226039d08d8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AccountLinkingViewController (LCOM4 5): AccountLinkingViewController\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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f8b035d8bb8bba1bc7e569dc8b4001a0db9e698d01b01566834fd827974ac3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FiltersViewController (LCOM4 4): FiltersViewController\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":"firestore/FirestoreExample/FiltersViewController.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bec7a1c2b2309d29eab863890ce5dd9af77538ef0b2176902aa8e6e7794496"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 4): AppDelegate\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":"messaging/MessagingExample/AppDelegate.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fba5037a30d57b0ec1b2613c2fe6b0854e76343c53a5dc289f801c91d89c4fa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AuthViewController (LCOM4 4): AuthViewController\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":"authentication/AuthenticationExample/ViewControllers/AuthViewController.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"149e5405337a30128b3e692b2b8ff1ea6f13aa377ffbfdbef964e9ba0c74bcc1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserViewController (LCOM4 4): UserViewController\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":"authentication/AuthenticationExample/ViewControllers/UserViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7cecf7f78c7a5bfaf3b7e0c4e1909bb39597f8c0c979f37142b88fecbcaee9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OtherAuthViewController (LCOM4 4): OtherAuthViewController\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":"authentication/AuthenticationExample/ViewControllers/OtherAuthMethodControllers/OtherAuthViewController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4353ed6f7f38564c668d75d7a21c872e35d46e451c24d96626367535fa63fd5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDynamicUI: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abtesting/Shared/UITests.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"708867973f202e3fbd91473f50fa002f58589f58e535aec91124139195b838a0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testLaunchPerformance: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abtesting/Shared/UITests.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d4d246116102f25f336868e073ed19754518cb8a612be8d7941c988a415b51"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): testBuild: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"analytics/AnalyticsExampleMacTests/AnalyticsExampleMacTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05f94ba0c3cf005164b514650f86b879444bfc2a021b0cd65929f1a1ae5fd6a"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): testBuild: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"analytics/AnalyticsExampleTVTests/AnalyticsExampleTVTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9be24139b6bc67e082093267a0f53a784c2abc80169f16dd1a4703fcd732776"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): testBuild: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"analytics/AnalyticsExampleTests/AnalyticsExampleTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"46984ee698457f9872e6e8facbca13f5ab4bdbcc232518dde358ba468ec9ebf6"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appdistribution/AppDistributionTests/AppDistributionExampleTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15f39cbd852e75e3ceb940b011b37469dc0f31336c2e04f74ca76cca7548dac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPerformanceExample: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appdistribution/AppDistributionTests/AppDistributionExampleTests.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"968e5dbcdcdbdf0d063d744363938ff2f494c2d07c02871978d5030bbbd737d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLaunchPerformance: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appdistribution/AppDistributionUITests/AppDistributionExampleUITests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"695ff34b5805d67a52287837171a71fa970f82e52f557ba57c273eb726994482"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExampleTests/AuthenticationExampleTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e6911b539404d3369eddaf4b4a468dfd5cfb004e68b0554e540b558bdb591d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPerformanceExample: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExampleTests/AuthenticationExampleTests.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1acb6eb4f5dd4e08f1e707cd4da4abbe9603692905ff198f16f6c4a33fcb57"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLaunchPerformance: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExampleUITests/AuthenticationExampleUITests.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c191e20da94a4135dfe0bfb91c69680b6f15673022a70a42af5d484bbbfc7f18"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/ConfigExampleTests/ConfigExampleTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e18b68e1f631ea67e704f456b5a1e9e31820393c47b67146f1649bd9328a11"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPerformanceExample: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/ConfigExampleTests/ConfigExampleTests.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab6902c9391252196cf8e0caa4b12b9fd8399a79e4f573217f43a77f0e99e47"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testLaunchPerformance: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crashlytics/Shared/UITests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bd37a54a25fa9a6e36b9f7c0e05fae2ba11cc7ad929b4c7c8d20e55f686166"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreExampleUITests/FirestoreExampleUITests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a23a047368858026fa44dd52efe98132a114a44413df25984af8db39a891c45"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"messaging/MessagingExampleUITests/MessagingExampleUITests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e34bc14e0245ec860c449223a72f16439484c5bba27bbb28fd6d5642aefc0b8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDownloadView: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"performance/Shared/UITests.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ccceb0eb56b861c4871a78dc0cfdc5d6b9135d218311718f4fa50324e3fd58"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testClassifyView: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"performance/Shared/UITests.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81a316a9f816281984e2e1071cfb76e37276e36a5a794ebae07e7c78cf450b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSaliencyMapView: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"performance/Shared/UITests.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a9b52f227e6b2999ba044347bad3d4b2e42c8145c3d5bb38b62fe647463e93"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUploadView: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"performance/Shared/UITests.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"316eb11f748d999ef985a12e33cf8946b20daaf020be4915a83b8f882534d507"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAllViews: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"performance/Shared/UITests.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec88da24865d52368d0a55df6097fd628e308e4ca26d9f2326e9b800bb0886a0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testLaunchPerformance: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"performance/Shared/UITests.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc33886f0ccd95ead17768a0166dded44016e851348510442064329b3184bdb"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"storage/StorageExample_iOS_UITests/StorageExampleUITests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d59ec85ae3d17555a448ddd7afc649dad9e3736f3d4a432844101cf2b09c1e1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLaunch: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"storage/StorageExample_iOS_UITests/StorageExampleUITestsLaunchTests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f7c8a654f6c44abf83712d31a913e8d3df7571b25f4ffce038bb7706268c44"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testStaticLoginView: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/UITests.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"76072b0b68f42892142630ef3fe1cfeadb0b7d3c211d7a0324792fd09687c1cf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testStaticSignUpView: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/UITests.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1140e42e3e9f2d5c0fee4a9946e38ffe801d00e9ff0b229dd424d7d639ebd000"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testLaunchPerformance: No conventional assertion call was detected, and 12 of 14 tests in \u0060Shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/UITests.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6766d936b55b4d569f3ffcdfbdc9c203bb95a0ee52bbd4f099cf35e1cd91f2f9"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: AnalyticsExampleMacTests: No conventional assertion call was detected in 1 of 1 tests in \u0060AnalyticsExampleMacTests\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"analytics/AnalyticsExampleMacTests/AnalyticsExampleMacTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"484d90cfa39070dfc46db182fcc89ff54ca2d712b9119048b2046677eca5e5c5"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: AnalyticsExampleTVTests: No conventional assertion call was detected in 1 of 1 tests in \u0060AnalyticsExampleTVTests\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"analytics/AnalyticsExampleTVTests/AnalyticsExampleTVTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2c3e8cb558f5c2c2a7c8c8cd9f0ea70701097d21e7bcd0ab1310288b4e4f2b"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: AnalyticsExampleTests: No conventional assertion call was detected in 1 of 1 tests in \u0060AnalyticsExampleTests\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"analytics/AnalyticsExampleTests/AnalyticsExampleTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cf2bd6866da98d9a4b0cde9c3361a9efa933c9188b4fb5b3fbe5ad73ece5d1"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: AppDistributionTests: No conventional assertion call was detected in 2 of 2 tests in \u0060AppDistributionTests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appdistribution/AppDistributionTests/AppDistributionExampleTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"318eb300b97c06be26b61d6bbb55725bab0b00ab71d7be1980ed926ab68cb0b8"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: AuthenticationExampleTests: No conventional assertion call was detected in 2 of 2 tests in \u0060AuthenticationExampleTests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExampleTests/AuthenticationExampleTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d103bc55da911cfdcf8fb266f93801c48fd3967783375f8f4aea13dd4ae3b8"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: ConfigExampleTests: No conventional assertion call was detected in 2 of 2 tests in \u0060ConfigExampleTests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/ConfigExampleTests/ConfigExampleTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0068b5b8f163f4fb3116a842b6b61254d04e9ed86648b44e66fee46fc494059f"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: FirestoreExampleUITests: No conventional assertion call was detected in 1 of 1 tests in \u0060FirestoreExampleUITests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/FirestoreExampleUITests/FirestoreExampleUITests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f30ebe3c00aaeac125fbd9d64b38528cd8dd9f13942c8f1d44d48e59ab4795"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: MessagingExampleUITests: No conventional assertion call was detected in 1 of 1 tests in \u0060MessagingExampleUITests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"messaging/MessagingExampleUITests/MessagingExampleUITests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4650118aeceb1356aac5d63e7556963fc98e57c1b6e92d21d7e4f7cc5a3a7741"}},{"ruleId":"D10","level":"error","message":{"text":"Test project verifies nothing: StorageExample_iOS_UITests: No conventional assertion call was detected in 2 of 2 tests in \u0060StorageExample_iOS_UITests\u0060 \u2014 the project as a whole, not one method. 1 of them has its assertions commented out, so this suite did verify conventionally and was switched off \u2014 it is not an approval/verifier harness."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"storage/StorageExample_iOS_UITests/StorageExampleUITests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ea0651c3c1d81c34a6f196a1b52fad455d62133025b1ad3922a0e5ea3bac94"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 6 significant file(s) lose their only recent owner: authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift, authentication/AuthenticationExample/ViewControllers/AuthViewController.swift, authentication/AuthenticationExample/ViewControllers/UserViewController.swift, authentication/AuthenticationExample/Models/AuthProvider.swift, abtesting/Shared/AppConfig.swift, scripts/add_framework_script.rb. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b74b5b9a43ee09456878ba4c4fb2275290faa17da906c14eddc566efc6d3b81a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 4 significant file(s) lose their only recent owner: firebaseai/FirebaseAIExample/Features/FunctionCalling/ViewModels/FunctionCallingViewModel.swift, firebaseai/FirebaseAIExample/Features/Multimodal/ViewModels/MultimodalViewModel.swift, firebaseai/FirebaseAIExample/Features/Chat/ViewModels/ChatViewModel.swift, firebaseai/FirebaseAIExample/Features/GenerativeAIText/ViewModels/GenerateContentFromTemplateViewModel.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2eceeca2d138fb430dd9f84f8133cf34e8e79a0788eaa7e051f27cd016d2ac75"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (12 single-owned of 80 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; 80 of the 182 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: firebaseai/FirebaseAIExample/Features/Live/Views/ConnectButton.swift, firebaseai/FirebaseAIExample/Shared/Audio/AudioPlayer.swift."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle data of notification \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"messaging/MessagingExample/AppDelegate.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"585e6746fc95bd14cef7e34ce2a97a5a6a6c5ffa00153af4c2ae34519170fca2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If necessary send token to application server. \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":"messaging/MessagingExample/AppDelegate.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"909f58d6f978cc5331ed1b31c8a5d1f27b25e21b90fb017632905a78a630add8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find a more accurate way to determine the MIME type. \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":"firebaseai/FirebaseAIExample/Features/Multimodal/Models/MultimodalAttachment.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f2de0647e0223dd94e49c04ee84a2ce3a90e7d62a024451cc8cab4f01a61fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find a more accurate way to determine the MIME type. \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":"firebaseai/FirebaseAIExample/Features/Multimodal/Models/MultimodalAttachment.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0d620f932e9b11797aa19d092038ee38324969fa36b835705536aa880833df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find a more accurate way to determine the MIME type. \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":"firebaseai/FirebaseAIExample/Features/Multimodal/Models/MultimodalAttachment.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ab9af4d9ebcf03f98ace952a2881772060568ab2446cd398f8b3290ca94b42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add non-text parts to message when multi-model support is added \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firebaseai/FirebaseAIExample/Features/Chat/Models/ChatMessage.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efad2f2c64c53cc35d0bd4580ed84a47a76663ea775ce7d48c9d1e955190508"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Tests on Catalyst \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/ConfigExampleUITests/ConfigExampleUITests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"55855c21a871e772c424178153c02cf0c0ad5cd280bb7a998be99b22ee73c119"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move configuration to Info.plist \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":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"80844367681172b86f894c2be85f2bc19bdb6f8312275e54496da003a610522d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move configuration to Info.plist \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":"authentication/AuthenticationExample/ViewControllers/AuthViewController.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb28a27dc7ffd29d2349728f6d42d67c2287ed6dbba138e5a0328049b3268ca3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove @preconcurrency once \u0060FirebaseAuth.User\u0060 is Sendable \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":"authentication/AuthenticationExample/ViewControllers/UserViewController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3673c23f9fdf338bcb4f18f2a304a69ba8c187aa63867e6bf5857e4ef52e5f4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This if should be removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abtesting/Shared/UITests.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"050f23ac1816114e03e09693151b498f5bd02ef2b776cf712a34c8f43df6ad2f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060swiftui/PasswordlessSwiftUI/PasswordlessSwiftUI.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swiftui/PasswordlessSwiftUI/PasswordlessSwiftUI.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce496456e4bff2b38a2c0342a5a09b5428ef22c7ba66106f8c9b4dd80c5f110"}},{"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":"73739347396eb2d9787a03a0c11115735c9ccd79c83a382921fd5b5c13639343"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02d93265b07225d6905e5090794e73c8abca400efecc90217b9fdd2074896e91"},"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":"d8f0b358df7da5b5b2bc7fc04db289b3124a3c38814088c7d31911357f4f3513"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e899a5374e072addaef0113715809d008a1ef6ac88cfee9e9a44a4c75ff5523"},"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":"441d3f43b4fcefad7ac5b5c11d322680144e9fb336579af3c91bf1a7e83db1a3"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad6feb970668b9df4535fb5d2caa0f45d1ec7c0e40493dbdae9255c1fa7f6a64"},"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":"2dd9c402aaa65e9d43d9def97edb14da020c9bbe6971ba760c7c96eaadf2b232"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad29e37077707064e8d3e537adb9165f2913aacecd4e7c65737b35c25a358972"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"366bf6fbeef134a79b7943e296406e4be3d73da90cb31f20b54a69a25cf2cd54"},"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":"a75ceef79f1167541144b529cfade27e7fc999146e56d9c1ee6a39edd203ebab"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0d52d877b5e4bfddbecf0826ff79b072517a240086d6b0ec551bc19fb6bdd9b"},"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":"75753691c3122cdcea1a09d2b39989a2e81bdd68e7db233136cda5120e401145"},"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":"8369a201ff63e73c69faeaa89eb17614ee18edb06162707cf2e3d123e758ca00"},"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":"0aa2164102348f9dd25b52b9a3e2154398c71ccab3214c35a4e4d9559c566c16"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbd1449a5e50543f8a9cd85ed6849ca1846cbb6e872634e6d73911c15dd8e0b0"},"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":"71699710fee6812be9a4535bf318b3379228ecf8174db87e04180a6c1e62a7ef"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b7614141adc7d7b967d027b50ad70e5cdd3ed7363de98d6a57b66ef8176c9bb"},"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":"3e33fb5500fc0b53cbda9c83e3c9d0524b4415d8e3678e1169f5b9d43ecfa9a3"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"618c1dcbb409b5ba9e6d0e0d7c438420c72115e0abcda4053ada3ac042d5bda9"},"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":"fd9ea15aa688e101dfe1b76ce92fb85c9c551a9ffbe753e705be7cbb3fda5cad"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b571676e8738547f7635ab4913c8d628dc0b90181b2c039379e40e32a20fb56"},"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":"3e666690b451910bfcaf77d1fdba363d2fae1983372c8e98fd7f89458b5ca02c"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b02b3031711a382658102ec477e3913a21cc28dc125221e1884fbe42a3a44305"},"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":"508a2fcfa1f855d22ab17460b98f5d164785a89f3768e495aec7c559af78c913"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca184857c4a81d7a22db50c1dd15a8ddd5de936caa2979f7a316bcf3d0b900f8"},"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":"648dd2b67036d689fb8f28121c2b5dea4e52060c1af5168bc65f38bd75702f62"},"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":"515f8caae1f4cca596fc06a6e879237a7132525637b6f38f8737eef985b84d27"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b99cc67f96ee0da265b9e49b1b7c0db554f324485a050cd2d359e2bdf4911f78"},"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":"9a80e2716cc7f0bd1b9a5827b81c70022ce723c6a664850c5eb8e2eafe2138bd"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D32","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9147967a131062a5d3b614d15b820537baf1ec61092eaba0b91f006017ee7dc"}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 43 of 86 significant files have no living knowledge, while the repository is still being changed at a low rate (14 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 43 separate risks. Counted over 86 of the 182 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"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":"performance/Shared/Process.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"def2ed5c9d00caa827da6b096fe6379af9b60224e0f79c47eed32cfd6ab2efb7"}},{"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":"storage/Shared/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0f8bc5639bfc3c8ba86ebbe125e3eebbae4fdce45c02f4d4ffb75b169c7f7e"}},{"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":"firestore/FirestoreExample/StarsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c365a45fc649af6366a896e71700e962bb2bd03cfe4a4bdbb5eef0a60dd1a1bb"}},{"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":"firebaseai/FirebaseAIExample/Features/Multimodal/Models/MultimodalAttachment.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa33e0ce3aba7bc45a9472146cbec8b9845565f0a41ca492dc72e6af5a0d8791"}},{"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":"firestore/FirestoreExample/RestaurantDetailViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a65c2de94f7c57cee08307a0d0f9237fa0205bb08712d00fb15899fee842c6"}},{"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":"storage/Shared/ImagePicker.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb26b62cadfc55654e5b4d695dbf5609756366e9f80d6db3f01058079587922f"}},{"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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/PostViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6f77b21136d1a75e46400efb87b7b340596c2fda02ba0d21c7195c9354a174"}},{"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":"database/DatabaseExampleSwift/PostDetailTableViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd6b9a7569fd9711fb11e1233ab62cb8fd567b839e315aa42851ccb7c4910ac"}},{"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":"analytics/AnalyticsExampleSwiftUI/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"776204fd18e4a7f3e4612cf2b593a8d2087c4cef296b6ca46a7108f98ecde938"}},{"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":"firebaseai/FirebaseAIExample/Features/Multimodal/Screens/MultimodalScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01f1dfab4973dc0e04ed83e0231cf8d48586298d5d0a3ff1ea9fbaf15d3a5bb"}},{"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":"firestore/FirestoreExample/FiltersViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fafd5b847d59589677a6df6a92f8a322696cb0a171c91fb24cab984e4ec620e"}},{"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":"firebaseai/FirebaseAIExample/Features/Chat/Views/MessageView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d88d53020c8afd175ea9e7a2463f6572e2a1b189474cf2748688e6fe9a2857"}},{"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":"database/DatabaseExampleSwift/SignInViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93ead830feaa4d80b972b9e218e5ec09b6f743e2d00c8d12b68335afa3eb600"}},{"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":"firebaseai/FirebaseAIExample/Features/Chat/Models/ChatMessage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fbf37b7dd8ae36dc26b36e70837203c2c74c6a1ed6817ac9437c88b11452fd"}},{"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":"firebaseai/FirebaseAIExample/Features/Multimodal/Views/AttachmentPreviewCard.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a33cb498943612e243dfc1110bc709598bca52034bf588e2088caac664586f"}},{"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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/LoginView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c638f48ef819d9737cad26f336059b29dbad24a0ae81e6dfb4a975edc3aec992"}},{"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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/SignUpView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ba1db12b6743e6e726c526cd187ed35353a401304cf35b31b36386696fdaf9"}},{"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":"database/DatabaseExampleSwift/NewPostViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df6586927c627631511852ccdf964f865b5280f1dfae167301ce5e3a57ad7b"}},{"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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/PostListViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6548535ef4aa2ec881b7d22788632a39e494c6d9bc435873ac12de640989884e"}},{"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":"firebaseai/FirebaseAIExample/Shared/Views/SampleCardView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b91e7d8303b413bf421c7282036aec92899b2eb8e690f31324681f0f35cde53"}},{"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":"firestore/FirestoreSwiftUIExample/ViewModels/RestaurantViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fc8d1a1454d958d85fe2c2b8e914a3f7b7fceccc5ae2fd5ab2b485900f97a4"}},{"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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/PostDetailView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda5cd2f5c6e958f5fd9a3e30f28df47123d4708dc1e10b6201de2f75f340e02"}},{"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":"database/DatabaseExampleSwift/PostListViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3bae976e4fb40bdedc31528c9e1bdfd26423e05b725b634049c6c6b4611bc0"}},{"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":"installations/InstallationsExample/ViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e34ba9e583dc3dc039164db359e9142b06191ae7fe6e99ac67f71db9299e197"}},{"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":"firebaseai/FirebaseAIExample/Shared/Audio/AudioBufferHelpers.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b4410d9c2221c7b5ff566f47db222c3563ae1e8a2e1df42c806b891667d622"}},{"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":"crashlytics/CrashlyticsSwiftUIExample_(watchOS)_Extension/ComplicationController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e118d88074dca500706731e42b5e47ae1a72a29a3e12d9d643f8287d0d308d52"}},{"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":"firestore/FirestoreSwiftUIExample/Views/RestaurantListView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"226b68b114978365020198cb43a3c44b5b0cf0f9fcc64acf9b837979eb0aa0fc"}},{"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":"firebaseai/FirebaseAIExample/Features/GenerativeAIText/Screens/GenerateContentFromTemplateScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d35bcb34f8ea66f1e01d357dcad0f9f7c2e63f1ca25ef384b0901d10c14322"}},{"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":"abtesting/Shared/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d597fa1853d53bdd91131db482f3141eb647fc882209d0d5d5a0de13542f4d0d"}},{"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":"firestore/FirestoreExample/NewReviewViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"025e6f53fb796d4d76e4321f9b52bb417274adc5c8d4542ad0ae4b523d084ee3"}},{"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":"firestore/FirestoreSwiftUIExample/Extensions/Firestore\u002BExtension.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"368a8f73e73233f033aa4ad5534291e27e0130daccad7fe4aba0e9cb08a8ac52"}},{"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":"database/DatabaseExampleSwift/PostTableViewCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38659fa7f8fc926a6bc6a244afa6536795aa1ff986bfabb56932ee63773b83a4"}},{"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":"firebaseai/FirebaseAIExample/Features/Grounding/Views/GoogleSearchSuggestionView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1de2c4f7f55ff8b2238e30a75028669ffa527a36badc94f98be4e915286eb0"}},{"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":"firebaseai/FirebaseAIExample/Features/Grounding/Views/GroundedResponseView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1acad4e93a8fa7850eb2db01aab24555f04fe822bb1b3c9f744e2213530de"}},{"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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/Post.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b189a7133a3e1ddd89559f383039d105bc193324fd757b35ee4638b069a01ec7"}},{"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":"firestore/FirestoreExample/Restaurant.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"974cf068fb6a75ddabbc15e862afb86e37f0a3150c2be1afb144aafd799d9037"}},{"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":"firestore/FirestoreSwiftUIExample/Views/FilterView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51d0a742976bfb2bd20cacc4f8830aba5f1b97e70dd6f3aae41a75e9acdaaaf"}},{"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":"functions/FunctionsExample/Shared/View/AddNumbersView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d423cab26d5bbeeeada3a4134471d07ad9a58b95de9a1651e98096df01fb40c"}},{"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":"firebaseai/FirebaseAIExample/Features/Live/ViewModels/TypeWriterViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6701d76c152b507795d2dc0bb0be42abc8356403af797112debd71e2eb757c"}},{"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":"database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Views/NewPostsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9ee3e3545a89e6ed6d2a519ccd1beb5ae4f8a12fa120cf63747c34d3f663f1"}},{"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":"firestore/FirestoreSwiftUIExample/ViewModels/RestaurantListViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"477497cb9fbc4dce7f9ebb0ef5a89130ade5ba8a2265eee68083a89dc3c73dcf"}},{"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":"functions/FunctionsExample/Shared/View/BackgroundFrame.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c6fa4b23d2f183a0281abc49254ed82503868fd545d6f49524a1267b82de64"}},{"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":"firestore/FirestoreSwiftUIExample/Extensions/Restaurant\u002BExtension.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e9be3375367a9db8f9c779b78d89f2d04d94005d2f5db3a10c195aefebeb97"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AccountLinkingViewController.swift \u2194 AuthViewController.swift: \u0060authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift\u0060 and \u0060authentication/AuthenticationExample/ViewControllers/AuthViewController.swift\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060985a6e7d\u0060 feat(auth): make GoogleSignIn an optional dependency (#1874); \u00604318cb2c\u0060 Style; \u00605a2d1773\u0060 [Auth] Update \u0027randomNonceString\u0027 implementation \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a031a7d7ea397cbabc98d67b49205bf96dd8b868bcda57ea6ac450f1a1dfcc"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/web/auth.html"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64b2cb991445d91ef57fb06a46fbf4cd108183fc278a63450764c43a7b00925"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/web/auth.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7307b0603091297e37ef8ec7f969d884cd9e263553a3747828a97aaaa1d28643"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: crashlytics/README.md links to \u0060./DesignDoc/crashlytics_design_doc.md\u0060, but \u0060crashlytics/DesignDoc/crashlytics_design_doc.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crashlytics/README.md"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c92a2a918cc180fd93d979d5b2741f52225e575632ee17d3f2da91787f44ddb"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/17 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060abtesting\u0060, \u0060analytics\u0060, \u0060appdistribution\u0060, \u0060authentication\u0060, \u0060config\u0060 and 11 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 15 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/abtesting.yml"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://storage.googleapis.com/code.getmdl.io/1.0.6/material.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 2 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/web/auth.html"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"23667a22b3e7ab3ba38ed9124f54a8474d9d5adcd5b268d9f07165d228bf0540"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060compiler(\u003E=5.5) \u0026\u0026 canImport(_Concurrency)\u0060 appears character-identically in 5 files \u2014 abtesting/Shared/AppConfig.swift, abtesting/Shared/ContentView.swift, crashlytics/Shared/ContentView.swift, database/DatabaseExampleSwiftUI/DatabaseExample/Shared/Models/PostViewModel.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":"abtesting/Shared/AppConfig.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"514496ccaf752d571f733010574cacfec9bed0c3f863709886668639ae511e9f"}},{"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":"firebaseai/FirebaseAIExample/Features/Multimodal/Models/MultimodalAttachment.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef0c1c7a3dc6aa5dcea3bf3f77c971acffbbc7d2fde9b035781b77fe9e10fb"}}],"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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":32,"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."]}]}