{"$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":"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":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"VmodalHttp._executeRead (cyclomatic 44): VmodalHttp._executeRead has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/http.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea8f5046380dbb90b8b71530e770fbf0cb367a660d8bb6a398bc4aa1635622e"}},{"ruleId":"D1","level":"warning","message":{"text":"_ScopedCredentialSource._acquire (cyclomatic 27): _ScopedCredentialSource._acquire 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/src/backend_auth.dart"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"65214a237596cb5dd93e633d67714025836b6d915ba858b70d856d5723f286d9"}},{"ruleId":"D1","level":"warning","message":{"text":"_SessionStream.listen (cyclomatic 21): _SessionStream.listen has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/session_guard.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f192d50cc1c28d3aa335883934c2a340f5fcd8c0aa5ddb9c744a05eca89408"}},{"ruleId":"D1","level":"warning","message":{"text":"UploadSource.open (cyclomatic 21): UploadSource.open 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/src/upload.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"baefca5a8fce604800df20e61409a6a2f9d54e8bc2afa1cde77b15a3a512713f"}},{"ruleId":"D1","level":"warning","message":{"text":"UserScope.uploadMetadata (cyclomatic 21): UserScope.uploadMetadata has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/user_session.dart"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6188c63a90dc16f05a51f96fd8e4cd4eef3820dddd36b8c76a2bba666a82d7"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchesResource.searchBatch (cyclomatic 16): SearchesResource.searchBatch has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/resources.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"143a7ff55644860e37b4aeca4748b95d94bc15cfefe18b22d0ddf6602502ceea"}},{"ruleId":"D2","level":"warning","message":{"text":"VmodalHttp._executeRead (cognitive 74): VmodalHttp._executeRead has cognitive complexity 74 (threshold 15). Drivers by points: if/else 13 (42 pts), boolean chains 24, error handling 2 (4 pts), ternaries 3, loops 1 (nesting depth added 31). 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/src/http.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e19ad6c66869c21f42531872eef3061c90b7ae5ff9d3acc6de1d00a7fd6152"}},{"ruleId":"D2","level":"warning","message":{"text":"_ScopedCredentialSource._acquire (cognitive 54): _ScopedCredentialSource._acquire has cognitive complexity 54 (threshold 15). Drivers by points: if/else 10 (31 pts), boolean chains 12, ternaries 2 (8 pts), error handling 1 (2 pts), loops 1 (nesting depth added 28). 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/src/backend_auth.dart"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb0b51ffa2aa83532f6a0532c37250d98b3c9a74d894589913ce40143be233e"}},{"ruleId":"D2","level":"warning","message":{"text":"UploadSource.open (cognitive 36): UploadSource.open has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 3 (6 pts), boolean chains 3, loops 2 (3 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/src/upload.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"92015c663d9a4f2a19491d3d7e5cda600bc7a715c45cd594e994731cd30b3aa9"}},{"ruleId":"D2","level":"warning","message":{"text":"UserScope.uploadMetadata (cognitive 27): UserScope.uploadMetadata has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (12 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/user_session.dart"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"19afc7e3b5349b66882bf341d4d8afd4b3d33135f1174dc8b201332f750de4b7"}},{"ruleId":"D2","level":"warning","message":{"text":"_SessionStream.listen (cognitive 26): _SessionStream.listen has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 3, error handling 2 (3 pts), ternaries 1 (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/src/session_guard.dart"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eddf1a66da33d54c42e667f18cb86dc8eb8a6f8f7398f600206f42855a0909"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionOperation.run (cognitive 24): SessionOperation.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, error handling 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/session_guard.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94071e70f986c5c3045fe36b1375b4059769e9a55a50f9fe17c4f7f62cb9b93"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchesResource.searchBatch (cognitive 23): SearchesResource.searchBatch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 5 (6 pts), error handling 2 (5 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/src/resources.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f87d689840e350a7e0e03daec6944918dcf038e4eaea19d37cc01db8ff9d638"}},{"ruleId":"D2","level":"warning","message":{"text":"IoSignedUploadTransport.upload (cognitive 20): IoSignedUploadTransport.upload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, error handling 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/upload.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae8dea5361637cb30734d5838c631a79fac7a47ec31f8fa94f5c370f7de08fa"}},{"ruleId":"D2","level":"warning","message":{"text":"UserSessionManager.openResolvedSession (cognitive 19): UserSessionManager.openResolvedSession has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, error handling 1, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/user_session.dart"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54443ea43fa47a7cba1fd9a24600f19abf0a1a65b0c1f4b9f40dbf5026bba92"}},{"ruleId":"D2","level":"warning","message":{"text":"VmodalHttp.headers (cognitive 18): VmodalHttp.headers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 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":"lib/src/http.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"869e64de3ea3beba681029dda7648ea7bab54509aa8eabc1dc72f6dda85f4736"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/collection_uploads.dart: FileTooLong \u2014 1039 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 539 over it, 2.08\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/src/collection_uploads.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c3fb35a2a3eabb38b01b80716da5c39c68221fb04293f38efc3e10a105ce0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/user_session.dart: FileTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 499 over it, 2.00\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/src/user_session.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"467de5d9cadd1d20ee09d07bfaceece78cd0a2a56e149d9056a82531b8308585"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/models.dart: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 over it, 1.36\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/src/models.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72b0335a187c34e09072ef76e46f42ea0cd3bee795dadecb1959c5e090bfe73"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Routes: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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/src/routes.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fea5d43655b7fd5bd62f7c0a711fa60a870cc641f55f3bf9ff5878cd55f616e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VmodalHttp._executeRead: MethodTooLong \u2014 _executeRead runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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/src/http.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a70c6fbc7572ae642df9b708c1318e3aa852cd274ba735fb6e367e78d2b346"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UserScope: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 23 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":"lib/src/user_session.dart"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ee91d36e5bb9ef8f067628943dc1a30b940edbdaca680b5be24261712da20c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/backend_auth.dart: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 64 over it, 1.13\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/src/backend_auth.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"600b999b87718533e09dfba5bb1c817a7324ecc40494205a67a2adbaeddfd5df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/resources.dart: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 over it, 1.06\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/src/resources.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68474ba3a303e2dd8fabafbe675f7b8436794ad682e0dcbbbb58f390a04e4bab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IoSignedUploadTransport.upload: MethodTooLong \u2014 upload runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/upload.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"abba548e7c326a67a73411f1952a5ecd4dc7fdffc9b593db2579d626a1c6dfbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/src/http.dart:123-151 | lib/src/http.dart:153-183 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/http.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c675fd956e07eeb641ea9484f6ea1cab242f3fc56150e2db03f15d7878f62470"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/src/backend_auth.dart:213-222 | lib/src/user_session.dart:391-398 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/backend_auth.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"19128aa1f4b0ce0ec3e2a5d9f8e6273881958b7cded75c4270d087d7c8aa40c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/session_guard.dart:425-437 | lib/src/session_guard.dart:499-511 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/session_guard.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2e77490223bf42b73273f58de8267b7929a075137eb2b0283331009c62478e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/session_guard.dart:448-458 | lib/src/upload.dart:345-355 \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/src/session_guard.dart:448\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/src/session_guard.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4b2c82607cd3151179296584c9a94cf6756b367246949c38b5c8236e9ef65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/http.dart:186-193 | lib/src/http.dart:218-225 \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/src/http.dart:186\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/src/http.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf80117fb77ecf2ad35d76b1ee1d8783caef43eaf50ab6cced5ad34eb2767a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/session_guard.dart:190-197 | lib/src/session_guard.dart:415-422 \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/src/session_guard.dart:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060_\u0060 to \u0060Future\u003Cvoid\u003E.sync(discarded.cancel).catchError((Object\u0060 in one and \u0060Future\u003Cvoid\u003E.sync(subscription.cancel).catchError((Object\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/src/session_guard.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70cdd5b9a84d4bb7a24010a070d348bbca2d039068472c29cdb0bfb877e1a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (198 shared lines): example/05_framebase/lib/main.dart:668-878 | example/05_framebase_userlogin/lib/main.dart:782-997 \u2014 These two members are variants of one another: 198 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":"example/05_framebase/lib/main.dart"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22eced7ffbfd0c37d0cd296d3449ba60d291c528e9c13174cb54f82dc4ee76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (87 shared lines): example/05_framebase/lib/main.dart:190-315 | example/05_framebase_userlogin/lib/main.dart:265-428 \u2014 These two members are variants of one another: 87 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":"example/05_framebase/lib/main.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0824525b85c0160b85045854d09ba10769cbd3c3aaf5483d997ddbf07fcfa8e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (82 shared lines): example/05_framebase/lib/main.dart:433-527 | example/05_framebase_userlogin/lib/main.dart:546-646 \u2014 These two members are variants of one another: 82 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":"example/05_framebase/lib/main.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"476f767af3ef6743fc5cb6780284825013c45d1d1d2547eb468e4750cf7e3abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (124 corresponding lines): example/05_framebase/lib/main.dart:1008-1131 | example/05_framebase_userlogin/lib/main.dart:1184-1325 \u2014 These two members are one piece of code written twice and then edited apart: 124 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":"example/05_framebase/lib/main.dart"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"9677951b4f51cf06b5545505c17bca04276f950740c851cc659090f1aa3865ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): example/05_framebase/lib/data/archive_controller.dart:302-367 | example/05_framebase_userlogin/lib/data/archive_controller.dart:685-763 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"388b616c7a145aaaa311dcc067bd467d42a26b1601eafa69faf1b267372fb0ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): example/05_framebase/lib/main.dart:32-84 | example/05_framebase_userlogin/lib/main.dart:89-149 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"example/05_framebase/lib/main.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8bcf8e09a509045ba911cd1e52e897df5a5c32c7536d0b11e79c9c8842878b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): example/05_framebase/lib/data/archive_controller.dart:392-426 | example/05_framebase_userlogin/lib/data/archive_controller.dart:795-843 \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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae040e18e8347c7d7e613ab934bb8aac0ed3fb8f5d8c2adec3cdc9d8568cce89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): example/05_framebase/lib/main.dart:970-995 | example/05_framebase_userlogin/lib/main.dart:1099-1125 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"5350ca65f04781c2f7b03f2ea20199a3da209b57d0af0057fd533fed1caef427"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): example/05_framebase/lib/main.dart:885-924 | example/05_framebase_userlogin/lib/main.dart:1004-1037 \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":"example/05_framebase/lib/main.dart"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc3ff744457424c48bda28377c2052a86c84a17385817186b518881db0b1553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): example/05_framebase/lib/data/archive_controller.dart:369-390 | example/05_framebase_userlogin/lib/data/archive_controller.dart:765-793 \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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0554be7a093e1938055626399460dd6bdbba83f3abedaf2f01aaf250856538"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): example/05_framebase/lib/data/archive_controller.dart:41-51 | example/05_framebase_userlogin/lib/data/archive_controller.dart:47-58 \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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5401598ea9f858a9b14c45214b6bbedfa85d98de1b4a0fb3abf97e377c5813"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): example/05_framebase/lib/main.dart:617-632 | example/05_framebase_userlogin/lib/main.dart:736-746 \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":"example/05_framebase/lib/main.dart"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ffb9d0a80f2451b83139250f717fa464d3a2890d24a065d15b276b32658c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): example/01_full_app/lib/main.dart:572-589 | example/01_full_app/lib/main.dart:591-604 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/01_full_app/lib/main.dart"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"155d1c005bd4da87c64317c18016a59d9a71646a9fd0b90dbefaaa0f81837ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): example/04_example/lib/console_view.dart:336-349 | example/04_example/lib/gallery_view.dart:183-196 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/04_example/lib/console_view.dart"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6a6f08150b7a20924488d90cc53f148b6b0048e333d5e7332cb441a57ca514"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): example/05_framebase/lib/data/archive_controller.dart:30-40 | example/05_framebase_userlogin/lib/data/archive_controller.dart:35-46 \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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ec1a165973285d9a380c479484647110aa667f9d983b873d22e2e686bfc6e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): example/02_users/lib/global_search_index.dart:7-16 | example/02_users/lib/product_catalog.dart:7-16 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/02_users/lib/global_search_index.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"17efda5f606cbfdb816beeef88a0baa6c8e795e49e5cb1991c58053c79c7c8be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): example/05_framebase/lib/main.dart:1001-1006 | example/05_framebase_userlogin/lib/main.dart:1176-1182 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58dc6f6dfda954c91aa0f57fce182ee2193aebd06ff536a6584f9dea1f68c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): example/05_framebase/lib/main.dart:139-142 | example/05_framebase_userlogin/lib/main.dart:200-203 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8010ec6ae2d5ad575fe8901eefe0476130eba98299ef080be6d0a1f6923f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (114 lines \u00D7 2): example/05_framebase/lib/main.dart:668-781 | example/05_framebase_userlogin/lib/main.dart:782-895 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:668\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ad054cdae21cb5ba7b24383531641f1e022f0c5541a14c7ea222bc72466d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): example/05_framebase/lib/main.dart:1010-1078 | example/05_framebase_userlogin/lib/main.dart:1187-1255 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:1010\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/05_framebase_userlogin/lib/main.dart:1186\u0060 calls \u0060shrink\u0060 and \u0060example/05_framebase/lib/main.dart:1009\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd52cbae65579f27c49dacb9eb7fe28df54e03056768bd159f7313f6c6608f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): example/05_framebase/lib/main.dart:362-426 | example/05_framebase_userlogin/lib/main.dart:475-539 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2860a1b353a86939d557c5ead26fbe2666fb7432fd5cb5be0b05677f3b9b36ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): example/05_framebase/lib/main.dart:1137-1198 | example/05_framebase_userlogin/lib/main.dart:1331-1392 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eea7818b842cbfd4bf41d12babd9ae6be2fb43bad90c32d56842e9605451809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): example/05_framebase/lib/main.dart:818-878 | example/05_framebase_userlogin/lib/main.dart:937-997 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:818\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"66323ec9f55704ddbef1fd80a979cbc7bc66adcf804207b19abb8ecf24f7b855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u201354 lines \u00D7 2): example/05_framebase/lib/main.dart:1079-1131 | example/05_framebase_userlogin/lib/main.dart:1272-1325 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:1079\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, \u0060example/05_framebase/lib/main.dart:1078\u0060 calls \u0060Padding\u0060, \u0060all\u0060, \u0060Text\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart:1272\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d09f93277d09351a20e53a8d1a3c693e4e71d5ef2f42f6a661857e9262f00c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): example/05_framebase/lib/main.dart:34-82 | example/05_framebase_userlogin/lib/main.dart:96-144 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6341d00aaea3d2caaa9c0eaf14f75232b1915ed14da4b6b720bd754266468608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): example/05_framebase/lib/main.dart:439-482 | example/05_framebase_userlogin/lib/main.dart:553-597 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:439\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2fb86e3868fb5cc7926c3e40fe9b1cb32e5783a02904a16f9105c24e30c48a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): example/05_framebase/lib/data/archive_controller.dart:444-482 | example/05_framebase_userlogin/lib/data/archive_controller.dart:862-900 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/data/archive_controller.dart\u0060 and \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/data/archive_controller.dart:444\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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e663dfdd0d357b2c85fa8f8213ad51502147226cd051f0f897847886b1e0024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): example/05_framebase/lib/main.dart:634-666 | example/05_framebase_userlogin/lib/main.dart:748-780 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb3eb5322a43fbce990d7cebfaa8fa504348a663ee83ad186a11556cbce8fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): example/05_framebase/lib/main.dart:1376-1406 | example/05_framebase_userlogin/lib/main.dart:1604-1634 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdadfd8045e233a3b82a2eefb903f5f8d61b2465f3aa97b367e76bdda6ea5ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): example/04_example/lib/console_view.dart:226-254 | example/04_example/lib/gallery_view.dart:516-544 \u2014 before extracting anything, compare \u0060example/04_example/lib/console_view.dart\u0060 and \u0060example/04_example/lib/gallery_view.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 88 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 \u0060example/04_example/lib/console_view.dart:226\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":"example/04_example/lib/console_view.dart"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa99c7cc741f7ef939c213ebe636d7f0f6ad5eaa49a6e4ce5a42396c5228f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): example/05_framebase/lib/main.dart:244-270 | example/05_framebase_userlogin/lib/main.dart:341-367 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:244\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42b382f9f905f771a9084d278b2982e3f48e6cdab20d62d5cd71d666d3c19cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): example/04_example/lib/console_view.dart:256-281 | example/04_example/lib/gallery_view.dart:546-571 \u2014 before extracting anything, compare \u0060example/04_example/lib/console_view.dart\u0060 and \u0060example/04_example/lib/gallery_view.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 88 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 \u0060example/04_example/lib/console_view.dart:256\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":"example/04_example/lib/console_view.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b728377a08158d0a2e8dcf9ca2e6a08a606fb520d9d81f3b7a4ed79c1c1fd12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): example/05_framebase/lib/data/archive_controller.dart:402-426 | example/05_framebase_userlogin/lib/data/archive_controller.dart:819-843 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/data/archive_controller.dart\u0060 and \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/data/archive_controller.dart:402\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, \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart:818\u0060 calls \u0060throwIfCanceled\u0060 and \u0060example/05_framebase/lib/data/archive_controller.dart:401\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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd84f63cc4a59b31ddbbdf5a71966bf7882e9d6b86ddb871b591d0b15e2d674f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): example/05_framebase/lib/main.dart:190-214 | example/05_framebase_userlogin/lib/main.dart:265-289 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:190\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bb673fa600dc0f99f0c00c61571ebb299d7de13159101f7dd968dffecb0054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): example/05_framebase/lib/main.dart:329-353 | example/05_framebase_userlogin/lib/main.dart:442-466 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3974023ace20dab92377a9f865e4dfef736287b526499e5e16ec590cb1bf4483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): example/04_example/lib/console_view.dart:49-71 | example/04_example/lib/gallery_view.dart:44-66 \u2014 before extracting anything, compare \u0060example/04_example/lib/console_view.dart\u0060 and \u0060example/04_example/lib/gallery_view.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 88 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 \u0060example/04_example/lib/console_view.dart:49\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":"example/04_example/lib/console_view.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"64463b062728a6128e1886af33db22293a750441a3731e4067727975cfbb7918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): example/05_framebase/lib/main.dart:793-815 | example/05_framebase_userlogin/lib/main.dart:910-932 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:793\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"9404dac1cd14fe9fbb0d2eb91cc4986e85c17916c233629749acc92430414e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): example/05_framebase/lib/main.dart:1349-1370 | example/05_framebase_userlogin/lib/main.dart:1435-1456 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae65df66da8f408d72ab26e89f2babd7e8822cf9b6f911e082dd446b5252c578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): example/05_framebase/lib/main.dart:904-924 | example/05_framebase_userlogin/lib/main.dart:1017-1037 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:904\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb149b787a9d8dd802df1f8602c6ac0c25e4768a6b5e836d976dca98f63351a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): example/05_framebase/lib/main.dart:489-507 | example/05_framebase_userlogin/lib/main.dart:606-624 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:489\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb78499e2e0dd6a4ca5294cb592b2df8994a49e91bd9a1cb37f34bdb3be4995d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): example/05_framebase/lib/main.dart:509-527 | example/05_framebase_userlogin/lib/main.dart:629-646 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:509\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1060d943f6143c841c717285c1fdccbe2edf8e8c9817e7455d95c216aca0070e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/05_framebase/lib/data/archive_controller.dart:272-288 | example/05_framebase_userlogin/lib/data/archive_controller.dart:502-518 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/data/archive_controller.dart\u0060 and \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/data/archive_controller.dart:272\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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9317714f7f5783cc557550821c5404f0061fdad8233c7333207944838d4bd73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): example/05_framebase/lib/main.dart:294-310 | example/05_framebase_userlogin/lib/main.dart:407-423 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:294\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcb58e716f7b2a81784f5fa1f0fe772b96395d77b277cd2116be725d89de45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): example/05_framebase/lib/main.dart:885-900 | example/05_framebase_userlogin/lib/main.dart:1004-1020 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:885\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b0ecb54f177990c74342d728babfe8d0f3b9e13a8039880e19879c4c1584bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): example/05_framebase/lib/data/archive_controller.dart:329-344 | example/05_framebase_userlogin/lib/data/archive_controller.dart:717-732 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/data/archive_controller.dart\u0060 and \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/data/archive_controller.dart:329\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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1622350347a6c5cabd6b76012817e10b1f8e1a21cad2bd4bcfdf0b9e50ffb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): example/05_framebase/lib/main.dart:559-574 | example/05_framebase_userlogin/lib/main.dart:678-693 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f551753f8fe1ca1c019147580245e4668fb52da4d7d52ea8d589c375fb2497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): example/05_framebase_userlogin/lib/main.dart:1137-1150 | example/05_framebase_userlogin/lib/main.dart:1505-1519 \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 \u0060example/05_framebase_userlogin/lib/main.dart:1137\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":"example/05_framebase_userlogin/lib/main.dart"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6237dd0573f7179e1bc3f0ddf3277d315097e380b2e695ef36c202e6e1112909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example/05_framebase/lib/data/archive_controller.dart:305-318 | example/05_framebase_userlogin/lib/data/archive_controller.dart:689-702 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/data/archive_controller.dart\u0060 and \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/data/archive_controller.dart:305\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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"208856c77a599977775437fd3e51e469e665d413c2c4f1da04209f9cbf15a4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example/05_framebase/lib/data/archive_controller.dart:144-155 | example/05_framebase_userlogin/lib/data/archive_controller.dart:245-256 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/data/archive_controller.dart\u0060 and \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/data/archive_controller.dart:144\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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2b825d53b60b91a651223afa2c7b889ae66656450897a53ae62f481b10bb8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): example/05_framebase/lib/main.dart:100-110 | example/05_framebase_userlogin/lib/main.dart:165-175 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f6a8adeafda5e7bcd5db297e509df268eb61e2de5dde9a13dc7d12f2ae1ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): example/04_example/lib/console_view.dart:38-47 | example/04_example/lib/gallery_view.dart:33-42 \u2014 before extracting anything, compare \u0060example/04_example/lib/console_view.dart\u0060 and \u0060example/04_example/lib/gallery_view.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 88 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 \u0060example/04_example/lib/console_view.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. 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":"example/04_example/lib/console_view.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0d4409739a5f3a272a7bf66a4b2f7b611031f0ba48c23af6d75121bffbac25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): example/05_framebase_userlogin/lib/data/archive_controller.dart:748-757 | example/05_framebase_userlogin/lib/data/archive_controller.dart:779-788 \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 \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart:748\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase_userlogin/lib/data/archive_controller.dart"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3820749789ec1ad90a080983a9e0d9dbf6738268a9e4d5e9f4331983592c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): example/05_framebase/lib/main.dart:274-282 | example/05_framebase_userlogin/lib/main.dart:383-391 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:274\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"16eaa47d1cc54bb8421a5a890485164f903e058e0ff221a166967eb45aa8a2e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): example/05_framebase/lib/main.dart:284-292 | example/05_framebase_userlogin/lib/main.dart:395-403 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:284\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8561f157ce080189b2cabcd41a6b60084b18901453b6d6631c52818e6142004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/05_framebase/lib/data/archive_controller.dart:41-48 | example/05_framebase_userlogin/lib/data/archive_controller.dart:47-54 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/data/archive_controller.dart\u0060 and \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/data/archive_controller.dart:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart:55\u0060 calls \u0060_archiveAssetId\u0060 and \u0060example/05_framebase/lib/data/archive_controller.dart:49\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":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6014af4333eb1f21cd66ecd27ce7089f4eb20c2cb91f2a9b8483a293fb07c48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/05_framebase/lib/main.dart:977-984 | example/05_framebase_userlogin/lib/main.dart:1107-1114 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060example/05_framebase/lib/main.dart:977\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":"example/05_framebase/lib/main.dart"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"762cb953ff443e62ed2eb54a33fa2934dd5014e2bcbdbeffc75f7ce2ee4b6256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): example/05_framebase/lib/data/archive_controller.dart:186-191 | example/05_framebase_userlogin/lib/data/archive_controller.dart:366-371 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/data/archive_controller.dart\u0060 and \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d40b3051b752ff37020346207c0365abe76a118a462d49bd13bfd379fbee0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): example/05_framebase/lib/data/archive_controller.dart:87-92 | example/05_framebase_userlogin/lib/data/archive_controller.dart:118-123 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/data/archive_controller.dart\u0060 and \u0060example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/data/archive_controller.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cafe6fa8a5d1f4daac0b04747537a32cbdf541ca526d818376d9e0c44b7cfb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): example/05_framebase/lib/main.dart:320-325 | example/05_framebase_userlogin/lib/main.dart:433-438 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"3579d3516eb98c5b0f63541476a23b5347d3048e76f658a1058466eb5280e24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/05_framebase/lib/main.dart:533-540 | example/05_framebase_userlogin/lib/main.dart:652-659 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4b4c61dd0f0208aafd685647b68cd36b225ff8443f44cc1dba6cfca158add9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): example/05_framebase/lib/main.dart:549-553 | example/05_framebase_userlogin/lib/main.dart:668-672 \u2014 before extracting anything, compare \u0060example/05_framebase/lib/main.dart\u0060 and \u0060example/05_framebase_userlogin/lib/main.dart\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 870 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase/lib/main.dart"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a258e08f07be852c11015fb41d543048dccb421030c847c77d35a13b54d26d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): example/01_full_app/ios/Runner/AppDelegate.swift:6-15 | example/04_example/ios/Runner/AppDelegate.swift:6-15 | example/05_framebase/ios/Runner/AppDelegate.swift:6-15 | example/05_framebase_userlogin/ios/Runner/AppDelegate.swift:6-15 \u2014 before extracting anything, compare \u0060example/01_full_app/ios/Runner/AppDelegate.swift\u0060 and \u0060example/04_example/ios/Runner/AppDelegate.swift\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/01_full_app/ios/Runner/AppDelegate.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4c0b52908523d5c36eb6a5fbce8ae798818451899fddd53e64116e38075809"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/http.dart: lib/src/http.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in VmodalHttp._executeRead at line 217. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-05..2026-10-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-05 13:23:00 \u002B00:00\u0027 --until=\u00272026-10-03 13:23:00 \u002B00:00\u0027 --full-history --no-merges -- lib/src/http.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/http.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f98c5714d192a8aa48b38aa93edad70fad8b6b2e6e8738699ae4c1f714e2be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: example/01_full_app/lib/main.dart: example/01_full_app/lib/main.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in _VmodalExampleAppState._search at line 675. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-05..2026-10-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-05 13:23:00 \u002B00:00\u0027 --until=\u00272026-10-03 13:23:00 \u002B00:00\u0027 --full-history --no-merges -- example/01_full_app/lib/main.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/01_full_app/lib/main.dart"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1e6b321003a53e903deb1e172443cbb7722596280be898545d9f5bb3f26f09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/upload.dart: lib/src/upload.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in UploadSource.open at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-05..2026-10-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-05 13:23:00 \u002B00:00\u0027 --until=\u00272026-10-03 13:23:00 \u002B00:00\u0027 --full-history --no-merges -- lib/src/upload.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/upload.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5857da4798b99d0d4b84251e146053cb43bd9c180417f49d6203399ab31510dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: example/05_framebase_userlogin/lib/main.dart: example/05_framebase_userlogin/lib/main.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in _LibraryPageState.build at line 265. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-05..2026-10-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-05 13:23:00 \u002B00:00\u0027 --until=\u00272026-10-03 13:23:00 \u002B00:00\u0027 --full-history --no-merges -- example/05_framebase_userlogin/lib/main.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase_userlogin/lib/main.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec96892136dcaf225631fb6304f817938e2723cb78d6cd484a109f8ab84d5a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: example/05_framebase_userlogin/lib/data/archive_controller.dart: example/05_framebase_userlogin/lib/data/archive_controller.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ArchiveController.removeLocalCopy at line 412. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-05..2026-10-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-05 13:23:00 \u002B00:00\u0027 --until=\u00272026-10-03 13:23:00 \u002B00:00\u0027 --full-history --no-merges -- example/05_framebase_userlogin/lib/data/archive_controller.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase_userlogin/lib/data/archive_controller.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc118b7407a8a05c79ce225de3fe19d250e659f8f3239af5fef1fa56f7d9d15e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: example/05_framebase_userlogin/lib/user/vmodal_credential.dart: example/05_framebase_userlogin/lib/user/vmodal_credential.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in VmodalCredential.validate at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-05..2026-10-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-05 13:23:00 \u002B00:00\u0027 --until=\u00272026-10-03 13:23:00 \u002B00:00\u0027 --full-history --no-merges -- example/05_framebase_userlogin/lib/user/vmodal_credential.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase_userlogin/lib/user/vmodal_credential.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8032fcd82f9506029bea6459628ce6438b2ecc18e5bd7c84f08d285ed58f9ff2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: example/05_framebase_userlogin/lib/user/user_session_controller.dart: example/05_framebase_userlogin/lib/user/user_session_controller.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in UserSessionController._resolve at line 271. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-05..2026-10-03, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-05 13:23:00 \u002B00:00\u0027 --until=\u00272026-10-03 13:23:00 \u002B00:00\u0027 --full-history --no-merges -- example/05_framebase_userlogin/lib/user/user_session_controller.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase_userlogin/lib/user/user_session_controller.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"933d503f239f6b142ac8126a3a4c007f69664bbba6ffe3c2dbd9fb77980d6b2a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 13 significant file(s) lose their only recent owner: lib/src/collection_uploads.dart, lib/src/models.dart, lib/src/resources.dart, lib/src/upload.dart, lib/src/http.dart, lib/src/transport.dart, lib/src/vmodal.dart, lib/src/api_key_provider.dart (\u002B5 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cfcca2b5b37f77122b5a67a1d3a9cb10176cfef14177e1c46a090fd2042d3dbc"}},{"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":"176c56e61c74f826c88a664576e7c3fc2aa1ff7d9ca3ec61264b1478d674c28f"},"properties":{"commitSha":"84339245d6130fabfb09cb4df7aa8daeac4bb102"}},{"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":"472bc3be507088cb72f15830f0d13977834d4a6a4d437892302c0083bcd66a39"},"properties":{"commitSha":"c40f001303133fb85eac56789bbcd2b98184aa04"}},{"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":"7bad575e88094a87d62e05a7c7d7c4aef7bbabf6dc6754deaac0a3425ea3d137"},"properties":{"commitSha":"3c950dc5886094d444528ac0ac1b3577b6ef195c"}},{"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":"84d952762c71142bc3348b69c17ba27c87f537e322ee7d8451cc1752db0b549f"},"properties":{"commitSha":"2af9c7cae2a0ec3b3a825f55b9cb5b0a1e9e541a"}},{"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":"48feb338fc90f4fc15a2f8e0b3bb0d2fe98c0e1a8a3a86ccbe9e95e10bd68ec2"},"properties":{"commitSha":"cb6b5f3151499b2f9c2d69a2f812d18a0c50825d"}},{"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":"09448f5b50078b616a59824d0338ca0641d169dfc4697ac971bca7f06f39b419"},"properties":{"commitSha":"4c111b911aa9fc731305d6af2c4d1c230d1fb68d"}},{"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":"bc4b928eadabc09465570b27075558843834a4915eaad0e3916c03d5c19dbbf3"},"properties":{"commitSha":"68c1e4615cc43d0b9123eebe4e64ca8d82ccc9ce"}},{"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":"b3dd39a1c460cb07e95f6a5147b523529e677493c76aa5b936c8ac0b3d982a09"},"properties":{"commitSha":"0a266cf1ae14753afa5b7012d288111b0cb15443"}},{"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":"9c05fe70d6405de5a36297294dac0c41033e068fca649ed6cf2ef21b2c1ac4e0"},"properties":{"commitSha":"8f279e0d51b3efbe354f4010f3f2f9f54fff6f6d"}},{"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":"45e5894265078043c1ad33938a3149da5512b232526b02674175ed49065fa3a5"},"properties":{"commitSha":"67f244bd892c36bd9c77f351b79ae914f11482ea"}},{"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":"c654e6cd8f87351658a473aa86aa46a1114f5321b7e175e42ec065c6eaf2d410"},"properties":{"commitSha":"e3c7efbf9f653a94872f9938d8ba31f7385b4192"}},{"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":"8a93f918cb47acb14a27623d1d446786d9f876124cf0c4ce2b7850eec608a5af"},"properties":{"commitSha":"8b5fef747ba6b1387693652f37216e5580055e6a"}},{"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":"2e6a19470b0c3c028bf1b4ae4b5da20951f68f542012a33a25f861b77f97d9f8"},"properties":{"commitSha":"4ef3a72a0bab09257160bb9ff79e37dfa0c6a1cf"}},{"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":"5721e7e7da14fe85ddaae22cbe97427ceed1c2fb12dd682ac80d1818bc536790"},"properties":{"commitSha":"4d4c800f2ff9ffe849e4718f6ba48d5c9f292d60"}},{"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":"3d8211654397ac0495d896610c4e77d08680551d0849d05cff34beecf571953c"},"properties":{"commitSha":"b14b2b5d203d566a8ca99a3cf5875210d4494d77"}},{"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":"64e65d0731fc02afe5d6622df2193426ab4e2d6bcc2a5c6c0e048fdefc0257c9"},"properties":{"commitSha":"138a7db2e1044236c8a4f19aadd154cb9ece2360"}},{"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":"fef7cb4868824c9719ccd461ef192de72249781a97900fe9052381fa661c82a4"},"properties":{"commitSha":"497305c9fe0025f93b86c4f7ea2df773721cf836"}},{"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":"41fd67a19b4dca00865f456ebf693734f73559621bac05ea3637a6d78ad00872"},"properties":{"commitSha":"725ce8e6bf789487e67bb4ff16d8ba5c73cb9002"}},{"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":"0336fe8afdda471e8288e3b9c01a32a4c9e9db4313b018583742c24b98753925"},"properties":{"commitSha":"d83145afa8e621c1b68d5b462dd4eef29047bca0"}},{"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":"5abf5e30c6c080ac18993cd4854065b4a035ebe00ffe9be11687d02271710bde"},"properties":{"commitSha":"0809511a9f73169a81d056fa0d9a7169ef85a642"}},{"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":"546d72bdb155574c23133a070701a12545eb2c295804610f9ec0728c8c13e9bc"},"properties":{"commitSha":"445a25474b11387ed7bbfa7382eafb6269e08381"}},{"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":"c558dfc4620d1ffa9dddbdb89c330a5bf8db3f7e6ac50e454c8c9b67547742f1"},"properties":{"commitSha":"ca7f52e410ced4502d3f333813f0a67d2aacdaca"}},{"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":"6f00dc147742ae306d0cb57420418100c007622977e18803ac8e35a742c77903"},"properties":{"commitSha":"0d4db7f3d00ff974867898f5908add8b85407bd0"}},{"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":"ca0fe17066c9dd9fdff239b935e28c5f8db5293af0ff7eeae10f4a7321a55e61"},"properties":{"commitSha":"46ddd4a2f61b93e926d87e3b05eb587e92ee38bb"}},{"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":"c86eaa0d504e02c521a560dba9514f1a9c1dd63564dc2a7eb78bfc79c136c799"},"properties":{"commitSha":"7ae913566caab044ed8f651701b88f7eb85e4dae"}},{"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":"60c418e9f2a3d5749a2e37ec3f09636ef6e4ef8898e06952362aa5e36e64ca78"},"properties":{"commitSha":"12adeaefd6f831672c7c76c725803f01726d2e4e"}},{"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":"4c347c82e559958eab187411f5ebf6bbc7297acfa71a78371367ab558fa3e764"},"properties":{"commitSha":"f4172f150e9af75409e145294873f04c30f1386c"}},{"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":"54d5d884599386f0e359c3fa4d9d0f945e4ed79ab3a2d7a4a2463492cbf4fdc8"},"properties":{"commitSha":"648c1d4866beac46d33ed339f190106e1bdee1e9"}},{"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":"1a85ed518def7dc228bcd77b9b5ad2ef623b7f0cdbd59eb96f00c8bf0379fb36"},"properties":{"commitSha":"015bf70a64782a2cf88d8cb5cd11a418c3301308"}},{"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":"04d8cfb7bbcae13b2900297996713427b56f775e63ff4f366be55f7fc9fc5f71"},"properties":{"commitSha":"690bd0a88f92a7a9cc3e99f0294e1a1bc69d836e"}},{"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":"b3c8d19eab3855d54147da07129c6225266c47a5b6ca245f8ff342846127c5a5"},"properties":{"commitSha":"320bf5c7948e19d948892897742825633f9f3fcb"}},{"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":"3c5f17e9ea890fe17e8429fc95453bb4afa0c4b2f9321a5a6cff8077f792279c"},"properties":{"commitSha":"ee19db901ea5cba922a30a9e659c1d5ca90df0f9"}},{"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":"82407aa2a6b9cd7b1091dff21c5f7ad3767de0878e373de565a9bbf7c426a187"},"properties":{"commitSha":"b9911d28a2b6a24a7ae6a93e6669843940e5751b"}},{"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":"3e2da2c6af48596f45c49bdc093a70043d196c94bdb74e9ca58738357d510f7b"},"properties":{"commitSha":"509d7d881ea71ef62d7a50cb140a632362541fcd"}},{"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":"873ea5f7eda9b95bd4b60cdf40d2e58ecf075d7ddbf65582788f7ad9d94d9103"},"properties":{"commitSha":"cfaff455bee9e318462371d1c1d683a4317cd45e"}},{"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":"5123e869833045e9966813d787c671d99f7d950d46f348b3134e1d2e59b6d6b9"},"properties":{"commitSha":"2cca31e5e4943215c34118054b38a4b1e8e00c9c"}},{"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":"f8ad85a23dcdec0e9b69c3ff6c659a136fb5ed4fddea8317a8774e0b7698f3bf"},"properties":{"commitSha":"322321b41d0d7df6dbace0a6e8a4990e85ff8a4f"}},{"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":"6da53e5aec45a3181d9bab8a1384d95adc5ef6bf5aee6aa8951e74778f5845f2"},"properties":{"commitSha":"08f5215a611b6555cd385c3c7f10e33d0aa0eaec"}},{"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":"3ef5bfa65adfef56c77513a1f8f8d3a0b64481a971b51e3cc7296e8a13d4e7ce"},"properties":{"commitSha":"9185748b942b7616d78624208a904bf6fcf902f1"}},{"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":"9d9dbefed6b8719efca3e17ceda64b65dadcd98d0983db6e6dd21744a461802d"},"properties":{"commitSha":"c27899a9b346ba00318f55fc8f2c45c064193c4f"}},{"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":"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":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060publishBundledFootage\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/04_example/lib/controller.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63ff73c9cd6941c2531adefdb99a0c27715ae22050012a5dc3a6d58ec845130"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_writeManifest\u0060 is async and calls renameSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase_userlogin/lib/data/archive_controller.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4fb1758c339305bd8aa64fdfe2fc7a3472893379ef1dd6ee67689b5ff2519c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060localFile\u0060 is async and calls renameSync, deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase_userlogin/lib/data/archive_controller.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30e897f2c4fd9658d57c82189a148b571961c580e66b444a0609e748e57cfa4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060removeLocalCopy\u0060 is async and calls deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase_userlogin/lib/data/archive_controller.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf011123bab3b7ff3a8ae28cd3580af470fda0907446307fa072c320f45b765f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060importFile\u0060 is async and calls renameSync, deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/05_framebase_userlogin/lib/data/archive_controller.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58d4e849ee20ea5cac30bfed30c1fa28fbff7c65b73d34b091272f5676c945c"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha256.convert(\u2026)\u0060 from \u0060package:crypto\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/upload.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b28311d5d6b0475d1a837395068c95126b679012759d89b1013f30d87dfe55"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha256.convert(\u2026)\u0060 from \u0060package:crypto\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/upload.dart"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed6345c5ff2305cfb84eb9fda74debc82e93b165831079a18f3b22129c3776d"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha256.convert(\u2026)\u0060 from \u0060package:crypto\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tool/perf_benchmark.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9e0842891e37731f9222d9ec8e4aff922e2324b9ff2e5647ecb63783d50ad1"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Dart server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: tool/perf_benchmark.dart:139 \u2014 \u0060HttpServer.bind(\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode \u003C 200 || response.statusCode \u003E 299\u0060 appears character-identically in 2 files \u2014 lib/src/http.dart, lib/src/upload.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/src/http.dart"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"442f7029721640cc6ac989fab3badcad753453896607bbfd7e6ac5c1baea2480"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri == null || !uri.hasScheme || uri.host.isEmpty\u0060 appears character-identically in 2 files \u2014 lib/src/collection_uploads.dart, lib/src/config.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/collection_uploads.dart"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcec9100818df2eaef820a2a879d1446030fd2cf259477e32d01684730e28e9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060objRedactServerDetails\u0060 is public and takes \u0060Object ? value\u0060 from its caller, and it calls itself at line 32 (\u0060objRedactServerDetails\u0060) with a piece of \u0060value\u0060 (and at line 37) \u2014 and nowhere in \u0060objRedactServerDetails\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060objRedactServerDetails\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94b06722b722d7c4c7c243146ae5ff0ab4b63448ddb2b72a89917be76dfb1ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060on Object\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":"lib/src/http.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b4d987a52d5178f4363efea469ae2841c5dd4416e570798427c7dbc9647dbb"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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":44,"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."]}]}