{"$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":"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"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":"_ResetDialogState.build (cyclomatic 62): _ResetDialogState.build has cyclomatic complexity 62 (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":"lib/app/views/reset_dialog.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a0c8b1da25c4c29ea61169fc9a0b71284dafb3714cbc9e9de6895fca21f5ef"}},{"ruleId":"D1","level":"warning","message":{"text":"_OathAddAccountPageState.build (cyclomatic 54): _OathAddAccountPageState.build has cyclomatic complexity 54 (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":"lib/oath/views/add_account_page.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8548327be750772f1fe8320df6f2cf840194c048fbfc7745933ae24c0f4452d"}},{"ruleId":"D1","level":"warning","message":{"text":"_AppPageState._buildScaffold (cyclomatic 39): _AppPageState._buildScaffold has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_page.dart"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfcfd92bcb12330ba0563383a1f612c375b8febcaaea18ba73a09e27ffd5f97"}},{"ruleId":"D1","level":"warning","message":{"text":"_UnlockedViewState.build (cyclomatic 39): _UnlockedViewState.build has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/oath_screen.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce5f9b4bddcfa03d376eb30a8e123e59fa50404835213c768ac8e1d0cd45fb0"}},{"ruleId":"D1","level":"warning","message":{"text":"_ConfigureYubiOtpDialogState.build (cyclomatic 39): _ConfigureYubiOtpDialogState.build has cyclomatic complexity 39 (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":"lib/otp/views/configure_yubiotp_dialog.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f960038dce3308805774bcee435ad8492eea5d1bed6690b94426033785dce1a9"}},{"ruleId":"D1","level":"warning","message":{"text":"PivActions.build (cyclomatic 38): PivActions.build has cyclomatic complexity 38 (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":"lib/piv/views/actions.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ff5558e2e4ffbf3161341ded1047bbc1fa04226f29fc651d8c9340ad5910d9"}},{"ruleId":"D1","level":"warning","message":{"text":"_ManagePinPukDialogState.build (cyclomatic 36): _ManagePinPukDialogState.build has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/manage_pin_puk_dialog.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a676cb2da53a88acc2aced935d76fa729380b56506d100247b30ceecbc5643a8"}},{"ruleId":"D1","level":"warning","message":{"text":"_FidoUnlockedPageState.build (cyclomatic 34): _FidoUnlockedPageState.build has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e01d2f0933b80bde70258c7d54786850c8f1ecbcec21e969637bc4abac0d02"}},{"ruleId":"D1","level":"warning","message":{"text":"_GenerateKeyDialogState.build (cyclomatic 30): _GenerateKeyDialogState.build has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/generate_key_dialog.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"087be619e525432b5dfd9d2a2f752b60d76db94c423d81901ed6d1633dd37772"}},{"ruleId":"D1","level":"warning","message":{"text":"_PivScreenState.build (cyclomatic 28): _PivScreenState.build has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/piv_screen.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c25f18b9346c3e8c30feda3cb1f217ac26c5c3e18042b1e110ad0cf09a16a"}},{"ruleId":"D1","level":"warning","message":{"text":"_ImportFileDialogState.build (cyclomatic 27): _ImportFileDialogState.build has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/import_file_dialog.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59f6dbb49c35b492c1e531479f6b8cc4536206fdb343e492a4b1023cb5bc848"}},{"ruleId":"D1","level":"warning","message":{"text":"MainPage.build (cyclomatic 26): MainPage.build has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/main_page.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68cb8215460bc1792614e2dcf44999a28f048088ec2500eaee601e029bd03d7"}},{"ruleId":"D1","level":"warning","message":{"text":"_ManagePinPukDialogState._submit (cyclomatic 26): _ManagePinPukDialogState._submit 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":"lib/piv/views/manage_pin_puk_dialog.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23c919fae15130bb697d3778fe891f00c384c3a712db90c1c0cf98a41e26adb"}},{"ruleId":"D1","level":"warning","message":{"text":"_AppPageState._buildMainContent (cyclomatic 25): _AppPageState._buildMainContent has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_page.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0ac8abb722124100ec48ae200a8304be3cf3a80792e87681e5a137fd5cf62d"}},{"ruleId":"D1","level":"warning","message":{"text":"_DeleteCertificateDialogState.build (cyclomatic 25): _DeleteCertificateDialogState.build has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/delete_certificate_dialog.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"21934cf664d4c3ef533c285dbd891a4b1a0a2c671d12be0874ba0cc254502535"}},{"ruleId":"D1","level":"warning","message":{"text":"OathManager.processYubiKey (cyclomatic 24): OathManager.processYubiKey has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b290e709a94c032caae27adc65b81131dd4c62b289e797c551f634973cbd2978"}},{"ruleId":"D1","level":"warning","message":{"text":"_ManageKeyDialogState._submit (cyclomatic 23): _ManageKeyDialogState._submit has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/manage_key_dialog.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9669dd2ebab51431569acbee8a74dd55b58661c5e0f9b9cfd925fc223b171aac"}},{"ruleId":"D1","level":"warning","message":{"text":"MainActivity.processYubiKey (cyclomatic 22): MainActivity.processYubiKey has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e29a4098af1aa6f98b5cf3dd8becd8ff8b4e4d2578a6b6c05af49770dde927"}},{"ruleId":"D1","level":"warning","message":{"text":"_FidoPinDialogState._submit (cyclomatic 21): _FidoPinDialogState._submit has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/pin_dialog.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5248ec1668daec0f96d1522687ff0bd5daefe1bc9509f0e1163404fe0dd9d079"}},{"ruleId":"D1","level":"warning","message":{"text":"BarcodeAnalyzer.analyze (cyclomatic 20): BarcodeAnalyzer.analyze has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/flutter_plugins/qrscanner_zxing/android/src/main/kotlin/com/yubico/authenticator/flutter_plugins/qrscanner_zxing/QRScannerView.kt"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7710be171d6c1126929cf529c844366a565ab47f4f358e952ca792736f50121"}},{"ruleId":"D1","level":"warning","message":{"text":"_DeviceRowState.build (cyclomatic 18): _DeviceRowState.build has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/device_picker.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0833025b9e8a3d60df88c1d5e6db2a86b0373b3ea1a67be6c71501ba9222b2a5"}},{"ruleId":"D1","level":"warning","message":{"text":"_FidoLockedPage.build (cyclomatic 18): _FidoLockedPage.build has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dab205a5839d445be70024b44cc75b1a654998040f58db0d956618daf662b01"}},{"ruleId":"D1","level":"warning","message":{"text":"_ManagementScreenState.build (cyclomatic 18): _ManagementScreenState.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/management/views/management_screen.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3e738b914b9f769793f3187602194c83acd8220fd99b6db12c0c67dabaa1bc"}},{"ruleId":"D1","level":"warning","message":{"text":"_FidoUnlockedPageState.build (cyclomatic 17): _FidoUnlockedPageState.build 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":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d19e48b9ee74e10a2e423bb61b9e8266e17b9df2a8b900e118756b2d0e3de5"}},{"ruleId":"D1","level":"warning","message":{"text":"_PinEntryFormState.build (cyclomatic 16): _PinEntryFormState.build has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/pin_entry_form.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c194efd9723084f5d3db753237ec4cb9a659bfbb530e867fc2d3bdbb5823202b"}},{"ruleId":"D2","level":"warning","message":{"text":"_ResetDialogState.build (cognitive 86): _ResetDialogState.build has cognitive complexity 86 (threshold 15). Drivers by points: if/else 22 (39 pts), ternaries 11 (24 pts), boolean chains 12, match/switch 5 (8 pts), error handling 1 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/reset_dialog.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7291b5d37d4c7dfc8e616bc90dea2f22182f2a178b0d626e848772ba74a32f22"}},{"ruleId":"D2","level":"warning","message":{"text":"PivActions.build (cognitive 76): PivActions.build has cognitive complexity 76 (threshold 15). Drivers by points: if/else 26 (55 pts), ternaries 4 (11 pts), boolean chains 5, match/switch 1 (3 pts), error handling 1 (2 pts) (nesting depth added 39). 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":"lib/piv/views/actions.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a128e40a06d19ab8ce158a5745d2641d7a7d332262957178f15275f3c8e4a716"}},{"ruleId":"D2","level":"warning","message":{"text":"_OathAddAccountPageState.build (cognitive 74): _OathAddAccountPageState.build has cognitive complexity 74 (threshold 15). Drivers by points: if/else 33 (43 pts), ternaries 16 (21 pts), boolean chains 9, error handling 1 (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":"lib/oath/views/add_account_page.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e598bdecc2233d5d556a304407b857da9623bd40694a323f81f33758e26f069"}},{"ruleId":"D2","level":"warning","message":{"text":"_UnlockedViewState.build (cognitive 56): _UnlockedViewState.build has cognitive complexity 56 (threshold 15). Drivers by points: if/else 23 (34 pts), ternaries 8 (13 pts), boolean chains 9 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/oath_screen.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"473f8a02f31824490603326f377dc6f84426e084f1c5cc847fd0b059100637d4"}},{"ruleId":"D2","level":"warning","message":{"text":"_FidoUnlockedPageState.build (cognitive 52): _FidoUnlockedPageState.build has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (28 pts), ternaries 14 (22 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"63407c36cff6122109cbfa313d15268b469efc8b1ea9bdf9f658e1d11747e44f"}},{"ruleId":"D2","level":"warning","message":{"text":"_AppPageState._buildScaffold (cognitive 50): _AppPageState._buildScaffold has cognitive complexity 50 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 17, ternaries 11 (15 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_page.dart"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b758ae898cc389913bf347566d0d04e01bee53474b9576757006b0e1c62beea3"}},{"ruleId":"D2","level":"warning","message":{"text":"OathManager.processYubiKey (cognitive 49): OathManager.processYubiKey has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (29 pts), error handling 5 (15 pts), boolean chains 5 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e988395147173fbff0322b1f33c54be0dbf982c8648d7b4d52a8e2255bc01e2c"}},{"ruleId":"D2","level":"warning","message":{"text":"_ConfigureYubiOtpDialogState.build (cognitive 46): _ConfigureYubiOtpDialogState.build has cognitive complexity 46 (threshold 15). Drivers by points: if/else 25 (27 pts), ternaries 11 (14 pts), boolean chains 3, error handling 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":"lib/otp/views/configure_yubiotp_dialog.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"304cd61f3b5606a95af6beb6e1afe80ba968fac4c7139d51210f7a13c070f65a"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImportFileDialogState.build (cognitive 46): _ImportFileDialogState.build has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 5 (13 pts), boolean chains 7, error handling 1 (2 pts), match/switch 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/import_file_dialog.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee24d87618634b26d1541e73a66e134f5cf0a3a5f06e7dc4a289faed9b38b668"}},{"ruleId":"D2","level":"warning","message":{"text":"_AppPageState._buildMainContent (cognitive 37): _AppPageState._buildMainContent has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 14 (24 pts), if/else 7 (10 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_page.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"738442a46b7cbc6ff28187a9915995f6994a858f50ab7e99aa37d0c91501dbf3"}},{"ruleId":"D2","level":"warning","message":{"text":"_ManageKeyDialogState._submit (cognitive 36): _ManageKeyDialogState._submit has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (28 pts), match/switch 2 (5 pts), boolean chains 3 (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":"lib/piv/views/manage_key_dialog.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cca7526e66705d9f853765b2256461ee6892d7970719977844729d35f56b323"}},{"ruleId":"D2","level":"warning","message":{"text":"_ManagePinPukDialogState.build (cognitive 35): _ManagePinPukDialogState.build has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 22, boolean chains 8, if/else 4, 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":"lib/piv/views/manage_pin_puk_dialog.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca9dd8e34160e75bad8f3fd1f4198e639b15130949abbce484f99baeed405ca"}},{"ruleId":"D2","level":"warning","message":{"text":"_PivScreenState.build (cognitive 35): _PivScreenState.build has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 11 (13 pts), boolean chains 8 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/piv_screen.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5043f7f771a9f5461b0d826fd09a8abb975915437d6adbf6e962d29f6f4862c7"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivity.processYubiKey (cognitive 34): MainActivity.processYubiKey has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (28 pts), error handling 3 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6cd895cac124e28dcc30fd36924818104c739a46616b8b9af3ad26cbd12a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"BarcodeAnalyzer.analyze (cognitive 34): BarcodeAnalyzer.analyze has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (22 pts), error handling 3 (7 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/flutter_plugins/qrscanner_zxing/android/src/main/kotlin/com/yubico/authenticator/flutter_plugins/qrscanner_zxing/QRScannerView.kt"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc308574378cfe55a955e6240cd696ab51edc28be2c53c742bc19a646e376767"}},{"ruleId":"D2","level":"warning","message":{"text":"_DeleteCertificateDialogState.build (cognitive 32): _DeleteCertificateDialogState.build has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 7 (11 pts), boolean chains 9, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/delete_certificate_dialog.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0bc9d44d1e531382f139d498ecfb89786600cd4b45df329168e0bce51be5dc"}},{"ruleId":"D2","level":"warning","message":{"text":"_FidoPinDialogState._submit (cognitive 31): _FidoPinDialogState._submit has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 2 (6 pts), match/switch 2 (5 pts), boolean chains 4, error handling 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/pin_dialog.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe30560063a915d62705bcd262229da111863b4e1afbe5d837aca3a8a193df28"}},{"ruleId":"D2","level":"warning","message":{"text":"_GenerateKeyDialogState.build (cognitive 31): _GenerateKeyDialogState.build has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 7 (9 pts), boolean chains 8, match/switch 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/generate_key_dialog.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b019072fbf9296846a2727086bb48a6dd336c8441dfd1c26c7d0ca201796ee83"}},{"ruleId":"D2","level":"warning","message":{"text":"_ManagePinPukDialogState._submit (cognitive 31): _ManagePinPukDialogState._submit has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 6 (11 pts), match/switch 4 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/manage_pin_puk_dialog.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"721fe6f3f6838f2d64999ad174f9aa2424bc4258971d8a52520f8cce18af3165"}},{"ruleId":"D2","level":"warning","message":{"text":"_DeviceRowState.build (cognitive 27): _DeviceRowState.build has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 14 (23 pts), boolean chains 2, if/else 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/device_picker.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"70500211fa58f9044c85f4d7be5db66710c12924c50d6442b401621a58af30a8"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopPivStateNotifier.build (cognitive 27): DesktopPivStateNotifier.build has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (27 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/piv/state.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dddd25a47eef4038db4ad095d3efffac0b0c84af7219ea34bbd0f7a8193c0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"_FidoLockedPage.build (cognitive 27): _FidoLockedPage.build has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 6 (9 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"835d52092de6ccc895d14854041282a4b66063ad59d5662fd50c5148af527f72"}},{"ruleId":"D2","level":"warning","message":{"text":"_ManagePasswordDialogState.build (cognitive 27): _ManagePasswordDialogState.build has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/manage_password_dialog.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ee16985203a929a3434345b07233151546a831b5d53abe54af2452ed5efe7d"}},{"ruleId":"D2","level":"warning","message":{"text":"MainPage.build (cognitive 26): MainPage.build has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 5 (7 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/main_page.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3368086af42a352c7d3e7241d6c1fc7da4a68a620169cda42713b8b4231acde5"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbDeviceNotifier._pollDevices (cognitive 26): UsbDeviceNotifier._pollDevices has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (10 pts), boolean chains 2, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/devices.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"06870c3b4018c6f06c71092447b820ce76c905fa4d48f4e23e5b6d2e556da11f"}},{"ruleId":"D2","level":"warning","message":{"text":"_ManageKeyDialogState.build (cognitive 23): _ManageKeyDialogState.build has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 7 (8 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/manage_key_dialog.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96133e6ce384113fec3a7439cb53ef5d69fa279bb2f5e73198cac20699a6f35"}},{"ruleId":"D2","level":"warning","message":{"text":"CurrentDeviceDataNotifier._pollCard (cognitive 22): CurrentDeviceDataNotifier._pollCard has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 1, error handling 1 (nesting depth added 13). 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":"lib/desktop/devices.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a593ebbd0a226428c7965d7331815ee628dc5305ebda3fbd7a03c771fb7aa06"}},{"ruleId":"D2","level":"warning","message":{"text":"AppFailurePage.build (cognitive 21): AppFailurePage.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_failure_page.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c337c26181018f7c43726b1dee250398fb0d645b596c59021a8b39df73aa4bc4"}},{"ruleId":"D2","level":"warning","message":{"text":"_AppPageState._scrollElement (cognitive 21): _AppPageState._scrollElement has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 3 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_page.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"22967fb9942e6d9d904537b51a5992647dc25b494096e6bf384040cb34b0bb32"}},{"ruleId":"D2","level":"warning","message":{"text":"_FidoUnlockedPageState.build (cognitive 21): _FidoUnlockedPageState.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4228b578b7c27ba05c58777b8d5c92f278037b0eea702230c7c8f25d7db200df"}},{"ruleId":"D2","level":"warning","message":{"text":"qr._capture_screen (cognitive 21): qr._capture_screen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 3 (8 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/qr.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"16496d12af8bc2d2e731f8617416224b06dc688877c75c6f51b284db03f03b01"}},{"ruleId":"D2","level":"warning","message":{"text":"RpcShell.do_ls (cognitive 21): RpcShell.do_ls has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 5 (10 pts) (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/shell.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"193a7d715255396803f18b867df90dec9dc4646dfa6d0f14e66d31e4d6fcdf85"}},{"ruleId":"D2","level":"warning","message":{"text":"_ManagementScreenState.build (cognitive 20): _ManagementScreenState.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, ternaries 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/management/views/management_screen.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f05a44817acf31d06f4c66bfc6089a5ac970ab9d15ff10782b01ee7fc47a25"}},{"ruleId":"D2","level":"warning","message":{"text":"RpcNode.__call__ (cognitive 20): RpcNode.__call__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 3, loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/base.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e015e96add58d4cf395bbfe12371d5c7653402d1f63f96704746e5fd4b0e7ced"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivity.onResume (cognitive 19): MainActivity.onResume has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fca89a5c28594989a7690346ffb9e9e72f69a89598464e6e00f05e94044174"}},{"ruleId":"D2","level":"warning","message":{"text":"check_strings.check_prefixes (cognitive 19): check_strings.check_prefixes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check_strings.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de9291f3a1a2d838b90f0020b4ce6fdd302bac56ce1139bc1ba119db3a7a5c4"}},{"ruleId":"D2","level":"warning","message":{"text":"_AppPageState._buildAppBarTitle (cognitive 17): _AppPageState._buildAppBarTitle has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 6, boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_page.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8032691b35430a2533e6f1c210448b5ff757474ecf80c63c93ca6f7da12f134"}},{"ruleId":"D2","level":"warning","message":{"text":"RpcSession._pump (cognitive 17): RpcSession._pump has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (7 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/rpc.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c592c808507dbc3e827f2d75294a590d6afd08663a4016d915d5fcd570609a2b"}},{"ruleId":"D2","level":"warning","message":{"text":"_FidoPinDialogState.build (cognitive 17): _FidoPinDialogState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 5 (6 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/pin_dialog.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf952d93548c31ab43bfe697d8d909cfb7f6effe83962c235e69f5787057831"}},{"ruleId":"D2","level":"warning","message":{"text":"OathActions.build (cognitive 17): OathActions.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, ternaries 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":"lib/oath/views/actions.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"785c0b55541334bcea38f3ee2c8d88802d6472f48e30a8e6b59037f1405b9e04"}},{"ruleId":"D2","level":"warning","message":{"text":"PivmanUtils.pivmanSetMgmKey (cognitive 17): PivmanUtils.pivmanSetMgmKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/piv/PivmanUtils.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"956ed6681e8164ae67f1576f110466b2ec920703f01874817fd2d74225628a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"RpcShell.default (cognitive 17): RpcShell.default has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 1 (2 pts), boolean chains 1, 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":"helper/shell.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a1869494e81bf1ac66e0a95627dcec9266ed22be3600751ece1daab161dfc4"}},{"ruleId":"D2","level":"warning","message":{"text":"_LogsViewState.build (cognitive 16): _LogsViewState.build has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/settings_page.dart"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"41312089c67675d977de1e6b3bb8fec37b4c2a2af69c87f5d0ff703efd2c400a"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountHelper.buildActions (cognitive 16): AccountHelper.buildActions has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 3, if/else 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/account_helper.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37c6f33b4aed4ba53c74b1b50885f8ffe91a450ac1464448ab0d4b687307a86"}},{"ruleId":"D2","level":"warning","message":{"text":"_MoveKeyDialogState.build (cognitive 16): _MoveKeyDialogState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4, boolean chains 1, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/move_key_dialog.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"715df21f19d38fcb26c6e5b3e56a1dda590488333fc52afb8aada1db5a6e9d21"}},{"ruleId":"D2","level":"warning","message":{"text":"FidoManager.processYubiKey (cognitive 16): FidoManager.processYubiKey has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4713fc1e8cffc140198e69af93707806053d2d8460f01b1dadbb100512a8f7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OathAddAccountPageState.build: MethodTooLong \u2014 build runs 498 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 398 over it, 4.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/add_account_page.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"008bd2896ba79256c53d34389150a4b706e78e515137ed7c2bf5c9e6a381bf23"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _UnlockedViewState.build: MethodTooLong \u2014 build runs 374 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 274 over it, 3.74\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":"lib/oath/views/oath_screen.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4a7143ae584facc37dc0efef838e90b04855f2b69dbb36f099b635fab1976f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ConfigureYubiOtpDialogState.build: MethodTooLong \u2014 build runs 344 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 244 over it, 3.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/configure_yubiotp_dialog.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd814ed22e29fbf36f43dbc575434ec7ee9b641d644a937d02195afc50ffba3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _FidoUnlockedPageState.build: MethodTooLong \u2014 build runs 318 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 218 over it, 3.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"450a7b693424b258fdf84417b08d91bce1cdf8b6a73d96b92034e12c245a4084"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GenerateKeyDialogState.build: MethodTooLong \u2014 build runs 282 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 182 over it, 2.82\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":"lib/piv/views/generate_key_dialog.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6568e8a820cfd2f61f9200d33a63e818bc351caad092eee5ad8898df82f1b22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ResetDialogState.build: MethodTooLong \u2014 build runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\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":"lib/app/views/reset_dialog.dart"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03fe7ee907eaf65c5c94fff3d703acf69df144c6fcac97347c0506559e205ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PivScreenState.build: MethodTooLong \u2014 build runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/piv_screen.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a665a9c789083d4ad4d170c7363078882ebfeaf4a1e89d9955ed298dd65eea5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ImportFileDialogState.build: MethodTooLong \u2014 build runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/import_file_dialog.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c156a97e4bb59b5320885ee804fd9f79762a00442b120aa7bbe562646380aad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ManageKeyDialogState.build: MethodTooLong \u2014 build runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/manage_key_dialog.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"117d8691796eac9738efbb00de653d0d718d96e688e8bafd78ffd1ed0e4ac8c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AppPageState._buildScaffold: MethodTooLong \u2014 _buildScaffold runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_page.dart"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"29423c8d14af92ea13e0a230288435079eb8190430e7d9dc7b4d1392842685c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/settings_page.dart: FileTooLong \u2014 972 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 472 over it, 1.94\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":"lib/app/views/settings_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf84f8c7929ecff58ed97af93fdfe07674574a2646c67a26537431a98d418e92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PivActions.build: MethodTooLong \u2014 build runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\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":"lib/piv/views/actions.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b6347d54082bc0874d5a30c729ab0e402e0a527a605dd781b6564a0b8071ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ManagePinPukDialogState.build: MethodTooLong \u2014 build runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\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":"lib/piv/views/manage_pin_puk_dialog.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac80ba25c7dede9e1e9372540589364f846636033ddbe15e047222285e8b81ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ManagePasswordDialogState.build: MethodTooLong \u2014 build runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/manage_password_dialog.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb17b2789d6e0f4a9e6974902c4924d325734d8a76be8af13e27869482dff30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/app_page.dart: FileTooLong \u2014 847 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: _AppPageState (119-926). The bar is 500 significant lines; this is 347 over it, 1.69\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":"lib/app/views/app_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce4b70bf3feae5a9f26a92aa3e3fe39b46db1d8934954d9d929a72c7008fd99"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _FidoPinDialogState.build: MethodTooLong \u2014 build runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/pin_dialog.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b9fb3f1bb5f3cd007784ca0bb44f86d360eb7febf8cc5f1d2c17277ce9ab8a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ConfigureStaticDialogState.build: MethodTooLong \u2014 build runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/configure_static_dialog.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"139f4ab05362e883b79e09c2bb02a8952e671801b211902169a138b610896cec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DeviceContent.build: MethodTooLong \u2014 build runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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":"lib/home/views/home_screen.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c908b80304c22a76192b2ab9ff94e81d6bf16f1be1c68a7ec8b00e41f7985a03"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PivManager: ClassTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 207 over it, 1.52\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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd7f17c9c1ef95bfb6cdef1624e5fa899773ee8c7b165db09e7359d827b336d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AppPageState._buildMainContent: MethodTooLong \u2014 _buildMainContent runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_page.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dce20244b50f4c3a74ef53ad773e1c766c8e0a55301d3e951fe6f631ee2f73"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _OathAddAccountPageState: ClassTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 188 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/add_account_page.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bbb9a0f4e8454c2fdd14f437e3764332f97be2febfa6b3eef78626f477279c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AppPageState: ClassTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 170 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_page.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"72321eab2ec1aab7a52b8e8abe5dc133d9b6c4c1a7eeb63866f5b50c3a6ec3c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PivManager: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"536720aecda9ca6c0e5c24f6775516e3205fce80cfde33e50988d58ccf6e8c98"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _FidoUnlockedPageState.build: MethodTooLong \u2014 build runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f016d41752d1bc31ef9eff255466061c7b8c32d4078777711d6a045e2abf35b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ConfigureHotpDialogState.build: MethodTooLong \u2014 build runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/configure_hotp_dialog.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dacedbeb41dfb34dcc9b84bd8629fa895f47459ad436a08a37c3221c621ffe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ConfigureChalrespDialogState.build: MethodTooLong \u2014 build runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0074aeb818df8f4925cf17092584ba5bc9f4c991dd8c8b477476d4d19918dfae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: piv/PivManager.kt: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: PivManager (76-964). The bar is 500 significant lines; this is 163 over it, 1.33\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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7cf3cc49a732d414c45634e05516cfef46d1a946208502cc0a57cc105a8d40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/add_account_page.dart: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: _OathAddAccountPageState (75-860). The bar is 500 significant lines; this is 136 over it, 1.27\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":"lib/oath/views/add_account_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"641cf5f84263498595b2442e386fd4da023b4fb3e118ffa6b4be1883ee319e16"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FidoManager: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 101 over it, 1.25\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":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"860eb2b8e3437b1d3c9e82f89818121a48f02786e0769f4f4ef1b8ce3a8a4056"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OathAddMultiAccountPageState.build: MethodTooLong \u2014 build runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/add_multi_account_page.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9034073591464e0a1def1b2f79e4b2dea06799bf7fc25e2324144ad40d96bd0d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MainActivity: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 86 over it, 1.22\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":"android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe317618d9e028790043d7c4a8fc92c4e02545ad4664f02e18b5b783ec3feb6e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PinEntryFormState.build: MethodTooLong \u2014 build runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/pin_entry_form.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b142abfee155dc4f388b06e11fdb06381986676549f17881b0ea9aad402ce4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OathManager: ClassTooLong \u2014 477 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 77 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7699858ad922cfd88f8e1c6c9e3be3772580d3a430d599a28ba8dda20c181a0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OtpScreenState.build: MethodTooLong \u2014 build runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/otp_screen.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f1df83dcecfc81a89194318c2a223549552b3b8df118b4cc97f749514eaf89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AccountViewState.build: MethodTooLong \u2014 build runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/account_view.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea87678e08357a9bfc8496d42094ff47fe42830755e5203127badd7301126379"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OathManager: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c7f57294a9aafba6a5ca7257862265420822a1c45cfa09d27f1250a434818e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AuthenticationDialogState.build: MethodTooLong \u2014 build 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":"lib/piv/views/authentication_dialog.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"67523ab0501b2b23ea03edf1028f23ac417b2091893898de5d034aee0b450c91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: authenticator/MainActivity.kt: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: MainActivity (95-855). The bar is 500 significant lines; this is 62 over it, 1.12\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":"android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28763539a1bc664d7131b5b14b9a91d43b1bd8af97486be99182b8217ed17c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/passkeys_screen.dart: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: _FidoUnlockedPageState (234-723). The bar is 500 significant lines; this is 52 over it, 1.10\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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45611d2ed3f1ac999d8c00db8f63f742da5ce92a0cb0e1a3f51a0d04de748ee5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fido/FidoManager.kt: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: FidoManager (65-815). The bar is 500 significant lines; this is 46 over it, 1.09\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":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"139fbde4cf14b96487971ca94c57f3025cf75fc8aebb6859223af970abbe1308"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LogsViewState.build: MethodTooLong \u2014 build runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/settings_page.dart"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5342998025980af57c26ffd9f8dca1804dca2174b8608ae5868bc76cb1ffd21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oath/OathManager.kt: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: OathManager (77-884). The bar is 500 significant lines; this is 34 over it, 1.07\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":"android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeb80c4da36f72a43d1ddb1744465b8d324e4b6205e1bd661486afdd4b42cb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helper/device.py: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 over it, 1.02\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":"helper/helper/device.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2953f3f2157b67de0a38f299083595eab8b2d1a6b95159a2b808575e6d9b3e8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _UnlockedViewState: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/oath_screen.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fe57e0c46341c3f780c50c4416130d72ab741ea9ee660f4684438254f6b3b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (154 shared lines): lib/fido/views/passkeys_screen.dart:277-714 | lib/oath/views/oath_screen.dart:177-699 \u2014 These two members are variants of one another: 154 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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d7632d54629090175bc7f614d4041ad0c9ce6d0d5ac912e7a9c971f53dec5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/otp/views/configure_chalresp_dialog.dart:70-262 | lib/otp/views/configure_hotp_dialog.dart:71-272 | lib/otp/views/configure_static_dialog.dart:93-309 | lib/otp/views/configure_yubiotp_dialog.dart:154-620 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b8eb3091dc4fb45d508decf4d7aab7f9a994100485544c2b63e2c312a6f543"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 69\u002B corresponding lines): lib/fido/views/pin_confirmation_dialog.dart:137-214 | lib/otp/views/access_code_dialog.dart:111-179 | lib/piv/views/pin_dialog.dart:119-191 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 69 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":"lib/fido/views/pin_confirmation_dialog.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadbe0f1f4fb6e86f06ce68dd2870643cf26cd2c07fff903c6b3230266846293"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): lib/fido/views/rename_fingerprint_dialog.dart:95-146 | lib/home/views/manage_label_dialog.dart:56-107 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/rename_fingerprint_dialog.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7204536820e2b7e7cd584772f0d4ab2bb60b86a90abe185e0d11bcf10143ee5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): lib/fido/views/fingerprints_screen.dart:62-105 | lib/fido/views/passkeys_screen.dart:60-103 \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":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"59846e996e69036db84515cd37b375fd44a19d3809f8cbd4fcf3d1a8be261de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/desktop/management/state.dart:44-79 | lib/desktop/otp/state.dart:45-78 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/management/state.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bfbfc9cba5c70db349794ca2511d3b26e82859b18e0ded12a94a38ab923080"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/otp/views/otp_screen.dart:236-270 | lib/piv/views/piv_screen.dart:430-467 \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":"lib/otp/views/otp_screen.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d977bc367b937b78422681dd0da47ed81de896876cdc718d8d170f379f26286e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lib/oath/views/add_account_page.dart:143-181 | lib/oath/views/add_multi_account_page.dart:343-379 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"lib/oath/views/add_account_page.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b39c6b4b67a61e21abf2cba2bea9809d90804aca3b47e7e1452479cde53e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): lib/fido/views/pin_confirmation_dialog.dart:69-118 | lib/fido/views/pin_entry_form.dart:72-117 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"lib/fido/views/pin_confirmation_dialog.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b73187ae2bb326385cb822b8ab7e74dbdd923ddcff7852c2fdba0c6676e6f1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/app/icon_provider/icon_pack_dialog.dart:216-243 | lib/app/views/settings_page.dart:339-381 \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":"lib/app/icon_provider/icon_pack_dialog.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7732e15a26302c2d780702995a7baf9dff80145b8f2aace36e2bf363f646c773"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:370-412 | android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:438-470 \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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8984c81fffdd7d4341e7e075d5014615e8ec2dca1f229cb706d06bd4c401dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/fido/views/add_fingerprint_dialog.dart:190-219 | lib/fido/views/rename_fingerprint_dialog.dart:63-93 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/add_fingerprint_dialog.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6469b2adbfbab8fdac055d4e02f8fbf59aa2a8f5e051a858b62946b4200f3279"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): lib/fido/views/enterprise_attestation_dialog.dart:33-67 | lib/oath/views/delete_account_dialog.dart:37-76 | lib/otp/views/swap_slots_dialog.dart:35-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 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":"lib/fido/views/enterprise_attestation_dialog.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cb6167d393e559c1b3f99a0dc52cd4d9794f8f27a07e681fc5ea9c37fd4733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/widgets/responsive_dialog.dart:76-108 | lib/widgets/responsive_dialog.dart:110-154 \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":"lib/widgets/responsive_dialog.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15c91bccb299bf9f67453c9126a93c709fe647c88f2cf2a4b3e73dd9336098f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): lib/app/views/settings_page.dart:1022-1048 | lib/app/views/settings_page.dart:1056-1082 | lib/app/views/settings_page.dart:1090-1121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"lib/app/views/settings_page.dart"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"7474a6b1a0da2c1f9dceef23ec0225892f9708f9aa6dbcd2296d6210c230d1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): lib/desktop/piv/state.dart:234-258 | lib/desktop/piv/state.dart:260-283 | lib/desktop/piv/state.dart:304-327 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"lib/desktop/piv/state.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0048ad49f3fc97b258efb563c47598a419739d0539e27a2e53ce1e6fad67ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/app/views/settings_page.dart:1179-1200 | lib/otp/views/overwrite_confirm_dialog.dart:30-52 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/settings_page.dart"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"661cbf68efdfc962945cc8e26ec053f623982dc9ab7025de4caa17fe28c21e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/desktop/fido/state.dart:255-272 | lib/desktop/fido/state.dart:351-368 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/fido/state.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1988bda51a2574e1ce7f0e75c920afbbe7a1e8c6c00e6fd3b3288c43855a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/desktop/fido/state.dart:192-216 | lib/desktop/fido/state.dart:218-241 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"lib/desktop/fido/state.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0206d8ff1efc28e3664a94f8837daa3bbb30a37d47bd226b702dcfafab5d116e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt:612-632 | android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt:635-655 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b79ce4c5017e29facb6798c57515ba3e4bc88861a34110fd21d726afa352d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:80-99 | android/app/src/main/kotlin/com/yubico/authenticator/management/ManagementConnectionHelper.kt:63-81 | android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt:849-870 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f28dd98b16828801d716513d97d95c60ed5fc3bdcf42f1cf401513e4c9feb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): android/app/src/main/kotlin/com/yubico/authenticator/management/ManagementManager.kt:94-111 | android/app/src/main/kotlin/com/yubico/authenticator/management/ManagementManager.kt:118-141 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/management/ManagementManager.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"694066feff9a0ec53bcb2d8ab73bdedb9af84eeea487f60c8c21f1e2e2ccb3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoResetHelper.kt:129-144 | android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoResetHelper.kt:146-162 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoResetHelper.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc42d620209f37f424f5602d91f3fb7274fb82eec736db1858a1865e0356ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/app/views/user_interaction.dart:48-60 | lib/app/views/user_interaction.dart:228-246 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/user_interaction.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1acb880e40eeddfb448b778a6ab966ce5d583bffab0169af3894b6808b43a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/fido/views/pin_confirmation_dialog.dart:120-135 | lib/fido/views/pin_entry_form.dart:119-131 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/pin_confirmation_dialog.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb66cabe524d5efe564799ed3fd614797cd42e961f4806daa96e6a4fae0eced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/desktop/management/state.dart:81-97 | lib/desktop/management/state.dart:99-117 \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":"lib/desktop/management/state.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f52a54acff478dc6432872b5dc8b7d7bf5846e774006c7c523d989ba506b569"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:487-498 | android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:501-512 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"60697512bb648a091c0cc81448d1243e673d32065b4bd9c49273a22880473812"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/desktop/otp/state.dart:137-145 | lib/desktop/otp/state.dart:147-161 \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":"lib/desktop/otp/state.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab69fe735d190bb6154ee722118c78d51d664cfa7287df0c6f98493fef45d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): android/app/src/main/kotlin/com/yubico/authenticator/piv/PivConnectionHelper.kt:61-72 | android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:56-66 \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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/PivConnectionHelper.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc860b8366ae49d64b5b53939214d66e8d25df7df29e9ad7c9a18508b527e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): helper/helper/base.py:203-212 | helper/helper/base.py:218-226 \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":"helper/helper/base.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e298a776f933035060af5ea6488f492422f7a23de58420aa47fb146ed6acf1a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): helper/helper/oath.py:96-102 | helper/helper/piv.py:106-114 \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":"helper/helper/oath.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acf5d6ce9f6ce82f2cae695a038544c8ad4a1238a0d0f48987cef35393d1151"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/fido/views/pin_dialog.dart:69-78 | lib/piv/views/manage_pin_puk_dialog.dart:91-99 \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":"lib/fido/views/pin_dialog.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07643391645ae9d759ae08b55c38a5805ed37e3ff02ab6ffc3d8ddb0bd8aae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/fido/views/passkeys_screen.dart:240-248 | lib/oath/views/oath_screen.dart:140-148 \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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4c8785290ce22dbe4561624dbb9572a49ff8f3543cbbab2577008a3d094e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/app/state.dart:175-179 | lib/desktop/state.dart:307-311 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"lib/app/state.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4736dbf6379292cd87fde3f3b79926ecd29fa61b9b52c726877795f22eee24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/desktop/oath/state.dart:148-154 | lib/desktop/piv/state.dart:481-488 \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":"lib/desktop/oath/state.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fb7bb7549a9853a93ed78eaeb1f1fbf5cc9f57cf949c6ec7b612ca01fbba23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): lib/desktop/window_manager_helper/_wm_helper_macos_impl.dart:41-78 | lib/desktop/window_manager_helper/_wm_helper_macos_impl.dart:81-117 \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 \u0060lib/desktop/window_manager_helper/_wm_helper_macos_impl.dart:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/window_manager_helper/_wm_helper_macos_impl.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c323ec154295c6fb1d7fe87e56778a7c3996f5841450d910a44a53037034dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 4): lib/otp/views/configure_chalresp_dialog.dart:118-150 | lib/otp/views/configure_hotp_dialog.dart:118-151 | lib/otp/views/configure_static_dialog.dart:140-172 | lib/otp/views/configure_yubiotp_dialog.dart:239-271 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_chalresp_dialog.dart\u0060 and \u0060lib/otp/views/configure_hotp_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060lib/otp/views/configure_chalresp_dialog.dart:118\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":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2475f4dc0983d4b042f8cf9974e16869844f474c53b26f3b5e6978e5b840674d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): lib/otp/views/configure_hotp_dialog.dart:214-242 | lib/otp/views/configure_static_dialog.dart:249-277 | lib/otp/views/configure_yubiotp_dialog.dart:514-542 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_hotp_dialog.dart\u0060 and \u0060lib/otp/views/configure_static_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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 \u0060lib/otp/views/configure_hotp_dialog.dart:214\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/configure_hotp_dialog.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28b1e9b7505d22ef62d5ac694ca8844a7e0e37157956d83f789eea6194a3878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/fido/views/passkeys_screen.dart:453-477 | lib/oath/views/oath_screen.dart:497-521 \u2014 before extracting anything, compare \u0060lib/fido/views/passkeys_screen.dart\u0060 and \u0060lib/oath/views/oath_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060lib/fido/views/passkeys_screen.dart:453\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb128140cf4bef864b739eb1da13588d34024b70cdfc0bf4e9bfdf7282e4d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/fido/views/passkeys_screen.dart:531-555 | lib/oath/views/oath_screen.dart:573-597 \u2014 before extracting anything, compare \u0060lib/fido/views/passkeys_screen.dart\u0060 and \u0060lib/oath/views/oath_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060lib/fido/views/passkeys_screen.dart:531\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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d45fbd905d53caa8417aa854ada1e8da90d194cd22e74fd78bf6e84ac494d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/fido/views/pin_confirmation_dialog.dart:178-202 | lib/fido/views/pin_entry_form.dart:195-219 \u2014 before extracting anything, compare \u0060lib/fido/views/pin_confirmation_dialog.dart\u0060 and \u0060lib/fido/views/pin_entry_form.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lib/fido/views/pin_confirmation_dialog.dart:178\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":"lib/fido/views/pin_confirmation_dialog.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7945287b8a9b925a0dcf2767104e8a110b08ae680bbaaef385633a4372071ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/fido/views/passkeys_screen.dart:361-384 | lib/oath/views/oath_screen.dart:289-312 \u2014 before extracting anything, compare \u0060lib/fido/views/passkeys_screen.dart\u0060 and \u0060lib/oath/views/oath_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060lib/fido/views/passkeys_screen.dart:361\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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e42692c0d8f72eb407883a781523850e55b803aa04344786fccaf1ad4140160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): lib/oath/views/account_dialog.dart:145-167 | lib/oath/views/oath_screen.dart:413-434 \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 \u0060lib/oath/views/account_dialog.dart:145\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":"lib/oath/views/account_dialog.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae82484757492ec8910d77b1d2c180b51994bc02d01cdf64b79f55835a1a7616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/fido/views/pin_confirmation_dialog.dart:89-109 | lib/fido/views/pin_entry_form.dart:89-109 \u2014 before extracting anything, compare \u0060lib/fido/views/pin_confirmation_dialog.dart\u0060 and \u0060lib/fido/views/pin_entry_form.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lib/fido/views/pin_confirmation_dialog.dart:89\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":"lib/fido/views/pin_confirmation_dialog.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"780621f53efa97a0035bc32ae3402cb055ab2acc9bc9c7588cd323ec34c04e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/oath/views/add_account_page.dart:161-181 | lib/oath/views/add_multi_account_page.dart:359-379 \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 \u0060lib/oath/views/add_account_page.dart:161\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/oath/views/add_account_page.dart:160\u0060 calls \u0060of\u0060, \u0060pop\u0060 and \u0060lib/oath/views/add_multi_account_page.dart:357\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":"lib/oath/views/add_account_page.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c66370f16312d5b1047790975bb6f083138c05c5c05d8c1ee48ad7a07ad58f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/otp/views/configure_hotp_dialog.dart:253-272 | lib/otp/views/configure_static_dialog.dart:290-309 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_hotp_dialog.dart\u0060 and \u0060lib/otp/views/configure_static_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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 \u0060lib/otp/views/configure_hotp_dialog.dart:253\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":"lib/otp/views/configure_hotp_dialog.dart"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fba3811f26e9d1facf8470c136db51ff10a7711500792a51568a7e87762ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 8): lib/fido/views/pin_confirmation_dialog.dart:196-214 | lib/fido/views/pin_dialog.dart:263-280 | lib/home/views/manage_label_dialog.dart:91-107 | lib/oath/views/manage_password_dialog.dart:359-376 | lib/oath/views/rename_account_dialog.dart:270-287 | lib/otp/views/access_code_dialog.dart:162-179 | lib/piv/views/manage_pin_puk_dialog.dart:455-472 | lib/piv/views/pin_dialog.dart:174-191 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/fido/views/pin_confirmation_dialog.dart:196\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":"lib/fido/views/pin_confirmation_dialog.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"454d2e4de2a01f697dc977d06838db339858a3b2418927d61aad4e3ec61e76a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): lib/otp/views/configure_chalresp_dialog.dart:215-233 | lib/otp/views/configure_hotp_dialog.dart:202-220 | lib/otp/views/configure_yubiotp_dialog.dart:502-520 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_chalresp_dialog.dart\u0060 and \u0060lib/otp/views/configure_hotp_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060lib/otp/views/configure_chalresp_dialog.dart:215\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":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"54129dc178e5fbb38ccc8a52d1ecd2d79ae2efd2bf6d2a5aa7892616a3acdc1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/otp/views/configure_chalresp_dialog.dart:96-114 | lib/otp/views/configure_hotp_dialog.dart:94-112 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_chalresp_dialog.dart\u0060 and \u0060lib/otp/views/configure_hotp_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060lib/otp/views/configure_chalresp_dialog.dart:96\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":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d351d505697a521653a73278bbb4a42c558f3879ea9cb8d6fc106aa067b4168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): lib/otp/views/configure_chalresp_dialog.dart:222-239 | lib/otp/views/configure_hotp_dialog.dart:209-226 | lib/otp/views/configure_static_dialog.dart:244-261 | lib/otp/views/configure_yubiotp_dialog.dart:509-526 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_chalresp_dialog.dart\u0060 and \u0060lib/otp/views/configure_hotp_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060lib/otp/views/configure_chalresp_dialog.dart:222\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":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61a67641225caffb827b1ca9f78f0081a3f6069ba3c253170e5865a2d05a863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/desktop/piv/state.dart:147-164 | lib/desktop/piv/state.dart:386-403 \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 \u0060lib/desktop/piv/state.dart:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/piv/state.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2184431875adf0bff7e6cb0eed255201336051929c873549da833ed60604dc85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/fido/views/passkeys_screen.dart:430-447 | lib/oath/views/oath_screen.dart:455-472 \u2014 before extracting anything, compare \u0060lib/fido/views/passkeys_screen.dart\u0060 and \u0060lib/oath/views/oath_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060lib/fido/views/passkeys_screen.dart:430\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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"7828a945b262bfd6b03cf872d034f7bf26479ca992c09b536564ade25f748b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/fido/views/passkeys_screen.dart:501-518 | lib/oath/views/oath_screen.dart:545-561 \u2014 before extracting anything, compare \u0060lib/fido/views/passkeys_screen.dart\u0060 and \u0060lib/oath/views/oath_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060lib/fido/views/passkeys_screen.dart:501\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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dcde10bc62d7ce3aedb29f6efc0a36f0d6152aa21b176a83fc5e5acb3da884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/fido/views/passkeys_screen.dart:599-616 | lib/oath/views/oath_screen.dart:641-658 \u2014 before extracting anything, compare \u0060lib/fido/views/passkeys_screen.dart\u0060 and \u0060lib/oath/views/oath_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060lib/fido/views/passkeys_screen.dart:599\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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ea654fb130ccc1dd7ec379ad4b7cdfdbd52fc4b7b408a22a27dc31740cd7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/desktop/piv/state.dart:242-258 | lib/desktop/piv/state.dart:267-283 | lib/desktop/piv/state.dart:311-327 \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 \u0060lib/desktop/piv/state.dart:242\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/desktop/piv/state.dart:241\u0060 calls \u0060read\u0060, \u0060_pinProvider\u0060 and \u0060lib/desktop/piv/state.dart:266\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":"lib/desktop/piv/state.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"783b4e46e1c96632912353b390dd8927e4c0c179173db400c3feb6c416774ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/fido/views/credential_dialog.dart:38-54 | lib/fido/views/fingerprint_dialog.dart:38-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/fido/views/credential_dialog.dart:38\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":"lib/fido/views/credential_dialog.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"58eba1bf146005ee958c3ba999c917aba11cd5095adf421f516ca841e544ab3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/fido/views/fingerprints_screen.dart:319-335 | lib/otp/views/otp_screen.dart:115-131 \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 \u0060lib/fido/views/fingerprints_screen.dart:319\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":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e87bf54450ac63145ef4c25edcebe5a36727f28e45f84ed3c6ce3e3d947e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/oath/views/account_list.dart:80-96 | lib/oath/views/account_list.dart:104-120 \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 \u0060lib/oath/views/account_list.dart:80\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":"lib/oath/views/account_list.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"510d57b8d433887932b7642978739ef7d93842c60847d0ac86b2bbf7ca88e68c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/widgets/responsive_dialog.dart:81-97 | lib/widgets/responsive_dialog.dart:120-136 \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 \u0060lib/widgets/responsive_dialog.dart:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/responsive_dialog.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e672389a768f759a49fd9a0c90dc66b5b330ed147a73e1e09cd62986ab5dc973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/fido/views/actions.dart:119-134 | lib/otp/views/actions.dart:153-168 | lib/piv/views/actions.dart:360-375 \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 \u0060lib/fido/views/actions.dart:119\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":"lib/fido/views/actions.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ceacfe3366d64cb21dc7470e726582cbfa2d36b02e2ab780ff1a8abfcc10ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lib/app/views/app_page.dart:235-250 | lib/app/views/app_page.dart:1157-1171 \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":"lib/app/views/app_page.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8e7be4bc7d11ca6ff668f6f3b1c55e4feec604f3710b02af9ff4304f155f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/desktop/fido/state.dart:257-272 | lib/desktop/fido/state.dart:353-368 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/fido/state.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f0e8cc200543967a099904d862bd7b1c56d0f827932b9b1aaf47606753b661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/piv/views/manage_key_dialog.dart:297-312 | lib/piv/views/pin_dialog.dart:157-172 \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 \u0060lib/piv/views/manage_key_dialog.dart:297\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":"lib/piv/views/manage_key_dialog.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd3cf1c482f279a091c05383b41d1f947fbaf6cdf0c3f1ca1ee16e48b51b94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/otp/views/configure_hotp_dialog.dart:163-177 | lib/otp/views/configure_static_dialog.dart:187-201 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_hotp_dialog.dart\u0060 and \u0060lib/otp/views/configure_static_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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 \u0060lib/otp/views/configure_hotp_dialog.dart:163\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":"lib/otp/views/configure_hotp_dialog.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"21738f365bbac82c841e1b789baf91c720c76ff4dd378184e08512d386adc467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): lib/fido/views/pin_confirmation_dialog.dart:179-192 | lib/fido/views/pin_entry_form.dart:196-209 | lib/piv/views/manage_key_dialog.dart:297-309 | lib/piv/views/pin_dialog.dart:156-169 \u2014 before extracting anything, compare \u0060lib/fido/views/pin_confirmation_dialog.dart\u0060 and \u0060lib/fido/views/pin_entry_form.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lib/fido/views/pin_confirmation_dialog.dart:179\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":"lib/fido/views/pin_confirmation_dialog.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"82833a33ef65216ec3866e10105089378099d563633498705ca2a866576dc2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): lib/app/icon_provider/icon_pack_dialog.dart:49-61 | lib/app/icon_provider/icon_pack_dialog.dart:229-242 | lib/app/views/settings_page.dart:364-377 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/icon_provider/icon_pack_dialog.dart:229\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":"lib/app/icon_provider/icon_pack_dialog.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1944349caf9021dea70f3af01f00014cef7b40dcfc0c986a9f3dc7a45ccd525a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): lib/fido/views/credential_dialog.dart:58-71 | lib/fido/views/fingerprint_dialog.dart:75-87 | lib/oath/views/account_dialog.dart:86-99 \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 \u0060lib/fido/views/credential_dialog.dart:58\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060BuildContext\u0060 in one and \u0060context\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":"lib/fido/views/credential_dialog.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbec991320c8082c94607c8c5d516eb4faaf10ea1e356eac191010077c15670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/fido/views/fingerprints_screen.dart:165-178 | lib/fido/views/passkeys_screen.dart:182-195 \u2014 before extracting anything, compare \u0060lib/fido/views/fingerprints_screen.dart\u0060 and \u0060lib/fido/views/passkeys_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c59f86233d6a8cc2880f29e221960970d46d124289dd161bf3a549ce269ad9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/fido/views/fingerprints_screen.dart:302-314 | lib/oath/views/oath_screen.dart:341-354 \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 \u0060lib/fido/views/fingerprints_screen.dart:302\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":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"42052997c55453f3febb5f12579d548465c130fed601b1f43c791e531c61f070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/fido/views/passkeys_screen.dart:257-270 | lib/oath/views/oath_screen.dart:157-170 \u2014 before extracting anything, compare \u0060lib/fido/views/passkeys_screen.dart\u0060 and \u0060lib/oath/views/oath_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f5a518acb09d40924addcb1e7d4970730e9724b295a2fd51296616baf6c6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/fido/views/passkeys_screen.dart:479-492 | lib/oath/views/oath_screen.dart:523-536 \u2014 before extracting anything, compare \u0060lib/fido/views/passkeys_screen.dart\u0060 and \u0060lib/oath/views/oath_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060lib/fido/views/passkeys_screen.dart:479\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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7269e7b22b8bb8491f5591149dc233a7b61b63122cb458c1d79caeb552d3d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/otp/views/configure_chalresp_dialog.dart:81-94 | lib/otp/views/configure_hotp_dialog.dart:79-92 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_chalresp_dialog.dart\u0060 and \u0060lib/otp/views/configure_hotp_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060lib/otp/views/configure_chalresp_dialog.dart:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8238c0a608d49fb028584d9f245628d56140de3e1ae0eb036ac4eabf7fa31059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/otp/views/configure_chalresp_dialog.dart:165-178 | lib/otp/views/configure_yubiotp_dialog.dart:349-362 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_chalresp_dialog.dart\u0060 and \u0060lib/otp/views/configure_yubiotp_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 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 \u0060lib/otp/views/configure_chalresp_dialog.dart:165\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":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1fe1becd72142c172c04c5b7a259f14f5cbe7ec101103bb2a19b2976bba387"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/otp/views/otp_screen.dart:84-97 | lib/piv/views/piv_screen.dart:122-135 \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 \u0060lib/otp/views/otp_screen.dart:84\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":"lib/otp/views/otp_screen.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"24171af9cb87a1f846ce5c545cb4232a0b5a9491cf05f208a0f9de75f033b684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/desktop/piv/state.dart:152-164 | lib/desktop/piv/state.dart:198-210 | lib/desktop/piv/state.dart:391-403 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/desktop/piv/state.dart:197\u0060 calls \u0060watch\u0060 and \u0060lib/desktop/piv/state.dart:151\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/piv/state.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf31702bcdd1e18a72ae94ac4e3252e10af9af02942ce05cb0c1827a05c73084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/app/views/main_page.dart:114-126 | lib/app/views/message_page_not_initialized.dart:62-74 \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 \u0060lib/app/views/main_page.dart:114\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":"lib/app/views/main_page.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfcbd6286b285f67603a52bcc4f2b3fb1f25c0027de1b16c34cf168e398a37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lib/app/views/settings_page.dart:800-812 | lib/desktop/init.dart:438-448 \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 \u0060lib/app/views/settings_page.dart:800\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":"lib/app/views/settings_page.dart"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"3105cf05104b6c6c52c516ab8b79db880edd03133312c64f17dbf667c8eb43d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/fido/views/passkeys_screen.dart:619-631 | lib/oath/views/oath_screen.dart:380-392 \u2014 before extracting anything, compare \u0060lib/fido/views/passkeys_screen.dart\u0060 and \u0060lib/oath/views/oath_screen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060lib/fido/views/passkeys_screen.dart:619\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":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"632cec1032af7df2a57df4818b6731e9d3a16e3bbcd235fff669fc932d82ac62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/oath/views/rename_account_dialog.dart:212-224 | lib/piv/views/manage_pin_puk_dialog.dart:276-288 \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 \u0060lib/oath/views/rename_account_dialog.dart:212\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":"lib/oath/views/rename_account_dialog.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c777ff42af8f4b88d02671b0ddb3e2af8bd5d5596d15ef4bed6c43261dbe7818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/widgets/choice_filter_chip.dart:58-70 | lib/widgets/info_popup_button.dart:62-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/choice_filter_chip.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f524312a942b4e7c981ae77f7250add23d5b1454010fe88ae8c858e2a9c17b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/fido/views/fingerprints_screen.dart:317-328 | lib/otp/views/otp_screen.dart:113-124 | lib/piv/views/piv_screen.dart:150-161 \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 \u0060lib/fido/views/fingerprints_screen.dart:317\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":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"364186f4c83af3b71ce2bd0289d73f1f90796bc7b43ae5648e35586b35628c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/app/views/settings_page.dart:140-151 | lib/app/views/settings_page.dart:590-601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/app/views/settings_page.dart:140\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":"lib/app/views/settings_page.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ac493a1ebdc82cb1855bd5aa4979468472e19d9e45aae261ff357abbf7ae61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/fido/views/fingerprints_screen.dart:366-377 | lib/fido/views/passkeys_screen.dart:653-664 \u2014 before extracting anything, compare \u0060lib/fido/views/fingerprints_screen.dart\u0060 and \u0060lib/fido/views/passkeys_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060lib/fido/views/fingerprints_screen.dart:366\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b164d989c50d6e647adbcad591220f729b0325941321498e793abd6351e8e769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/otp/views/configure_chalresp_dialog.dart:200-211 | lib/otp/views/configure_yubiotp_dialog.dart:489-500 \u2014 before extracting anything, compare \u0060lib/otp/views/configure_chalresp_dialog.dart\u0060 and \u0060lib/otp/views/configure_yubiotp_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/otp/views/configure_chalresp_dialog.dart:199\u0060 calls \u0060setState\u0060 and \u0060lib/otp/views/configure_yubiotp_dialog.dart:488\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"47843081a52939371ccb224363aae801dccb7b9a7fd14783f9d8d40309a85114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/otp/views/configure_yubiotp_dialog.dart:436-447 | lib/otp/views/configure_yubiotp_dialog.dart:486-497 \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 \u0060lib/otp/views/configure_yubiotp_dialog.dart:436\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":"lib/otp/views/configure_yubiotp_dialog.dart"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db6210f84f12dc0764d6d9cb5f416038b459c36d8ef2a8c9cad8cedd9b5667c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/otp/views/slot_dialog.dart:63-74 | lib/piv/views/slot_dialog.dart:80-91 \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 \u0060lib/otp/views/slot_dialog.dart:63\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":"lib/otp/views/slot_dialog.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4275463ce125355fb4584bab19271e853396b7349810580dd4e15453e359e3eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/fido/views/fingerprints_screen.dart:132-142 | lib/fido/views/passkeys_screen.dart:137-147 \u2014 before extracting anything, compare \u0060lib/fido/views/fingerprints_screen.dart\u0060 and \u0060lib/fido/views/passkeys_screen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ab8ea4cdc68a2107974d2c5e05b5e9b190f59543fb7854c0eac0b9ef59e216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/fido/views/pin_confirmation_dialog.dart:161-171 | lib/fido/views/pin_entry_form.dart:179-188 \u2014 before extracting anything, compare \u0060lib/fido/views/pin_confirmation_dialog.dart\u0060 and \u0060lib/fido/views/pin_entry_form.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lib/fido/views/pin_confirmation_dialog.dart:161\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":"lib/fido/views/pin_confirmation_dialog.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eccc72b867dc2bf77a5faf054fd8010d4e04dcb061b92f3ea000ba530a81bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/oath/views/account_dialog.dart:80-89 | lib/oath/views/oath_screen.dart:335-344 \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 \u0060lib/oath/views/account_dialog.dart:80\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":"lib/oath/views/account_dialog.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0271e43fee47b94ee3d51670bf0cf506e4e4aab6ba5deeb45e31acc0738ca47e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/desktop/management/state.dart:49-57 | lib/desktop/otp/state.dart:47-55 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/desktop/management/state.dart:47\u0060 calls \u0060watch\u0060 and \u0060lib/desktop/otp/state.dart:46\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":"lib/desktop/management/state.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fab17cd9b5b213d6076863675e312ca6b6a95ac71983f4f24c1c4bc6d54990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/fido/views/fingerprint_dialog.dart:70-77 | lib/fido/views/fingerprints_screen.dart:297-304 \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 \u0060lib/fido/views/fingerprint_dialog.dart:70\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":"lib/fido/views/fingerprint_dialog.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"68abfeae2824b2244e6fc0128005e363e0fdac06abdec43de819d5e23b7640ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/basic_dialog.dart:54-59 | lib/widgets/responsive_dialog.dart:61-66 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/basic_dialog.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0480ca8dacd9e278e39e1e1a05ea266bd741ccfb083f87994bdf580bd86566e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/fido/views/passkeys_icon.dart:47-53 | lib/oath/views/account_icon.dart:47-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_icon.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"762480439296011f440904924271e33d3d45bc90b8f9865f5a2a3bb12a0617a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:380-403 | android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:441-465 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:441\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060true\u0060 to \u0060updateDeviceInfo =\u0060 in one and \u0060waitForNfcKeyRemoval =\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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d9e484754fc7db2b354483b78f78fc6f03f18cde4874b467d8bbd57c72820a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): android/app/src/main/kotlin/com/yubico/authenticator/otp/OtpConnectionHelper.kt:87-109 | android/app/src/main/kotlin/com/yubico/authenticator/piv/PivConnectionHelper.kt:101-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/otp/OtpConnectionHelper.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d401942207ce08d02f56ded19f70d0e36a1daf1a587ce4935c66c118323aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:81-94 | android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt:850-865 \u2014 before extracting anything, compare \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt\u0060 and \u0060android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060CancellationException\u0060 names \u0060java.util.concurrent.CancellationException\u0060 in one and \u0060kotlin.coroutines.cancellation.CancellationException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6479ad7a6a1071037abf8199cadb2046a31a99ad7d0c3a91799a690b60be01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt:416-428 | android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt:560-573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt:430\u0060 calls \u0060debug\u0060 and \u0060android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt:575\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":"android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"278ecec2bd54dc876c8705a863038c7c6218cf032e1e423a8903ee1875e4d5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:83-95 | android/app/src/main/kotlin/com/yubico/authenticator/management/ManagementConnectionHelper.kt:66-78 \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 \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:83\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:96\u0060 calls \u0060error\u0060 and \u0060android/app/src/main/kotlin/com/yubico/authenticator/management/ManagementConnectionHelper.kt:79\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dfda3418da3de1bedb4b89bc48cf20101c3ac814183647795c2c88c39219da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:83-94 | android/app/src/main/kotlin/com/yubico/authenticator/management/ManagementConnectionHelper.kt:66-77 | android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt:852-865 \u2014 before extracting anything, compare \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt\u0060 and \u0060android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:83\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060CancellationException\u0060 names \u0060java.util.concurrent.CancellationException\u0060 in one and \u0060kotlin.coroutines.cancellation.CancellationException\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:96\u0060 calls \u0060error\u0060 and \u0060android/app/src/main/kotlin/com/yubico/authenticator/management/ManagementConnectionHelper.kt:79\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec6ca80dd2e1f44844ceb1a35ef6d61a987a4ffde2dd507511a2be0c28b9168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:35-44 | android/app/src/main/kotlin/com/yubico/authenticator/otp/OtpConnectionHelper.kt:44-53 | android/app/src/main/kotlin/com/yubico/authenticator/piv/PivConnectionHelper.kt:38-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddaf60704acd17619ee6b58f570b87d47ed914fd6f48f6d86c8f84f2cbcdb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt:194-200 | android/app/src/main/kotlin/com/yubico/authenticator/otp/OtpManager.kt:117-123 | android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:208-214 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa287e0a9b078de5c30387c8dcd77763463dc9f71947b4bca7b7cece302d9cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:72-78 | android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt:839-845 \u2014 before extracting anything, compare \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt\u0060 and \u0060android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt:72\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":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoConnectionHelper.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6963216e234881ed095372bf62c86899616d57600600c70b126a114363d08929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:893-902 | android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:923-932 \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 \u0060android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt:893\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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dde4f64a4088073b3e30a139bad3ccd4a2decd0644670bfd273d0571ef4c0ec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DesktopWindowStateNotifier (LCOM4 4): DesktopWindowStateNotifier\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/state.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f06b330670bf6af1da9c0578cd9a501bf117961434777809f94e391c89702bb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 33 significant file(s) lose their only recent owner: android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt, android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.kt, android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt, android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt, android/flutter_plugins/qrscanner_zxing/android/src/main/kotlin/com/yubico/authenticator/flutter_plugins/qrscanner_zxing/QRScannerView.kt, lib/android/piv/state.dart, lib/android/oath/state.dart, lib/android/state.dart (\u002B25 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a6551b28c547542d0ca70aed9bceea82a3808b02292b9bff5cb2766e5ab6c089"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: pull-translations.py, lib/widgets/app_text_field.dart, lib/fido/state.dart. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9531653ad89a91a54d95d8ef88c27aedce3f10567f275e75df2add9f20409b9a"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (37 single-owned of 207 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 207 of the 320 production source files in this repository met that bar). They are anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: integration_test/runner.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/models.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"683ca3075f1cfc75da3a2953132784c0eef563078c430a422ba7cf55c6d36cc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/models.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6efa78767c96731d19989ae70c9f0fc0e83f912ef8c9fddebc93a8a29e99113"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should these be translatable? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/models.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7903d1efbba54278c01cbb8830f731072245975a4f129b327340bcad03249e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should these be translatable? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/models.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"309983e2fa6b8f3c991958d63396826787f14629b4a2ef57960b3b0733e24295"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Avoid asking for PIN if not needed? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/actions.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05b406ab98edd6b15eea6f118967096fe196ceccd09853c774cc67d3577db25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: More error cases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/authentication_dialog.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d410a46a48c64396148c3d30fc527ba9f2b01ad100e70d6d04304aa06abe68e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: More error cases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/import_file_dialog.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f64e909159fbd05918301e12e395b82bfcbb29d99863941e4fe966efaf0a7f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/key_actions.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e6155763f9f45423117bb145b774479cace738ae58c50812eee0c08460c450"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/piv/data/SlotMetadata.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"decfe48e6a99a9118dd60222eebdaf09a845734e4134a074d7e76a2d95baf178"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Solve this in a cleaner way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/slot_dialog.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b878c35cc5024e7336c3d4e2c6c5556d4fc54f772f028c7373c3026373fadb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Solve this in a cleaner way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/slot_dialog.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81b033c0959c40979ef1d34f06cc18a30a4cde558d29f9b5c39cfbc5f6062cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Solve this in a cleaner way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/account_dialog.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b41c01d22ca3877b808c9b61fd2181b91649f10e3532f7637747cf0a6b2e47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Solve this in a cleaner way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/credential_dialog.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de93d24d68dd907b464faae4696ad3c45933826f7ad2432200e41ccb57bad98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Solve this in a cleaner way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/fingerprint_dialog.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"da31c5cbd4480027738c7a32bbe0e4fdd205915784ea75df5ed7f08e928aedc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reuse from fingerprint_dialog \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/otp_screen.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c4f8da258973402965470c40155577ac0082b736698ee5e649b54fe7eaeb34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reuse from fingerprint_dialog \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04ebeef9ad05897f2c90594a601d31203230ddb35b208e9791da27ff9c7bcfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this cleaner than importing desktop specific RpcError. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/add_account_page.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a36682ed6eecf85d157edddbbb03ca257e9b0bb1911abd50bceb3add999a5ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this cleaner than importing desktop specific RpcError. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/add_multi_account_page.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"67443a6ad751af574b8b07548d59feb3c97ed34486dac46160b521eabdbc8f13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this cleaner than importing desktop specific RpcError. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/rename_account_dialog.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fac769bdbb2c04fbadb13913e5950702304785af61a84f360aa0d07f9db4a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this cleaner than importing desktop specific RpcError. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/add_fingerprint_dialog.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c65b08f309bce76d58c91394b91b7fbd6f0cdf62fde64485abe4d263deb11c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this cleaner than importing desktop specific RpcError. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/add_fingerprint_dialog.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b34827d3b8ffbb5569e921f9f97e09e366177a3a2a28315e931b9125f7e739"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this cleaner than importing desktop specific RpcError. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/pin_dialog.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9154c0d935772d6fb9a62ddc415aaf5b2bc15611ab45d90e1fa5fff9a84e50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this cleaner than importing desktop specific RpcError. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/rename_fingerprint_dialog.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"202a607266c6b6cbcc96b338bc7d24050889a1324a42c9f30df08a5940c4fb15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this cleaner than importing desktop specific RpcError. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/reset_dialog.dart"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9041ea0610f1296b69c2488b79a29440a6ccf2d52091754dbd444463de44fb06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to figure out how to add values for \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/add_account_page.dart"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d32f1013681549b5e38b3dbd7c098c9723e70bca5f6b4f771ca8f9e5b92a4b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use Theme \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/add_multi_account_page.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8318c7396b0cc43ecbe605b698db655c278a3794a39ca0f62e2ebd6b78280564"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Special handling for credMgmt not supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c0c64c4f22f30b8cf63ff85162bcb49569597e74d8dca4d6ea17090ff56c01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should we clear the key here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/devices.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74db3c6603a63e6f7a559d6d78d1f29eb5fbe57aa6a1cfa3d10bed8e2940469"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Require credman for passkeys? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/models.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15c2d99e5bda325885d4d9a0a6e0f4a3ffe2bd9a0ac853e05bc177648f3909d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe this should be handled in a notifier \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/settings_page.dart"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"060c6955e2c802f3c62c07744b8d3c9d18d98811d0c7b8a6b844c245cafc68d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO abstract platform errors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/android/fido/state.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b709a7b094d50f96ee54e4e999b8f898adb2e0fac9a0c3275c88d424a1294e07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Investigate why this is needed \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":"integration_test/oath_test.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c4a4217cbdd188366176740dc160fd288676c2f07ac9bce1086fbfdb0577db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Need to take care of sections that are hidden in the more button \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":"integration_test/utils.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3004dd7e566eec1ae0496e0d72521735e09c22b6e96b05a545624b1a3a1c1100"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Replace with ConnectionError once added \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/device.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f87fbce08054403d762d33f889e61f84192f35f714b6e3828855e6f20b755ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Replace with ConnectionError once added \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/device.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"526bd07f55b23c38239a40fba3319cb7d4bbc7a5043fdb761a773ce08fe386a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use more specific exceptions \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":"helper/helper/fido.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ba52b5f49ec09f6a317e0bb368c589ec700e7991210c6e2891b9e078d7e63a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use more specific exceptions \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":"helper/helper/oath.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7a89bcdec0d2edd7ae7b05bb8a9a1b3535904d763fd7f9a5ca2dccd1396326"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This should probably be in a baseclass of all \u0022AppNodes\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/oath.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c157ffaeb184be944dde191ee05067550dc6ac61d2722ff0ab56c62a62c781a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This should probably be in a baseclass of all \u0022AppNodes\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/piv.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eba6340dbba1b48c18c118964b4117f08a6cfc11ca5f442d79c44f81ebbc25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Check if this is needed, maybe SW is enough \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":"helper/helper/piv.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b8bd8e9d277b523021a6a773b1f7c1b930a8c8b387cad9920deda6f5964a7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Differentiate between none and malformed \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":"helper/helper/piv.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caaef18c6fb86efa6db06dfaf43606eec6bf4dd82c2df71a92d7e5e838fb47c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Check if verified? \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":"helper/helper/piv.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0faa194177e29c7e71b15fb6812459a86e10e320d5c870fc7bf72f5ff091350"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should fail \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":"android/app/src/test/java/com/yubico/authenticator/oath/ModelTest.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c692721fa7d5ab2c0cc6a418b7cd087731d2585dd963f8c61feab82b5f978e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO P-256 \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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/KeyMaterialParser.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2de5483ec62b9b7fe85f46210127c72ab922ba2a430df8adbaf8fc6cb91944"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060qrscanner_zxing\u0060 is a published pub package (\u0060pubspec.yaml\u0060 without \u0060publish_to: none\u0060) and neither \u0060android/flutter_plugins/qrscanner_zxing/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/flutter_plugins/qrscanner_zxing/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"461650388d602f3a8bec81f8c99082124c2eefa3d9fbe97e0b567d1f89fca815"}},{"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 \u0060macos/Runner.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Runner.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f0bd4325cb484fa699f9766497db05ed665b24b57923e0afe7629a5ed95be7"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060resetOverUSB\u0060 spells \u0060USB\u0060 where 18 names in the project spell it \u0060Usb\u0060: 18 of 19 names in project android/app spell the token \u0060Usb\u0060 (18 of 19; unit: names in project android/app containing \u0060Usb\u0060). Peers: ActivityUtil.enableSystemUsbDiscovery (android/app/src/main/kotlin/com/yubico/authenticator/ActivityUtil.kt:38); ActivityUtil.disableSystemUsbDiscovery (android/app/src/main/kotlin/com/yubico/authenticator/ActivityUtil.kt:54); AppPreferences.openAppOnUsb (android/app/src/main/kotlin/com/yubico/authenticator/AppPreferences.kt:67); MainActivity.startUsbDiscovery (android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt:204); MainActivity.stopUsbDiscovery (android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt:231). Rename to \u0060resetOverUsb\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoResetHelper.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3840d239d4dd2b60819e8128c6f43112eab0cc4c838ba14aaf4b6a2a595c681"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (35230 LoC, 280 module-visible types across 27 directories) overshoots its size bounds. 2 of 7 build unit(s) (Gradle, Python, Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 4.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fee3010c053c10733ebad6b156234032ce361c46f8c03bb63f2bdc3c8adbd"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060android/app\u0060 (9913 LoC, 198 module-visible types across 15 directories) overshoots its size bounds. 2 of 7 build unit(s) (Gradle, Python, Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 4.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"138c1799742bbfd193c9d1002e467d5e19782a800c16c39ffd67db82c093e1f3"}},{"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":"cae40e230a19f144fcb49ae5180f1d833f8bb1e1eab4756f47eeef6158a770c5"},"properties":{"commitSha":"44be10da5b276a88c3b2f83c857c54b7ba51efc7"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e22579b6a97dc3b558891f0ccbafe2d173481436e0488552fa6f9c899fe8c69a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6786623d6ab07e0a341cf9587d23782500bea68078e42294090ebcea5d09345e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d926dd21f87230cc39589a8296ddfc2f4ae36c94eb5523a4d9fffb936bda7ed"},"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":"3322cc7ddf14c242952d571081bf3ee0a900abd7c4685ef2b577a55cc5a45a6f"},"taxa":[{"id":"CWE-1289","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-20","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88c44bfd35e3c27b670761e86b5e761bdc8d77a9e5a7941dd6c5cb53cd594d37"},"taxa":[{"id":"CWE-1289","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-20","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26dad94e2bfa804a460589b0f8030c12cc194ba9c4f777307eb121edad05345a"},"taxa":[{"id":"CWE-1289","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-20","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73b236a8f51c2b88a6e6b8c2c1ecfaff3f1b2c79b1d10487f353fecae96e50ad"},"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":"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":"c530e8a376a597d1de22ffc29e385396de1dfbabe3e0bb2a6e86ca08467f8062"},"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":"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":"c25e4242568b974b2d72f55a99111f79722d090073d9a4c31ae2f8cd8814ec99"},"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":"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":"b7c4a5a21f49601ed7be87536147c39c01b378cc80c518f88ee51b7af24ba76d"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6947b761ea19963ea3459d3b594b1e3fc1243132e90954a4e2887a2f1a3d3c19"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85910306f12066078b7e7460fab252a07e261871451465623f6ca064c0a12478"},"properties":{"dependency":{"package":"pillow","version":"12.3.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112396","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112405","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112899","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-112902","BIT-pillow-2026-114501","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96639","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96643","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4328","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4333","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4336","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4339","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4342","PYSEC-2026-4343","PYSEC-2026-4363"],"severity":"critical","fixedVersion":"13.0.0","relation":"direct","reachability":{"kind":"production","file":"helper/helper/qr.py","line":25}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bfe9907775ef78beea0aa315ebdff2833595b6a5eb53e577dd4ded997c7094b0"},"properties":{"dependency":{"package":"cryptography","version":"49.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3552"],"severity":"high","fixedVersion":"50.0.0","relation":"transitive","reachability":{"kind":"production","file":"helper/helper/device.py","line":23}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af7aaa1f43a5600daffd13cab6b1f7e7d6442925518af51f36accf234a90a167"},"properties":{"dependency":{"package":"setuptools","version":"83.0.0","advisory":"[GHSA redacted]","severity":"low","fixedVersion":"84.1.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 33 of 207 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; 207 of the 320 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: lib/desktop/oath/state.dart, lib/desktop/rpc.dart, integration_test/utils.dart, lib/desktop/systray.dart, lib/piv/models.dart, helper/helper/yubiotp.py, helper/shell.py, helper/helper/base.py (and 25 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":"lib/desktop/oath/state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c613d1a8c241ebdc63ead92551afd16fc0b346cb5ade049a06ba2fcf5f3230"}},{"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":"lib/desktop/rpc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe0e9fce32145241783e97021500fc48f00bdf5f185ed39b43daec44b389bcc"}},{"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":"integration_test/utils.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"193b434f74c10a3d34abac16b0915e025e69c2290c188a5e6b8d9bf13f5d7a32"}},{"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":"lib/piv/models.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c0e827f7b4be226c22a4cf476bd09ffd8d55376587c9b17758ec6b6f65cbf9"}},{"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":"lib/desktop/systray.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c18019a752b231c3bd500f58b09283662b6b0c6269e0951f959b18cea2a564"}},{"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":"helper/helper/yubiotp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77023db02575f38adb5c5ddc1f46d0345728a1e41d956e9f498868edd8c20df9"}},{"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":"helper/shell.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2427c489ca69959855a1c188ef782ee36b03d8f8fe83464d368071a848aa89a"}},{"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":"helper/helper/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"828adb4800827cf9157622380bc5ee535747653871dd5c7716ba0ef6946bdab7"}},{"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":"lib/fido/views/key_actions.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2634ed5ab521767995c6eb5b2cb4f3fe54da4e0279465511462c477e04294f3"}},{"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":"lib/oath/views/account_helper.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3907c9244f9a5718632bde4b23ae995705860b42d835ba1f6b492ef27dacbe85"}},{"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":"lib/app/views/user_interaction.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19394ddcbe2c94d00ab66906177dc143f986e3ea1a00e0b3b77c9e656b0aadeb"}},{"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":"lib/piv/views/slot_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9fdc87955d72459954bc1983a0e7dad009091e2fd77df63beb391e000f9352"}},{"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":"lib/piv/views/key_actions.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"918a214727d6ceeb6069c2e2cd8aa419952014a8acf37c72182148e422b2c22d"}},{"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":"helper/helper/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cb274f18b821639e4e9485beeba30166f984abe08a584589148482fc8fca66"}},{"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":"lib/piv/keys.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d27d091f4da2d99cb10c07b80a62b1e078512065e3f10b29522305b3e99c09d"}},{"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":"lib/app/models.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"346cb30ceacf005a83477421ad4eda6156ecb38b9603132e0204e14c10301155"}},{"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":"lib/app/shortcuts_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"551c664d1cc0193d32d06c5c1e1d4e0b8b6a5c02fccfcd5dff42b91f3620fc69"}},{"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":"lib/desktop/otp/state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06edf4f4068750ca9c45e670dca50461412ddafd1df2421768a3e384b3d3b5bd"}},{"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":"helper/helper/management.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c89c051cff1f7a5159862d24c24b742c1537158b114fd00c8cf15b22f8a156"}},{"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":"lib/core/models.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0004aedb272f61e8473d59b569c32040840a95d51d9ef9cceba015daab5604"}},{"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":"check_strings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4157bdc86e24cf24b427b088b65d35e385ce8fa3f377a97384427f7b84cde1ea"}},{"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":"set-version.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6823004031220891262485e9034406796c507ee2be81b7d3759b596352f90a4"}},{"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":"lib/core/state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4852eb9a9216d4929a79c0e81fa5395aedeaec3b16c1466ae658d0ca8ed768"}},{"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":"lib/widgets/flex_box.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"542274a102731b2452c8a8f8d7ca5971741f040f499040be375d8858e90c34df"}},{"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":"lib/management/models.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2aaa23f79ff04b2f70c9c64554e2eb926140c7d3ec1756f83f3a1ba47972b52"}},{"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":"lib/app/views/app_failure_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c451ed8ef216d12372231f461242503075856c9d056c986eaf60177fd7f75e7"}},{"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":"lib/otp/views/delete_slot_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f18bc400d19015da1f976a4cfea6b2209fcb41347e7accb90079b8eb3fdfd6b"}},{"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":"helper/helper/qr.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2646590008a77ab9aed5b831117126bbfb0e6bed3dafb6f06e334d08ab887fa"}},{"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":"arb_reformatter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1968b6b584af311a2ed512b563e32ce74d79296df9ba55c920c93eb46dfe8dcf"}},{"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":"lib/piv/views/cert_info_view.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3b1e64bb42453a07e554036dbef27899343ad304ae078f07f8bddf41a48fed"}},{"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":"lib/piv/state.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0378140ba0565ce0482c612eaba42eede26b6efff72c2dea54e2f8f36e7bc212"}},{"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":"lib/fido/keys.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3aababf9c877b5ec8130df4f298412c749f1caf6a5cbff9538a86b2f623db0"}},{"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":"lib/app/views/elevate_fido_buttons.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1d2d16322f92cd1ad82d72be8a04afde05e563502778fa43c1b170e77bd4d1"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: otp_screen.dart \u2194 piv_screen.dart: \u0060lib/otp/views/otp_screen.dart\u0060 (context otp) and \u0060lib/piv/views/piv_screen.dart\u0060 (context piv) sit in DIFFERENT parts of the tree yet change together 95% of the time (18 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 18 shared commits counted here, the most recent 3 are \u00603cd299fe\u0060 Ensure content does not overflow scrollbar; \u00601f9bb495\u0060 Maintain vertical keyline alignment; \u0060cbedbfae\u0060 Change borderRadius and padding in \u0060AppListItem\u0060 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/otp_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be48f6f05671eceaa7781780bd9e3ec9a80538b9f4a750181ffa4eeaf787771"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: fingerprints_screen.dart \u2194 otp_screen.dart: \u0060lib/fido/views/fingerprints_screen.dart\u0060 (context fido) and \u0060lib/otp/views/otp_screen.dart\u0060 (context otp) sit in DIFFERENT parts of the tree yet change together 79% of the time (15 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 15 shared commits counted here, the most recent 3 are \u00603cd299fe\u0060 Ensure content does not overflow scrollbar; \u00601f9bb495\u0060 Maintain vertical keyline alignment; \u0060cbedbfae\u0060 Change borderRadius and padding in \u0060AppListItem\u0060 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0394995840fafd8aec56a7480b107fca80b181f385c88c8e51e0fe105d904e69"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: oath_screen.dart \u2194 otp_screen.dart: \u0060lib/oath/views/oath_screen.dart\u0060 (context oath) and \u0060lib/otp/views/otp_screen.dart\u0060 (context otp) sit in DIFFERENT parts of the tree yet change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 11 shared commits counted here, the most recent 3 are \u00603cd299fe\u0060 Ensure content does not overflow scrollbar; \u00601f9bb495\u0060 Maintain vertical keyline alignment; \u0060cbedbfae\u0060 Change borderRadius and padding in \u0060AppListItem\u0060 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/oath/views/oath_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3f0fa01a1673eea95b90c7c5bc6980275800da9f9d1a7140e606126f298765"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: pin_entry_form.dart \u2194 unlock_form.dart: \u0060lib/fido/views/pin_entry_form.dart\u0060 (context fido) and \u0060lib/oath/views/unlock_form.dart\u0060 (context oath) sit in DIFFERENT parts of the tree yet change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 11 shared commits counted here, the most recent 3 are \u0060659ef83f\u0060 Remove isRequired from prompts that are not forms; \u006036958fbf\u0060 Add labels/tooltips to elements (#2133); \u00609eaf00ce\u0060 a11y: expose visibility toggle state to screen readers \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/pin_entry_form.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a6cc06f4d264ece23e5d3d2ddd897acea0858ad8741cc14dff15f87aa0d682"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: credential_dialog.dart \u2194 slot_dialog.dart: \u0060lib/fido/views/credential_dialog.dart\u0060 (context fido) and \u0060lib/piv/views/slot_dialog.dart\u0060 (context piv) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 \u0060d943af45\u0060 Add title to \u0060FsDialog\u0060; \u0060b5b5804f\u0060 Misc UI fixes; \u0060e4d49ea4\u0060 Refactor Actions to use custom Widgets more. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/credential_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3b32332807b735ec1ae09fd4b650d73b4a9950bd6e3670051389e4622e90de"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: credential_dialog.dart \u2194 account_dialog.dart: \u0060lib/fido/views/credential_dialog.dart\u0060 (context fido) and \u0060lib/oath/views/account_dialog.dart\u0060 (context oath) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 \u0060d943af45\u0060 Add title to \u0060FsDialog\u0060; \u0060b5b5804f\u0060 Misc UI fixes; \u0060e4d49ea4\u0060 Refactor Actions to use custom Widgets more. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/credential_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc094182acf394f08c49f07480700ca8caf96cefd796fecfdea3f5b212bf90a5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: passkeys_screen.dart \u2194 oath_screen.dart: \u0060lib/fido/views/passkeys_screen.dart\u0060 (context fido) and \u0060lib/oath/views/oath_screen.dart\u0060 (context oath) sit in DIFFERENT parts of the tree yet change together 53% of the time (29 of the 55 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 29 shared commits counted here, the most recent 3 are \u00604a40ed43\u0060 a11y: Add tooltips for IconButtons (#2135); \u0060190125c6\u0060 Use actions and shortcuts instead of \u0060onKeyEvent\u0060; \u00602157780b\u0060 Remove \u0060AppTextFormField\u0060 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6939bfeeab18f6e8b261aaa40d55942b0e439b78fb392f2adaa362e77afcb5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: fido.py \u2194 models.dart: \u0060helper/helper/fido.py\u0060 (context helper) and \u0060lib/fido/models.dart\u0060 (context fido) sit in DIFFERENT parts of the tree yet change together 50% of the time (11 of the 22 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 11 shared commits counted here, the most recent 3 are \u0060deb820d3\u0060 Ask for permission to store PPUAT; \u006036f3cfac\u0060 Handle PPUAT; \u006007137cef\u0060 Use reinsert from ykman, support long press for FIDO reset \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/fido.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"396aa2bc8b44d87f0723d8d63b5b27f9ebd4a66b7ac33cd6d9ddc2333c17d901"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: app_failure_page.dart \u2194 device_error_screen.dart: \u0060lib/app/views/app_failure_page.dart\u0060 and \u0060lib/app/views/device_error_screen.dart\u0060 change together 76% of the time (19 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 19 shared commits counted here, the most recent 3 are \u0060e29e8984\u0060 Change MS Store permission note; \u006099ec8491\u0060 Refactor Application enum; \u006006e2a35c\u0060 Fix string type \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/views/app_failure_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe418ac3ee492f050e6c49f3c76cf9aa81c9f7e3246951cdb44b02b1a63f653"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: authentication_dialog.dart \u2194 manage_key_dialog.dart: \u0060lib/piv/views/authentication_dialog.dart\u0060 and \u0060lib/piv/views/manage_key_dialog.dart\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060fa528066\u0060 Don\u0027t validate min length in auth prompts; \u00604ef17bc6\u0060 Fix clearing of error texts and ensure submit buttons are not disabled; \u006012e8813f\u0060 Change how PIV counts characters \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/authentication_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e61288117aaab05a69e3b3db962244da354de23cffef5707f2e49cc290ee7e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: authentication_dialog.dart \u2194 pin_dialog.dart: \u0060lib/piv/views/authentication_dialog.dart\u0060 and \u0060lib/piv/views/pin_dialog.dart\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060fa528066\u0060 Don\u0027t validate min length in auth prompts; \u00604ef17bc6\u0060 Fix clearing of error texts and ensure submit buttons are not disabled; \u0060659ef83f\u0060 Remove isRequired from prompts that are not forms \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/authentication_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62520bb58077da00e657126605b65a41f6f88af1fbfeebc2d5ac67ec1c2fb6d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: configure_chalresp_dialog.dart \u2194 configure_static_dialog.dart: \u0060lib/otp/views/configure_chalresp_dialog.dart\u0060 and \u0060lib/otp/views/configure_static_dialog.dart\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00604ef17bc6\u0060 Fix clearing of error texts and ensure submit buttons are not disabled; \u0060d6d7f458\u0060 Change how OTP counts characters; \u006095eb1b93\u0060 Ensure consistent handling of \u0060onSubmitted\u0060 actions \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/otp/views/configure_chalresp_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e12b0559bac8498d90dcb9806360c64303fe2a5a0cdfb2be137a8e2ee5311a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: add_fingerprint_dialog.dart \u2194 rename_fingerprint_dialog.dart: \u0060lib/fido/views/add_fingerprint_dialog.dart\u0060 and \u0060lib/fido/views/rename_fingerprint_dialog.dart\u0060 change together 57% of the time (13 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u00602157780b\u0060 Remove \u0060AppTextFormField\u0060; \u00606a22c23e\u0060 improved fingerprint views; \u00607ea025f9\u0060 Add \u0060AppInputDecoration\u0060 to \u0060AppTextFormField\u0060. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/add_fingerprint_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fd310cf36d92ba02191b6ce0d64242b40e1d6b1b8a0509a8696c17e1c86b36"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: credential_dialog.dart \u2194 fingerprints_screen.dart: \u0060lib/fido/views/credential_dialog.dart\u0060 and \u0060lib/fido/views/fingerprints_screen.dart\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060d7867bf1\u0060 Fix unlock behaviour; \u0060b5b5804f\u0060 Misc UI fixes; \u0060e4d49ea4\u0060 Refactor Actions to use custom Widgets more. (at that commit the file was still \u0060lib/fido/views/unlocked_page.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/credential_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"474ae039a9b31b623152ce6510cce7878cc2ef6794db1e080b4d5a457cf3b1fe"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MainActivity.kt \u2194 Session.kt: \u0060android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt\u0060 and \u0060android/app/src/main/kotlin/com/yubico/authenticator/fido/data/Session.kt\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060ea0a7d29\u0060 catch exceptions during initial NFC connections; \u0060bd7a2ef9\u0060 bump\u0026refactor; \u00609a19a9c6\u0060 use ViewModelData interface \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd9e1121dfd21b28a9ea5b267100e03725af8bbe2758a1519da1862a89a7f36"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6aa04ba1fe433c37639f4f06139d1c39be8db3629287a5df772c08794e0a01f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04f33edb221dd8934f83792d1d4a3ee1e226bb13374a37595636ac1e7592ceff"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4811be671b453bbcc9ff268cbd793aa2743d9c1fb1925f3fb0bf030cc7a3003"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e81138922337a283c698d3cc7d10568f003e5d089b8f3fd09be4e766d4835ee3"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b1b0f85c4983fb6ec7f2b686e51d44163ac9a3b56c192fbc10b743095e11f9d"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1a5db7e15c2002ecb0e53054b7d7b62c3bb608d0f2710cb132bc313a04b6e7f"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45b186282f6a8421441cfb6887970b175d1a2dc1f29d72ff2b9c5c81e6173f28"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: doc/Development.adoc names Python 3.8 or later, but helper/pyproject.toml:6 requires \u0060requires-python = \u0022\u003E=3.10, \u003C4\u0022\u0060: the package does not install on Python 3.8. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc/Development.adoc"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8559d8017bab6243970140ee935df5ac973784a29dadb5e90db655501a534e64"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/5 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060macos\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch uv/gitsubmodule: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060uv\u0060, \u0060gitsubmodule\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62bfad5fd06e22eb512f74e1753e532e30e0470ee5f77b7e8fd91bf97048753"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 1 versioned entry, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 callback passed to \u0060forEach\u0060: \u0060forEach\u0060 takes a \u0060void\u0060 callback and never awaits what it returns, so the Future each \u0060async\u0060 call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that \u0060await\u0060s around this loop still returns early, and a resource it closes next is closed under the work), and an error is never handled \u2014 it surfaces as an uncaught asynchronous error, which terminates a command-line program and reaches only the zone\u0027s error handler in Flutter. Iterate with \u0060for (final item in items) { await \u2026 }\u0060 when the work must run in order, or \u0060await Future.wait(items.map((item) async { \u2026 }))\u0060 when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback\u0027s whole body a \u0060try { \u2026 } catch (e) { \u2026 }\u0060 that handles the failure, so it cannot escape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/android/init.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be28b3533ebcc8352b50fab134e03e85dff0b5c4c78194922610150140cb1b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deleted == true \u0026\u0026 _selected == intent.target\u0060 appears character-identically in 3 files \u2014 lib/fido/views/fingerprints_screen.dart, lib/fido/views/passkeys_screen.dart, lib/oath/views/oath_screen.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/fingerprints_screen.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f70cc56e1435e6680d8afff9224742a5924ace03ee881e14def2b29c4b9e42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pivSlot.slot != SlotId.cardAuth \u0026\u0026 pivState.supportsBio\u0060 appears character-identically in 2 files \u2014 lib/piv/views/generate_key_dialog.dart, lib/piv/views/import_file_dialog.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/piv/views/generate_key_dialog.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c152c2471d7a12d85129265edda13c0440e6a960fba7ae7e4ec97d8141ebfe6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result != null \u0026\u0026 result.files.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/app/icon_provider/icon_pack_dialog.dart, lib/app/views/settings_page.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/app/icon_provider/icon_pack_dialog.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dea507cc014a6681f1ec5b978e06600cb9a9e94e617386606f210276491b6e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchFocus.hasFocus \u0026\u0026 headerSliverContext != null\u0060 appears character-identically in 2 files \u2014 lib/fido/views/passkeys_screen.dart, lib/oath/views/oath_screen.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/fido/views/passkeys_screen.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"157f82276e591e723ec8a2d7d68881f6d7e19afdfb9751b8800d988dfea13005"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.onCancel == null \u0026\u0026 widget.actions.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/widgets/basic_dialog.dart, lib/widgets/responsive_dialog.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/basic_dialog.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed281ef455604333f2a7271c0d45c256a41b717882f4ffeea23e26e8e8cfc646"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!sameDevice || !connectionHelper.hasPending()\u0060 appears character-identically in 2 files \u2014 android/app/src/main/kotlin/com/yubico/authenticator/otp/OtpManager.kt, android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.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":"android/app/src/main/kotlin/com/yubico/authenticator/otp/OtpManager.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd11c84889fb659530d684e847ab4ca686a4360b3c9f36c90ae753d4f7a3429a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device is NfcYubiKeyDevice \u0026\u0026 connectionHelper.hasPending()\u0060 appears character-identically in 2 files \u2014 android/app/src/main/kotlin/com/yubico/authenticator/otp/OtpManager.kt, android/app/src/main/kotlin/com/yubico/authenticator/piv/PivManager.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":"android/app/src/main/kotlin/com/yubico/authenticator/otp/OtpManager.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb40d76cffc3501019a2b54179e35d7250d62607d7dd772ba065229bf07a90b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.sw == SW.SECURITY_CONDITION_NOT_SATISFIED and time() - start \u003E 5\u0060 appears character-identically in 2 files \u2014 helper/helper/oath.py, helper/helper/piv.py. 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":"helper/helper/oath.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"215e1315c254ec28b85f222e526a7aba2b70e5d3bf79ebd1ccf4920f525cbfce"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): \u0060Process.start\u0060 always pipes both \u0060stdout\u0060 and \u0060stderr\u0060, and here \u0060process.stderr\u0060 is read while the child\u0027s end is awaited \u2014 but nothing in this scope ever reads \u0060process.stdout\u0060. Dart reads a process stream only while something listens to it, and the API\u0027s own documentation says every byte of both must be read: once the child writes more than the pipe holds to stdout (measured with Dart 3.12 on Linux: 60 KB hangs every time, and less on a box short of pipe pages), it blocks on the write, never exits, and the \u0060exitCode\u0060 or end of stream this code awaits never comes. Nothing fails loudly: the future never completes and the stuck child holds its resources until something kills it. Consume both streams (\u0060process.stdout.drain\u003Cvoid\u003E()\u0060 to discard it, or listen to it), use \u0060Process.run\u0060, which collects both, or start it with \u0060mode: ProcessStartMode.inheritStdio\u0060 when the output is not wanted."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/rpc.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae72e21a235cd566523ea0284f48eab008d5524034dbc87ea5af18803b83c09"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 129 is called with an argument built by \u0060jsonEncode(result)\u0060 (line 129), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/piv/state.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ca1280dc678cd94b2e115f23d93b223d52b4ff61852940269347303c5efdd4"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 70 is called with an argument built by \u0060jsonEncode(result)\u0060 (line 70), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/otp/state.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78123a05a567b596f861e719caa1e1d8e27d70af9ad0119f874e96479fd7121"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 116 is called with an argument built by \u0060jsonEncode(result)\u0060 (line 116), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/oath/state.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce982f06e95f6f127cd8fe36d0a56a05413684a3a6a73d69daf33106b4cee6"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 333 is called with an argument built by \u0060jsonEncode(code)\u0060 (line 333), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/oath/state.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83358c6ba688189601b2b846c215baa373228c5d18cff5ec7aa61627c375526"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 398 is called with an argument built by \u0060jsonEncode(result)\u0060 (line 398), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/oath/state.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e0e7ee1fb696de740353de5091466b4430774c23b112f2ac82c9823d546ba6"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 117 is called with an argument built by \u0060jsonEncode(fidoState)\u0060 (line 117), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/desktop/fido/state.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c656d9f391fd5f35170db9156981f91f08a08a132b5747aaca58ce008398976a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: 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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/CertificateUtils.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a4abaa30aa1935360046ee3f5e74148bbf4bb8d2be8bf90768901aaa19d9ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: 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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/CertificateUtils.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ee6a43a6381a28d91ed102a3274b5c1857fe0f1af114f57d69f1aab6796ee3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: 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":"android/app/src/main/kotlin/com/yubico/authenticator/piv/CertificateUtils.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"034a5708585601670c41db1225c73ae111c41daa7bbf8849f8b75275947af28a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 240 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/shell.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ded610a4dde7e65effc5b09c6013f65f4646b48f623ed70dac44191dc82d66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 174 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/base.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc31937d7f001ea7a52ccad83a7c97a9dbe8c06d7772a0b3bf351e4b0aef7afe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/base.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e36a9b931b512a8072c8d0a4aaede7b4c602aba0abc6ac887634d7768f595e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/device.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bab7348039139e5115c5463c7bb0b991a6cf59aab85b8e8205856bff2a024d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 251 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/device.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd89ea9f37c8743b39aa681159a753dac5a9eb728ac22ea0ba65e442afc13b7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 320 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/device.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1bfc7f9e282cbaec7e87e0a893ac7e122a9234b53e97f9725a9d2b38f863be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 360 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/device.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7e08360292f8bf56692390fe93ecf28ce8f6c18b778544f274fb6fa562aa87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 371 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/device.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb26332099538de810c76d087f4962e11cbb89b60e758cc2f6aee48b55e0290"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/fido.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24fe94e3440476d4fea5ff2af92f7b960f44ab5f50f433636074370ed9f92eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 81 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/management.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba241b289f23534af768bc4efac03d83012f8b550e5d40f45364878b8ec4aea9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helper/helper/piv.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d463971df2905ecc09bca4658ddd09b2e2905943fa6a183a2333f54b5c81e9a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 105 is handed a message assembled at the call \u2014 a string template with \u0060$\u2026\u0060 values in it, a concatenation or \u0060String.format\u0060 \u2014 through SLF4J, log4j 2 or kotlin-logging, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.trace(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or with kotlin-logging \u0060logger.atInfo { message = \u0022Order moved\u0022; payload = mapOf(\u0022order_id\u0022 to orderId, \u0022status\u0022 to status) }\u0060. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/ActivityUtil.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb01a7cbe0984b11ff7489e42fc99d2380ea43d6f5e239d31be77e60585aa6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 126 is handed a message assembled at the call \u2014 a string template with \u0060$\u2026\u0060 values in it, a concatenation or \u0060String.format\u0060 \u2014 through SLF4J, log4j 2 or kotlin-logging, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or with kotlin-logging \u0060logger.atInfo { message = \u0022Order moved\u0022; payload = mapOf(\u0022order_id\u0022 to orderId, \u0022status\u0022 to status) }\u0060. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa1c4dcdfce60271caa929a2a7919a4016d4097d376e4d4b18f96d30890cd63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 129 is handed a message assembled at the call \u2014 a string template with \u0060$\u2026\u0060 values in it, a concatenation or \u0060String.format\u0060 \u2014 through SLF4J, log4j 2 or kotlin-logging, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or with kotlin-logging \u0060logger.atInfo { message = \u0022Order moved\u0022; payload = mapOf(\u0022order_id\u0022 to orderId, \u0022status\u0022 to status) }\u0060. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eff923513891a480fb7cdbbdd619600ec7031a5c6d324b40f10c531df99c55"}}],"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-1289","guid":"def9cd9c-690d-9b51-b080-d9177818de36","name":"CWE-1289","shortDescription":{"text":"CWE-1289"},"helpUri":"https://cwe.mitre.org/data/definitions/1289.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-20","guid":"0a612236-7785-3553-b517-eabea925caa3","name":"Improper Input Validation","shortDescription":{"text":"Improper Input Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/20.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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":26,"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."]}]}