{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"FirebaseAuthScreenKt.FirebaseAuthScreen (cyclomatic 89): FirebaseAuthScreenKt.FirebaseAuthScreen has cyclomatic complexity 89 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6e4173e2bea9056619e3ec97658ab3619bd0a899403836c155d287e2d5b9a3"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthException.from (cyclomatic 87): AuthException.from has cyclomatic complexity 87 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/AuthException.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48717382ddbe98244a7f69c0992987a9afdcde291899ec193c1c6cda3327a82"}},{"ruleId":"D1","level":"warning","message":{"text":"PhoneAuthScreenKt.PhoneAuthScreen (cyclomatic 37): PhoneAuthScreenKt.PhoneAuthScreen has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/PhoneAuthScreen.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb67aa38a74d9aa22aacdb5b54e08bd9d04bb618b84b6b625040496db0f07e90"}},{"ruleId":"D1","level":"warning","message":{"text":"MfaEnrollmentScreenKt.MfaEnrollmentScreenInternal (cyclomatic 29): MfaEnrollmentScreenKt.MfaEnrollmentScreenInternal has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b99846db8a4ba71fbec9d1cc578df4b9d2056e3e28733205e0de225df59a9d2"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthProviderButtonKt.resolveProviderLabel (cyclomatic 26): AuthProviderButtonKt.resolveProviderLabel has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/components/AuthProviderButton.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0108bd86e1a1b366396e332ce57eb5186856a48cb306c0cfba054a630313d0"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailAuthProvider\u002BFirebaseAuthUIKt.createOrLinkUserWithEmailAndPassword (cyclomatic 22): EmailAuthProvider\u002BFirebaseAuthUIKt.createOrLinkUserWithEmailAndPassword has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fff974f33338c5a8416e0ee726b05e283415d4c071fd7e1200ffaa5d65c66d"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailAuthScreenKt.EmailAuthScreen (cyclomatic 22): EmailAuthScreenKt.EmailAuthScreen has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/EmailAuthScreen.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd4e5673974c81a2cf7e08d68d1d5ce23c2945b45280e2fb28aa427bd745104"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailAuthProvider\u002BFirebaseAuthUIKt.signInWithEmailLink (cyclomatic 17): EmailAuthProvider\u002BFirebaseAuthUIKt.signInWithEmailLink has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c7d5d625a332787b9aa7ac3cb6f5b6460b41a8a04658e6147ea84b739aac71"}},{"ruleId":"D1","level":"warning","message":{"text":"VerificationCodeInputFieldKt.VerificationCodeInputField (cyclomatic 17): VerificationCodeInputFieldKt.VerificationCodeInputField has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/components/VerificationCodeInputField.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"563e8b835cb8b6d3ea3a506bfc62865f62d572d1151a34f7adda5350a3662cf1"}},{"ruleId":"D1","level":"warning","message":{"text":"MfaChallengeScreenKt.MfaChallengeScreen (cyclomatic 17): MfaChallengeScreenKt.MfaChallengeScreen has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c86d0c0fb7f6bd1b4ab00eea0d12659fd6b22a68c7f70f72f8fb4bbbd52e9fc"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailAuthProvider\u002BFirebaseAuthUIKt.signInWithEmailAndPassword (cyclomatic 16): EmailAuthProvider\u002BFirebaseAuthUIKt.signInWithEmailAndPassword has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad76a855e4fc1f4c5c4908935a30989aba1006d4789de8034b1ccb02e2942838"}},{"ruleId":"D1","level":"warning","message":{"text":"ReauthDestinationsKt.reauthDestinations (cyclomatic 16): ReauthDestinationsKt.reauthDestinations has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d7b5a7aca9f7d7c6d2070a042d35a8e1e573021f08dc62fc9b972e329dbb32"}},{"ruleId":"D1","level":"warning","message":{"text":"ReauthFlowState.fold (cyclomatic 16): ReauthFlowState.fold has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthFlowState.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e6b50e8648c111e713d939c4975bc9e14bc8057b8b9a14b5a42d1c8156cc3d"}},{"ruleId":"D2","level":"warning","message":{"text":"FirebaseAuthScreenKt.FirebaseAuthScreen (cognitive 127): FirebaseAuthScreenKt.FirebaseAuthScreen has cognitive complexity 127 (threshold 15). Drivers by points: if/else 70 (96 pts), boolean chains 16, match/switch 7 (10 pts), error handling 4 (5 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"981e71b68317101ab1f678b0af5b4ba2490cddaded138bc5e860a3204ad91472"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthProviderButtonKt.resolveProviderLabel (cognitive 51): AuthProviderButtonKt.resolveProviderLabel has cognitive complexity 51 (threshold 15). Drivers by points: if/else 25 (48 pts), match/switch 2 (3 pts) (nesting depth added 24). 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":"auth/src/main/java/com/firebase/ui/auth/ui/components/AuthProviderButton.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fa2bc001bfe4e2289810164101e8b7e8f82c538f1c51a93256ee01654dd48e"}},{"ruleId":"D2","level":"warning","message":{"text":"PhoneAuthScreenKt.PhoneAuthScreen (cognitive 50): PhoneAuthScreenKt.PhoneAuthScreen has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (28 pts), match/switch 6 (11 pts), error handling 4 (8 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/PhoneAuthScreen.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a227ba6832ce845ea211ea27355d537a2cc39f7926cf74e518e250faf9e168"}},{"ruleId":"D2","level":"warning","message":{"text":"MfaEnrollmentScreenKt.MfaEnrollmentScreenInternal (cognitive 40): MfaEnrollmentScreenKt.MfaEnrollmentScreenInternal has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (25 pts), error handling 5 (10 pts), match/switch 3, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba1a2fa4ee7a30ad775eb9243b92adc9903f2feba5672472be020464ee8b255"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabasePagingSource.loadSingle (cognitive 29): DatabasePagingSource.loadSingle has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2 (6 pts), ternaries 1 (3 pts), error handling 2, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/src/main/java/com/firebase/ui/database/paging/DatabasePagingSource.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eec7acd26201f5fdf431280be46029a91367230d101d59e56a9842d15d3c94"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailAuthProvider\u002BFirebaseAuthUIKt.createOrLinkUserWithEmailAndPassword (cognitive 28): EmailAuthProvider\u002BFirebaseAuthUIKt.createOrLinkUserWithEmailAndPassword has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (12 pts), error handling 7 (10 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b6107928afa407a9a4c886b0ce6e3ade99c40db5f1a6a7d4e4f6c553b73b01"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthException.from (cognitive 27): AuthException.from has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 6 (11 pts), boolean chains 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":"auth/src/main/java/com/firebase/ui/auth/AuthException.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"947757083adc6e8a5f26384425af7dab95d12fee13ad67144f424fa604c0b204"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-auth/1.2.0_to_2.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"676928430fd22d681e9e6a1d3e0896d15a3205139975adb46aeb56cb41f5c936"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-auth/2.3.0_to_3.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6546a2f4e0113c110ddc3b6dfde7ced05d611d480f6ef34c209fa41cedd03ca2"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-auth/3.3.1_to_4.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4344c822e89dc6180a91c6e8c16e7b08d7830faae734693b3bda9a7949657fc4"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-database/1.2.0_to_2.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddaeeaeb0c94b95837332fdbf5fbb2df8b2043014fbfe873ec6c0da925f77a8"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-database/2.3.0_to_3.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"803333e574f7cf38cabd922ebdc680d5e9ba37873a9b710bd6a0484508bd287e"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-database/3.3.1_to_4.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9e46ad8a62dcfa4ceba1798f47a803ba52b0ae0524e74097c2fe9050fca771"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-firestore/3.3.1_to_4.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9880f9827f604f1a38f040707e19f6ce2308452dcaea17e41213dd739d7cc567"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-storage/1.2.0_to_2.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"572fd0006fb6a72b72d410942d222fe1668fd9bf9f35f2d88062c0d8f307a2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-storage/2.3.0_to_3.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec6c86a7b7e56297f33a093d84611443b03284536d80e2c5588cac095447fd4"}},{"ruleId":"D2","level":"warning","message":{"text":"compat_report.html.initTabs (cognitive 25): compat_report.html.initTabs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/compat_reports/firebase-ui-storage/3.3.1_to_4.0.0/compat_report.html"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c47d01c1891aaa1fce7d047a73224be31f07a65e5b7fb294a3f9f43f1847dc"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailAuthProvider\u002BFirebaseAuthUIKt.signInWithEmailAndPassword (cognitive 23): EmailAuthProvider\u002BFirebaseAuthUIKt.signInWithEmailAndPassword has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 7 (10 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad995094ae3a16622148206772c2952656968c99927f1ed940015648a3f1b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"ReauthDestinationsKt.reauthDestinations (cognitive 23): ReauthDestinationsKt.reauthDestinations has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"59719c44a88fd6ee9de5892f3f4d23801635942c0b2680d5c63e3d713c835acf"}},{"ruleId":"D2","level":"warning","message":{"text":"MfaChallengeScreenKt.MfaChallengeScreen (cognitive 22): MfaChallengeScreenKt.MfaChallengeScreen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 5 (8 pts), match/switch 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d686713945689e819f96cff997a9a42dc36f5bdddc1dfb90e4f8941d453166"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailAuthProvider\u002BFirebaseAuthUIKt.signInWithEmailLink (cognitive 21): EmailAuthProvider\u002BFirebaseAuthUIKt.signInWithEmailLink has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, error handling 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6941e4d398afb1cf1450291a34a4e2538bcea4d1925662cdb83917a2f4f8c4"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailAuthScreenKt.EmailAuthScreen (cognitive 20): EmailAuthScreenKt.EmailAuthScreen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, boolean chains 5, error handling 4, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/EmailAuthScreen.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c5242102f0fac4d5fce5779c010891a5c3b8be62d17cc22e84382967ff1bf9"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthProvider\u002BFirebaseAuthUIKt.signInWithProvider (cognitive 19): OAuthProvider\u002BFirebaseAuthUIKt.signInWithProvider has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 5 (6 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/OAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"456460dedd727b1aa38b1eafc7cddf193680dddf1c3a81b98872ca9b77272bcc"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthTextFieldKt.AuthTextField (cognitive 19): AuthTextFieldKt.AuthTextField has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), match/switch 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/components/AuthTextField.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e088a4c3d59e6106c82ad4b47c5364d3dc8f2d6784ba36f757e762aa9171a54a"}},{"ruleId":"D2","level":"warning","message":{"text":"VerificationCodeInputFieldKt.VerificationCodeInputField (cognitive 18): VerificationCodeInputFieldKt.VerificationCodeInputField has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 3, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/components/VerificationCodeInputField.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45c2d6dea7d549ac56e2a3cd3cdd7fd49cf5411e8dd3f52d5668313939395eb"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleAuthProvider\u002BFirebaseAuthUIKt.signInWithGoogle (cognitive 17): GoogleAuthProvider\u002BFirebaseAuthUIKt.signInWithGoogle has cognitive complexity 17 (threshold 15). Drivers by points: error handling 9 (13 pts), if/else 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"086846914b4699c10242e315c13067a1033a27a139a033c7dccd55dc260552be"}},{"ruleId":"D2","level":"warning","message":{"text":"VerificationCodeInputFieldKt.SingleDigitField (cognitive 17): VerificationCodeInputFieldKt.SingleDigitField has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/components/VerificationCodeInputField.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c969d959d94cca42fa004e171acc7fa2ca526db8b655996528c76b484a39e66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FirebaseAuthScreenKt.FirebaseAuthScreen: MethodTooLong \u2014 FirebaseAuthScreen runs 536 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 436 over it, 5.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"db479c94c7e23561b02dd453328482478465d71e7a7b1b1af3e081c9e9eb90f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.from: MethodTooLong \u2014 from runs 310 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 210 over it, 3.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/AuthException.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e1cc2c9cfabb234991a3d32ccfcff2634b126ae44fd61bf9e2023c06cd2c5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SignInUIKt.SignInUI: MethodTooLong \u2014 SignInUI runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInUI.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e20d878e2977d7cd030eb240d0dff7eafc3dd72557826634d2a8a2adff78991"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/FirebaseAuthScreen.kt: FileTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 335 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d5fe465247d3393484aed46d1e931de466d146195a6dc9c3c77b0941059443"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReauthDestinationsKt.reauthDestinations: MethodTooLong \u2014 reauthDestinations runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e345216804ed96417f9ea9397860827a559ebd24dfced0f15a7924f4b781addf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HighLevelApiDemoActivity.onCreate: MethodTooLong \u2014 onCreate runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/HighLevelApiDemoActivity.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1e38dbec9734ea7657aee5a80e96e751776be0d693a0319b489f4ac5d178c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SignUpUIKt.SignUpUI: MethodTooLong \u2014 SignUpUI runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignUpUI.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d813b9a2bef4d68328836b15e36787c67a1a959f72134eaca06e4a4b195259a4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuthException: ClassTooLong \u2014 466 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 66 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/AuthException.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbf820dbd0f851c655a7c9c0688fa73ffb37870522b66c8cfb5828b14709ba7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthFlowControllerDemoActivityKt.AuthFlowDemo: MethodTooLong \u2014 AuthFlowDemo runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/AuthFlowControllerDemoActivity.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e392a965301a8fddb93f1861ce72f1be30d32686a4f837ca47856900be4c43e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HighLevelApiDemoActivityKt.AppAuthenticatedContent: MethodTooLong \u2014 AppAuthenticatedContent runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/HighLevelApiDemoActivity.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb72f182f596173e2cf3afbb04318575f3cd51c73bdf3c86a5e1f8f527868d33"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuthProvider: ClassTooLong \u2014 449 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 49 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AuthProvider.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecbec65db25275e032c38e79300e903d55ded2d7a419ce9ded10e3fa73d3008"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MfaEnrollmentDefaultsKt.DefaultMfaEnrollmentContent: MethodTooLong \u2014 DefaultMfaEnrollmentContent runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDefaults.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4b99e61a0a92fc6dc0266ebaa3343fa19eaa833b452c113ac066c8edb090e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EmailEntryStepKt.EmailEntryStep: MethodTooLong \u2014 EmailEntryStep runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/EmailEntryStep.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac1f3497e98c36db5b7a8552b029448a081fc51b867edd74abb183a09fb3cd8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SignInEmailLinkUIKt.SignInEmailLinkUI: MethodTooLong \u2014 SignInEmailLinkUI runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInEmailLinkUI.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f180c07edd54cab05b6cefce9183ae0817df8895a1f9278ae5a805017cc46f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EnterVerificationCodeUIKt.EnterVerificationCodeUI: MethodTooLong \u2014 EnterVerificationCodeUI runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/EnterVerificationCodeUI.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c86830e9347048508c4e3264568b3455cef02d7280710a175d6f0011d82cb4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultAuthUIStringProvider: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 22 over it, 1.06\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":"auth/src/main/java/com/firebase/ui/auth/configuration/string_provider/DefaultAuthUIStringProvider.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4391fb48d5f03e8d18c80f1a37eb0f70e0444c88c978692dba8c758fb092e67e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth_provider/AuthProvider.kt: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: AuthProvider (106-1066). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AuthProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f64aeda956715382d4265e6737e819137f57956e6fa413151fddc77a2256a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthProviderButtonKt.PreviewAuthProviderButton: MethodTooLong \u2014 PreviewAuthProviderButton runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/components/AuthProviderButton.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c354fd86d2c95d053cc8540ae798cec0f974bee1efdc861db030ea4a535056"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2904feb549888c0fa89516b6c4bace4ef53cc3e98e8991c74d85b0de4ea677ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CountrySelectorKt.CountrySelector: MethodTooLong \u2014 CountrySelector runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/components/CountrySelector.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb540924450ee4d11a64514370c778186e5ddc5aaa135b2ef35e3d9e427ae3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EmailAuthProvider\u002BFirebaseAuthUIKt.signInWithEmailAndPassword: MethodTooLong \u2014 signInWithEmailAndPassword runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"634f44b697f3aa14d365cbf407d00995810749098bcfb07e4b85535936d3e3a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:144-236 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:68-279 \u2014 These two members are variants of one another: 56 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/MainActivity.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be0149f1c0ceb3f69d593bb9067ef910f637f66f2325af16c10bfc231ef6934"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/common/AuthPage.kt:52-114 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/EmailEntryStep.kt:55-197 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt:54-189 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/SignUpStep.kt:61-237 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneEntryStep.kt:45-162 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneVerificationStep.kt:37-137 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/common/AuthPage.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb115a728f1343eff394e47cb7671d32eb7d9a5c021d76d538ffdf80c3f71cbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (121 corresponding lines): auth/src/main/java/com/firebase/ui/auth/ui/screens/email/ResetPasswordUI.kt:72-192 | auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInEmailLinkUI.kt:77-217 \u2014 These two members are one piece of code written twice and then edited apart: 121 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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/ResetPasswordUI.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"85edf8c4b184ed4b5f3090a586550da10b9f5a350053e77d1b4334cebf1e41c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:159-239 | app/src/main/java/com/firebaseui/android/demo/auth/PhoneAuthSlotDemoActivity.kt:133-213 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfdda5e76efd283fe6e132641e126b6427ebaef099987b30f1ccc6e6d40bd2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/MfaChallengeUI.kt:28-101 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/pages/VerifyFactorStep.kt:24-100 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/MfaChallengeUI.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb570bd2df43bf00ba7c528263059838ad654ef87f25011dce4ee0907b3a1dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDefaults.kt:449-530 | auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDefaults.kt:542-612 \u2014 These two members are one piece of code written twice and then edited apart: 71 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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDefaults.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9ef3f7c1a9e369df8e20dc8523a3870263b5959575398e74977d831721105b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:290-356 | app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:359-428 \u2014 These two members are one piece of code written twice and then edited apart: 67 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":"app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43ae48a7b3999324362b6642cc293ed65a742a4daf3a98cb1446cf4f66ae9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt:137-184 | app/src/main/java/com/firebaseui/android/demo/firestore/FirestoreDemoActivity.kt:144-191 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bef1080cfdc554069928f4ab99a66b259c8b565669d94c3102eef730014118"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:242-287 | app/src/main/java/com/firebaseui/android/demo/auth/PhoneAuthSlotDemoActivity.kt:216-259 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee9c154182852d4ce49098229dcc4465d4bc8f20522572dfb5c5d093746613d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt:47-85 | app/src/main/java/com/firebaseui/android/demo/firestore/FirestoreDemoActivity.kt:48-89 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d6577812e5e8e44e36915ae89bec6cc59ca529fe6175b78f11b3cb83d0574e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): auth/src/main/java/com/firebase/ui/auth/mfa/SmsEnrollmentHandler.kt:96-130 | auth/src/main/java/com/firebase/ui/auth/mfa/SmsEnrollmentHandler.kt:145-179 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"auth/src/main/java/com/firebase/ui/auth/mfa/SmsEnrollmentHandler.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b429b2a57de6269125f662e39243fee73380677614124883f87e7a1c7544ea94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInUI.kt:328-366 | auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignUpUI.kt:229-261 \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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInUI.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fb4cdf3ccfaf0c8aa6571bf2c5068928284339af85ad463b2bd70972ad7bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:31-58 | app/src/main/java/com/firebaseui/android/demo/auth/CustomSlotsThemingDemoActivity.kt:28-58 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"078b7912c2e7d9b1b2ce6c1cf86f664d3a82e6354f78a1cce6557c2e9ea77f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:88-139 | app/src/main/java/com/firebaseui/android/demo/auth/PhoneAuthSlotDemoActivity.kt:83-125 \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":"app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e25308c68432757a6009f9c74cd4a256f9adb154e4f49c12ae31bed8a7d16aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java:126-144 | firestore/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerAdapter.java:103-121 \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":"database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8696cb6c1499bad2702042758a421c0bf1618d99118a2391ee4095212f8f1438"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): auth/src/main/java/com/firebase/ui/auth/ui/screens/email/ResetPasswordUI.kt:196-224 | auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInEmailLinkUI.kt:221-257 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/ResetPasswordUI.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89346b6e9be4f7fd71ba2797d9cae727baefe39e76295bb60a77333181f3a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt:24-41 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt:30-46 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/OAuthProvider\u002BFirebaseAuthUI.kt:33-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"64524aa65b06073d2c94c8ca0ab04100ec6b75f4857c1b16af2812c72fcc6eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/EnterPhoneNumberUI.kt:189-216 | auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/EnterVerificationCodeUI.kt:212-240 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/EnterPhoneNumberUI.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"293767c05ef17c4dfee072a7ba1e96d30da448cfc78c8d4cccb6630ab1ed8113"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): auth/src/main/java/com/firebase/ui/auth/configuration/validators/EmailValidator.kt:28-47 | auth/src/main/java/com/firebase/ui/auth/configuration/validators/GeneralFieldValidator.kt:32-51 | auth/src/main/java/com/firebase/ui/auth/configuration/validators/PasswordValidator.kt:32-53 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/validators/EmailValidator.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"05904af6cbaf2214f2f62115a9815cc73a61e43a338306c9a5b1ed4e0cee66cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): database/src/main/java/com/firebase/ui/database/paging/DatabasePagingKey.java:27-33 | firestore/src/main/java/com/firebase/ui/firestore/paging/PageKey.java:44-50 \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":"database/src/main/java/com/firebase/ui/database/paging/DatabasePagingKey.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ea01cc9915b97e77e986123ccbc587a7bdfac88c904eb8107f3f9afcf61771"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): database/src/main/java/com/firebase/ui/database/paging/FirebaseRecyclerPagingAdapter.java:70-86 | firestore/src/main/java/com/firebase/ui/firestore/paging/FirestorePagingAdapter.java:69-85 \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":"database/src/main/java/com/firebase/ui/database/paging/FirebaseRecyclerPagingAdapter.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5db5a84ca37518276aa61fd65792affb39b21f434e4135c180ba1f40081c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt:123-130 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/AuthMethodPickerUI.kt:68-74 \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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43f3a15604d4ebd9cb4a4bcdd4a34b982ca53fc30dfff8963dc9bbcd6703b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): firestore/src/main/java/com/firebase/ui/firestore/paging/FirestorePagingOptions.java:204-215 | database/src/main/java/com/firebase/ui/database/paging/DatabasePagingOptions.java:136-146 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"firestore/src/main/java/com/firebase/ui/firestore/paging/FirestorePagingOptions.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e1f1bc784af5a427168804902e03579f6636fd55c70b5c33e5f50fb0c50066"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): database/src/main/java/com/firebase/ui/database/paging/FirebaseRecyclerPagingAdapter.java:56-64 | firestore/src/main/java/com/firebase/ui/firestore/paging/FirestorePagingAdapter.java:55-63 \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":"database/src/main/java/com/firebase/ui/database/paging/FirebaseRecyclerPagingAdapter.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1043cc7dc658e50e3af55209329cba052ac4b93ad6b474675d418f698a0e9198"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt:125-128 | app/src/main/java/com/firebaseui/android/demo/firestore/FirestoreDemoActivity.kt:132-135 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fde27adaee5e89b0c7ad4093db9a9abc20eceb7ae6105692e8dc97193f0c298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt:148-184 | app/src/main/java/com/firebaseui/android/demo/firestore/FirestoreDemoActivity.kt:155-191 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/firestore/FirestoreDemoActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt:148\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":"app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c021fe2285531b6d33bb72219d772ee3829fb3a1c13fd36c348857c35fba857c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt:111-138 | auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt:209-236 \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 \u0060auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt:111\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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd785a52b9776590e3a9e292aef2093941cd3975ab6777590e41a1483c202ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:139-165 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:306-332 \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 \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:139\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":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3491e6825b62f1ae5750e0d2ec117f43472cb886ccfc0579f696d950b67dd9aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:258-279 | app/src/main/java/com/firebaseui/android/demo/auth/PhoneAuthSlotDemoActivity.kt:231-252 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/auth/PhoneAuthSlotDemoActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:258\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"27620d9ea2d8b3a31560fa7d7b5ae61e58c09954b2e5405f99b43d6f3da9d766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt:56-75 | app/src/main/java/com/firebaseui/android/demo/firestore/FirestoreDemoActivity.kt:60-79 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/firestore/FirestoreDemoActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"995e9d4b811662bd15c87e2bc2e100c057509feab67658a1e1f0ba3bcf496725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/AuthenticatedUI.kt:113-131 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt:113-131 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/reauth/ReauthEmailStep.kt:96-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/reauth/ReauthEmailStep.kt:118\u0060 calls \u0060Spacer\u0060, \u0060height\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt:135\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/AuthenticatedUI.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef13e634ef3cc0b2748b5d6e41323083b638bb94709f11485df7eb79c48e755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt:65-83 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/FullCustomizationDemoActivity.kt:54-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/FullCustomizationDemoActivity.kt:53\u0060 calls \u0060getStringExtra\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt:63\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e8c11a90b795666e5e72c5851c8aeb9deaca35281df0e4c64eaffea6d19e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt:139-157 | auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt:238-256 \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 \u0060auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt:139\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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"80763c9dcfdcba92c3465fbd3b8b9dbb5ee81aeaca8f20d01f6bbf3cc9b6cb85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:295-312 | app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:373-390 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d34b02145039b5b9b9efd45e295f600820ca647ddb5391f44e24179bec9535b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt:206-221 | app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt:256-270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt:206\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c96793a28e13ca4a9e0bd84b6101f41cb4bd06566b23363979fb25ed160a5cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:191-206 | app/src/main/java/com/firebaseui/android/demo/auth/PhoneAuthSlotDemoActivity.kt:166-181 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/auth/PhoneAuthSlotDemoActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:191\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bbb954ba5a1651b2882588d397d9134ddc5d83e96f9be06ebef09a6ca9a733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 11): auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt:57-69 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:187-199 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:495-507 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:560-572 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:697-709 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:819-831 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/FacebookAuthProvider\u002BFirebaseAuthUI.kt:211-223 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt:185-199 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/OAuthProvider\u002BFirebaseAuthUI.kt:184-198 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/PhoneAuthProvider\u002BFirebaseAuthUI.kt:102-114 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/PhoneAuthProvider\u002BFirebaseAuthUI.kt:156-168 \u2014 before extracting anything, compare \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt\u0060 and \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt:57\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":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc44f84e1b6bffb6952e8b76179b9f51d120e0a3b6f9852ec1049ea393e8610d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 6): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/common/AuthPage.kt:62-74 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/EmailEntryStep.kt:62-76 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt:58-70 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/SignUpStep.kt:78-90 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneEntryStep.kt:51-63 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneVerificationStep.kt:38-50 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/SignUpStep.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/common/AuthPage.kt:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/common/AuthPage.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c88e9cf935ed786cbdf071c53c8d898d076d82a26084a7bb61319e07822e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/AuthFlowControllerDemoActivity.kt:194-208 | app/src/main/java/com/firebaseui/android/demo/auth/CredentialLinkingDemoActivity.kt:110-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/auth/AuthFlowControllerDemoActivity.kt:194\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/AuthFlowControllerDemoActivity.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa6ff310e580019fc5748ded628d48387f426dbebb94f104432c5adfd5112fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt:93-107 | app/src/main/java/com/firebaseui/android/demo/auth/HighLevelApiDemoActivity.kt:199-213 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt:93\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/CustomMethodPickerDemoActivity.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"974ad9235c14c333e1b46c2d3dc8260f14d4535da915fbf35b89d8c220831b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): auth/src/main/java/com/firebase/ui/auth/FirebaseAuthUI.kt:482-496 | auth/src/main/java/com/firebase/ui/auth/FirebaseAuthUI.kt:606-620 \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 \u0060auth/src/main/java/com/firebase/ui/auth/FirebaseAuthUI.kt:482\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":"auth/src/main/java/com/firebase/ui/auth/FirebaseAuthUI.kt"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57545a451bc0ef67d26eb077712ea25af985499b1d7a9d7b6c33edcfcc7dea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/storage/StorageDemoActivity.kt:94-107 | app/src/main/java/com/firebaseui/android/demo/storage/StorageDemoActivity.kt:133-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/storage/StorageDemoActivity.kt:94\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/firebaseui/android/demo/storage/StorageDemoActivity.kt:148\u0060 calls \u0060getInstance\u0060, \u0060getReferenceFromUrl\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/storage/StorageDemoActivity.kt:108\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/storage/StorageDemoActivity.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff75abf74fbfc3d2582dbb3d26f2f6899037c32e561f1199092ab22633091da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInEmailLinkUI.kt:126-139 | auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInUI.kt:157-170 \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 \u0060auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInEmailLinkUI.kt:126\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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInEmailLinkUI.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8206cd92c0cf645a6c6f6b319931e236590d2ae1e6e0646df7a37b5f72336f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInEmailLinkUI.kt:177-190 | auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInUI.kt:225-238 \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 \u0060auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInEmailLinkUI.kt:177\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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInEmailLinkUI.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d1e44eb8caa735a9507e4633868774e14a7373edf4b1f986771f7595971619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInUI.kt:192-204 | auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignUpUI.kt:153-165 \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 \u0060auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInUI.kt:192\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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/SignInUI.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b18d864a628e5db95499de60b115422df9b0e441ee49d4b5a9040880561c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt:30-41 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt:36-46 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/OAuthProvider\u002BFirebaseAuthUI.kt:47-58 \u2014 before extracting anything, compare \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt\u0060 and \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt:30\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":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"274c70d5d9b9bb7591d4768012fdc10ac6001219154adf69446dc2fd3f856b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/MfaChallengeUI.kt:62-72 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/pages/VerifyFactorStep.kt:59-69 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneVerificationStep.kt:93-103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/MfaChallengeUI.kt:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/MfaChallengeUI.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3296c06f494b87ce1abc48edcef6499636dd192d3cdc8c04c7bed1796097903c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDefaults.kt:450-460 | auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDefaults.kt:543-553 \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 \u0060auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDefaults.kt:450\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":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDefaults.kt"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c1c8558068ddd4afbea0ef395902ad9b231825bd4573d4014b5a6512eac853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt:87-95 | app/src/main/java/com/firebaseui/android/demo/firestore/FirestoreDemoActivity.kt:91-99 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/firestore/FirestoreDemoActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/database/DatabaseDemoActivity.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef94303ad5e9d87be1cbe75be14df0974a311b2b10cdf6b9f8c2f84ef9cd4949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:146-162 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:181-197 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:216-232 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:146\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5d7e0c399fe1bcee6b22730de212dd033ddd342d3cc758e5fc65cb9753c767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:176-188 | app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:194-206 | app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:212-224 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:154-169 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:189-204 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:224-239 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/MainActivity.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"297abff3ffe688d31c62ce83c3b86e51cc16e74581087e144029dd7777dfb106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:162-172 | app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:180-190 | app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:198-208 | app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:216-226 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:123-136 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:158-171 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:193-206 | app/src/main/java/com/firebaseui/android/demo/auth/AuthChooserActivity.kt:228-241 \u2014 there are 8 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/MainActivity.kt:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/MainActivity.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f3ca51f3c368c90b17070ee4dfe82f35707fd9fa586ce3fea0d2b2409a6d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:175-187 | app/src/main/java/com/firebaseui/android/demo/auth/PhoneAuthSlotDemoActivity.kt:150-162 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/auth/PhoneAuthSlotDemoActivity.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf9e1159a5684a4c1df0c0eb97ae20e9998d446f2008ccf5691abec064345d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/pages/ConfigureSmsStep.kt:105-117 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/pages/ConfigureTotpStep.kt:84-96 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/pages/VerifyFactorStep.kt:82-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/pages/ConfigureSmsStep.kt:105\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/mfa/pages/ConfigureSmsStep.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a37a9c6ab79b0626cc83cc618b571f670a75c9305a25d91d1d8909f8c374bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt:73-81 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/SignUpStep.kt:93-101 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/reauth/ReauthEmailStep.kt:64-75 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/SignUpStep.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48b15608250dcb1b59649e9e921d9a3862d70fa9e8e04784d5cd0a7bd157646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 12): auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt:55-64 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:185-194 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:343-352 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:493-502 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:558-567 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:695-704 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:817-826 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/FacebookAuthProvider\u002BFirebaseAuthUI.kt:209-218 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt:183-194 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/OAuthProvider\u002BFirebaseAuthUI.kt:182-193 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/PhoneAuthProvider\u002BFirebaseAuthUI.kt:100-109 | auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/PhoneAuthProvider\u002BFirebaseAuthUI.kt:154-163 \u2014 before extracting anything, compare \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt\u0060 and \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt:180\u0060 calls \u0060emit\u0060 and \u0060auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt:183\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":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AnonymousAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c9f0b0faee28be5f38e56c2dd3e7ffff926cfdfbdd3d6c6e92ee9f1a733021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt:83-94 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/SignUpStep.kt:103-114 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneEntryStep.kt:76-87 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneVerificationStep.kt:63-74 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/SignUpStep.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/LoginStep.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"356238985a76967c5c5468b6b8b31094c234542d1e76c74dce4d3008817f0a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): auth/src/main/java/com/firebase/ui/auth/ui/components/AuthProviderButton.kt:329-340 | auth/src/main/java/com/firebase/ui/auth/ui/components/AuthProviderButton.kt:343-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/components/AuthProviderButton.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d06a662d67e87b5704b9731e70ab113728a06b7de7bb5bdf574f9a00834320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/EmailEntryStep.kt:122-132 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneVerificationStep.kt:71-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/EmailEntryStep.kt:122\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/email/pages/EmailEntryStep.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b81914c30fc3f3ef3e01c18c7d8803e5e3ca582bb00140f184513e7584f9ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneEntryStep.kt:66-74 | app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneVerificationStep.kt:53-61 \u2014 before extracting anything, compare \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneEntryStep.kt\u0060 and \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneVerificationStep.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneEntryStep.kt:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/fullcustomization/screens/phone/pages/PhoneEntryStep.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06593309d4897d84bf2104358277f7d8cc9c4f0ba4a46f8e5dc5a82afc13e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java:128-144 | firestore/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerAdapter.java:105-121 \u2014 before extracting anything, compare \u0060database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java\u0060 and \u0060firestore/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerAdapter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060options\u0060 to \u0060FirebaseRecyclerOptions\u003CT\u003E\u0060 in one and \u0060FirestoreRecyclerOptions\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6ec8f4483ee3770c02d345ea5c458e0483996588b49c76a9dc1c745203a574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java:39-46 | firestore/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerAdapter.java:36-43 \u2014 before extracting anything, compare \u0060database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java\u0060 and \u0060firestore/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerAdapter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060options\u0060 to \u0060FirebaseRecyclerOptions\u003CT\u003E\u0060 in one and \u0060FirestoreRecyclerOptions\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abfda292a53f965308eb48c3964f30f3eb28278caca0c8b9d7453c494e8e9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java:71-88 | firestore/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerAdapter.java:127-144 \u2014 before extracting anything, compare \u0060database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java\u0060 and \u0060firestore/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerAdapter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java: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":"database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bcd15e1465fdc5e776b7d5ea991455904f2d37606f8f5dd70091b7615d310e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): database/src/main/java/com/firebase/ui/database/paging/DefaultSnapshotDiffCallback.java:33-38 | firestore/src/main/java/com/firebase/ui/firestore/paging/DefaultSnapshotDiffCallback.java:33-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060database/src/main/java/com/firebase/ui/database/paging/DefaultSnapshotDiffCallback.java:33\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060newItem\u0060 to \u0060DataSnapshot\u0060 in one and \u0060DocumentSnapshot\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/src/main/java/com/firebase/ui/database/paging/DefaultSnapshotDiffCallback.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55067548e4f0f24a4e07afe4260bcd453e8f8029ff3fb9e28e13078297e30d1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :storage: :storage: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fa63d7c3ef99a1949351bc915011d1a5f3e6b0a4b9c899602e11002e37d8e4ed"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :auth: :auth: abstractness 0.09, instability 0.20, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"02f501d9d16b324e28d076f3342db270a80e3443d58e9cafed61742ca530eb82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt: auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in FirebaseAuthScreenKt.FirebaseAuthScreen at line 158. 15 of those changes were fix/bug commits, and the other 18 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"57412eb3dd647509ea88f3236a0077678d3adfa29036a4e01145d443729428a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/PhoneAuthScreen.kt: auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/PhoneAuthScreen.kt changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in PhoneAuthScreenKt.PhoneAuthScreen at line 137. 4 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/PhoneAuthScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/PhoneAuthScreen.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d409047b9df2b676a91ba09e164cc8bdb05c6e75c1c6cf5cd1f29859b4dd2d2c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: auth/src/main/java/com/firebase/ui/auth/AuthException.kt: auth/src/main/java/com/firebase/ui/auth/AuthException.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in AuthException.from at line 488. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/AuthException.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/AuthException.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b393359d61d5bc9ddda4ffc1576fbd6bd3071ba5b428bd34d3ad014620c60251"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: auth/src/main/java/com/firebase/ui/auth/ui/screens/email/EmailAuthScreen.kt: auth/src/main/java/com/firebase/ui/auth/ui/screens/email/EmailAuthScreen.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in EmailAuthScreenKt.EmailAuthScreen at line 191. 4 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/ui/screens/email/EmailAuthScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/email/EmailAuthScreen.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"922201939b98c19d279adf6d5eed296334e8a1d4f272b355257721c641702350"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentScreen.kt: auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in MfaEnrollmentScreenKt.MfaEnrollmentScreenInternal at line 127. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e23fd9f0d0c70e879674a551ad0c841efa5b1dfa4be315eb0bd0e82661a5eb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt: auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in EmailAuthProvider\u002BFirebaseAuthUIKt.createOrLinkUserWithEmailAndPassword at line 79. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/EmailAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d4905f5deea29e16e84c41630a1d5786cdaf1fa774f46594f36b559c7e64a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt: auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ReauthDestinationsKt.reauthDestinations at line 148. 1 of those changes was a fix/bug commit, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bf12721b5061c96f8edf5f6b22a6cfebf57a85a8279405545b180f487cb9b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt: auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is GoogleAuthProvider\u002BFirebaseAuthUIKt.signInWithGoogle at line 58), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(auth): build auth exceptions with the configured string provider (#2508)\u201D; \u201Cfix(auth): clear provider sessions on sign-out without linking the Facebook SDK (#2499)\u201D; \u201Cfix(auth): log diagnostic warning when Google sign-in NoCredentialException fallback exhausts\u201D; \u201Crevert: undo the accidental merge of #2459 and #2478 into master (#2487)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/GoogleAuthProvider\u002BFirebaseAuthUI.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fa9988fbcdbedfe8d990410ec98160e917c6eea7176906fc167768535acf44"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: auth/src/main/java/com/firebase/ui/auth/configuration/string_provider/DefaultAuthUIStringProvider.kt: auth/src/main/java/com/firebase/ui/auth/configuration/string_provider/DefaultAuthUIStringProvider.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is DefaultAuthUIStringProvider.loadingSigningInWithProvider at line 56), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(auth): localize user-facing auth errors by Firebase error code (#2509)\u201D; \u201Cfix(auth): stop dropping the user identifier from localized sign-in labels (#2501)\u201D; \u201Cfix(auth)!: remove the sign-in controls made redundant by per-step navigation (#2482)\u201D; \u201Cfix(auth)!: remove non-functional MFA recovery codes (#2457)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/configuration/string_provider/DefaultAuthUIStringProvider.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/string_provider/DefaultAuthUIStringProvider.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6672daa9449902c4300ad0df47d452de2f5f99009758c1d85dcaaaac3c42bcfe"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: auth/src/main/java/com/firebase/ui/auth/configuration/string_provider/AuthUIStringProvider.kt: auth/src/main/java/com/firebase/ui/auth/configuration/string_provider/AuthUIStringProvider.kt changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is AuthUIStringProvider.verificationCodeDigitDescription at line 423), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(auth): localize user-facing auth errors by Firebase error code (#2509)\u201D; \u201Cfix(auth)!: remove the sign-in controls made redundant by per-step navigation (#2482)\u201D; \u201Cfix(auth)!: remove non-functional MFA recovery codes (#2457)\u201D; \u201Crevert: undo the accidental merge of #2459 and #2478 into master (#2487)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/configuration/string_provider/AuthUIStringProvider.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/configuration/string_provider/AuthUIStringProvider.kt"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b9e38ff2e14966fcce0ccb72a03636df0edf4cc0cf0b53650feaf9db46e359"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: auth/src/main/java/com/firebase/ui/auth/ui/components/TopLevelDialogController.kt: auth/src/main/java/com/firebase/ui/auth/ui/components/TopLevelDialogController.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is TopLevelDialogController.showErrorDialog at line 112), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(auth): build auth exceptions with the configured string provider (#2508)\u201D; \u201Crevert: undo the accidental merge of #2459 and #2478 into master (#2487)\u201D; \u201Cfix(auth): stale one-off AuthState no longer leaks across screen instances (#2415)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/ui/components/TopLevelDialogController.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/components/TopLevelDialogController.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83d15cde9500d6025309e3cd717f3a93b73fb92191fce1c5fb542d0ecd05fec"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: auth/src/main/java/com/firebase/ui/auth/ui/method_picker/AuthMethodPicker.kt: auth/src/main/java/com/firebase/ui/auth/ui/method_picker/AuthMethodPicker.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is AuthMethodPickerKt.AuthMethodPicker at line 100), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(auth)!: add an Android Lint workflow and gate the Kotlin modules on it (#2498)\u201D; \u201Crevert: undo the accidental merge of #2459 and #2478 into master (#2487)\u201D; \u201Cfix(auth): pre-fill email when \u0022Continue as\u0022 button is tapped (#2423) (#2425)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/ui/method_picker/AuthMethodPicker.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/method_picker/AuthMethodPicker.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a969f4b2acdc63ba6dbea1228a2ac10f71dcd76a0c53c64062ff00ab24e9d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDestinations.kt: auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDestinations.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is MfaEnrollmentDestinationsKt.enterMfaEnrollment at line 276), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(auth): don\u0027t reset MFA enrollment state when already in the flow (#2477)\u201D; \u201Cfix(auth): clear MFA enrollment flow state on every entry (#2473)\u201D; \u201Crevert: undo the accidental merge of #2459 and #2478 into master (#2487)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 15:59:32 \u002B01:00\u0027 --until=\u00272026-11-05 15:59:32 \u002B01:00\u0027 --full-history --no-merges -- auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDestinations.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDestinations.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e699f82ee12c5d69fa246152336db77f25e24404618c8c38af86b659f1d1748b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 37 significant file(s) lose their only recent owner: auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt, auth/src/main/java/com/firebase/ui/auth/configuration/auth_provider/AuthProvider.kt, auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/PhoneAuthScreen.kt, auth/src/main/java/com/firebase/ui/auth/AuthState.kt, auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentScreen.kt, app/src/main/java/com/firebaseui/android/demo/auth/EmailAuthSlotDemoActivity.kt, auth/src/main/java/com/firebase/ui/auth/ui/screens/reauth/ReauthDestinations.kt, auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaEnrollmentDestinations.kt (\u002B29 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"acf53f3316b02aa0ae02a217b661cdea1416028ead27787f48b364aeadb54b12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: give this group a proper label via AuthUIStringProvider (tracked \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":"auth/src/main/java/com/firebase/ui/auth/ui/components/VerificationCodeInputField.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d9ab460b4e74f5a8593466d343cbb8729dde9b293c35ed8f294b3ee320bd08"}},{"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 \u0060build.gradle.kts\u0060 makes this repository a deployable product (line 8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.gradle.kts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade292efacb92fce772490239fede79f77d6199063763774ec51af66e9b8bedc"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060AuthSuccessUiContext\u0060 spells \u0060Ui\u0060 where 64 names in the project spell it \u0060UI\u0060: 64 of 65 names in project auth spell the token \u0060UI\u0060 (64 of 65; unit: names in project auth containing \u0060UI\u0060). Peers: AuthFlowController.authUI (auth/src/main/java/com/firebase/ui/auth/AuthFlowController.kt:109); AuthFlowScopeKt.rememberAuthFlowScope(authUI) (auth/src/main/java/com/firebase/ui/auth/AuthFlowScope.kt:93); AuthFlowScopeKt.hostAuthFlowScope(authUI) (auth/src/main/java/com/firebase/ui/auth/AuthFlowScope.kt:106); FirebaseAuthActivity.authUI (auth/src/main/java/com/firebase/ui/auth/FirebaseAuthActivity.kt:82); Companion.createIntent(authUI) (auth/src/main/java/com/firebase/ui/auth/FirebaseAuthActivity.kt:212). Rename to \u0060AuthSuccessUIContext\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"971cb511666cacc763b74cb9f3430afd1b81a4e41f05a38e57955fb0a03f4560"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 11 project(s) overshoot their size bounds, lowering Project Cohesion to 6.5/10. The most over is \u0060auth\u0060 (19859 LoC, 292 module-visible types across 18 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af4c4e49c23cba9a8538c35e2aa255077fdbf298644764d2568075719ff31d1b"},"properties":{"commitSha":"d7ce8ac4ce94309349ee4858c054ee90e6ab092e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ef6603edd173a70b375b667d4838757d8773510c244f11a7abfb49ded2e99ef"},"properties":{"commitSha":"b348218c42d6479f75708ce2ef2643d4140ef0fc"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"816a709adb20e0b00e07181c77949369f1ac36cf41ea6aad95d73adf439b59e9"},"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":"7d8972c36dde562f013219035308417c5de773b4b71d564c7e7472d4a8a5a5d6"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"0ed8aba19b3a36e3b7c820ae2769899f7cbc45fa225d7393ed9e6fee97307831"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 20 of 131 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (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; 131 of the 203 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt, database/src/main/java/com/firebase/ui/database/FirebaseIndexArray.java, common/src/main/java/com/firebase/ui/common/BaseObservableSnapshotArray.java, auth/src/main/java/com/firebase/ui/auth/mfa/TotpEnrollmentHandler.kt, database/src/main/java/com/firebase/ui/database/FirebaseListOptions.java, database/src/main/java/com/firebase/ui/database/FirebaseRecyclerOptions.java, firestore/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerAdapter.java, database/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java (and 12 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/mfa/MfaChallengeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba514562f1d8031e53850c1327d305a562f52fca89b1d438118850f45962ef0"}},{"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/src/main/java/com/firebase/ui/database/FirebaseIndexArray.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a139a4037bc85499fafb533c5c86de74fd2341829ac4387746ac88c220ff82a"}},{"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":"common/src/main/java/com/firebase/ui/common/BaseObservableSnapshotArray.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7e19ffcbaa84792de0602d1dbc274775c28df88a2991f87123e759007fb18e"}},{"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":"auth/src/main/java/com/firebase/ui/auth/mfa/TotpEnrollmentHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc2f80a9c5f0d006f6bd9cc82073efd50db7b60ba266ee125a01ca4986f0999"}},{"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/src/main/java/com/firebase/ui/database/FirebaseListOptions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8954ac99883652fc1dbc36fe8a8876e2b74f46d4b0e1cae3fa0b16f5d137fc"}},{"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/src/main/java/com/firebase/ui/database/FirebaseRecyclerOptions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f432d6db0bac1ddeb8af9f92e9a885ae3a89b60b16cbee89c46a73a1a4ef3e83"}},{"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/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"832f5545aace710366b81a39b633cff25539a8c7961eecd61ef69066e02a531a"}},{"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/src/main/java/com/firebase/ui/database/FirebaseRecyclerAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e59f3540c0863056a4d74919a12dc744b437d5618630eadcdb375b0650e055a"}},{"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":"auth/src/main/java/com/firebase/ui/auth/mfa/MfaChallengeContentState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baba7508759afe13e87025a4f3fd070f2fd907f6001117d4144e4fab7bd3e58f"}},{"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":"auth/src/main/java/com/firebase/ui/auth/ui/components/QrCodeImage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e036678005b11fc384bb0556b3e2fc592bb80202c912e7ba6ee536c6f4f7e9"}},{"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/src/main/java/com/firebase/ui/firestore/FirestoreRecyclerOptions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d94b163a1283ffd75b16f275019737e39801018b85f35f94cb80a42fe6b5f70"}},{"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/src/main/java/com/firebase/ui/database/FirebaseListAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7b85f557b69b0d1e8eb3dd5f44396ad2fa8cd9d0ed0cec6acab05e7dfd9de2"}},{"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":"lint/src/main/java/com/firebaseui/lint/FirestoreRecyclerAdapterLifecycleDetector.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a5e8e28536e39e7c89709f900ff1508600ac00b219ee70cc8c01ae790fbf20"}},{"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/src/main/java/com/firebase/ui/firestore/FirestoreArray.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a08ed7e01cbaf2c1e99d05102db2fc20f3c35f444e1aaf8c53f0c5e897fd6c"}},{"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/src/main/java/com/firebase/ui/database/FirebaseArray.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"036afa009e02a741341b396e70f40f4239d460e81bd8f425523051d741234bef"}},{"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":"auth/src/main/java/com/firebase/ui/auth/util/Preconditions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0906da6eaaa5badcc21c15609af7dba6c41ccd25e50da26e70d1c3983dee3146"}},{"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":"auth/src/main/java/com/firebase/ui/auth/mfa/TotpSecret.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2384630f3d773cf1f425ece87b27995b9e7b8692db236c1dbda4b8c8a36c694a"}},{"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/src/main/java/com/firebase/ui/firestore/paging/FirestorePagingAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac07f47ad9d8724e4dfd1db62b9eea14b2d88b655a3f58b8ce410c8ca52971d3"}},{"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":"auth/src/main/java/com/firebase/ui/auth/mfa/MfaEnrollmentStep.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b877607161d686878bf9f739fab76d3357c0b8ed665915a87a2f5c6711d199"}},{"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":"scripts/translations/base_string_script.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f2e87ab374c07c3b3b8d3e29136369ede9515cf18880acf5ce22e8f6aa4f99"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: MainActivity.kt \u2194 FirebaseAuthScreen.kt: \u0060app/src/main/java/com/firebaseui/android/demo/MainActivity.kt\u0060 (context main) and \u0060auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt\u0060 (context auth) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060e752b75d\u0060 feat(auth): add isCredentialLinkingEnabled for authenticated users (#\u2026; \u0060e5d5f1d9\u0060 fix: Support both Email/Password and Passwordless/Link if enabled (#2\u2026 (at that commit the files were still \u0060composeapp/src/main/java/com/firebase/composeapp/MainActivity.kt\u0060 and \u0060auth/src/main/java/com/firebase/ui/auth/compose/ui/screens/FirebaseAuthScreen.kt\u0060); \u0060af52b848\u0060 fix: Email link sign-in (#2263) (at that commit the files were still \u0060composeapp/src/main/java/com/firebase/composeapp/MainActivity.kt\u0060 and \u0060auth/src/main/java/com/firebase/ui/auth/compose/ui/screens/FirebaseAuthScreen.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/MainActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ab223b91f4c64414ff3ab28772b774778307147d84c902108275e3ee549aa5"}},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (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 5 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/android.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060firebase.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2eTest/firebase.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33085c2f8e82106c9e9173290f4ed8746e328386162b5773724f4486f59c9adc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authState is AuthState.Loading || authState is AuthState.Reauthentication.Authenticating\u0060 appears character-identically in 2 files \u2014 auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt, auth/src/main/java/com/firebase/ui/auth/ui/screens/phone/PhoneAuthScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreen.kt"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eeff119e51ff990b9e5fda5b5428d9794cadf537d3b5be4cb2c655da3b49eb8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/firebaseui/android/demo/auth/HighLevelApiDemoActivity.kt"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"0776245a9d3e7d0d61e0d1c9319b1c8fe843cdced5b2fa93119e5988012be48a"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-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-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.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":"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-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"}]}],"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":6,"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."]}]}