{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"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":"_LocalFavoriteScreenState._buildMenuButton (cyclomatic 26): _LocalFavoriteScreenState._buildMenuButton has cyclomatic complexity 26 (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/screens/LocalFavoriteScreen.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9249dc6fe9ca3f872b8f3b3f7f9f09265b8a9596b8b638566b313a8dad1a496"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 25): main.main has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/cmd/upload_asset/main.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"13def5492b6d13425db3f9c2d82884a151340795bde2af1e499178a59370361e"}},{"ruleId":"D1","level":"warning","message":{"text":"_ComicInfoCard.build (cyclomatic 23): _ComicInfoCard.build has cyclomatic complexity 23 (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/screens/components/ComicInfoCard.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"241a79e700d921a05233fe46ef787ddd35822b782c38d7d0a829d2ce434536e0"}},{"ruleId":"D1","level":"warning","message":{"text":"_ComicListState._buildGridImageWarp (cyclomatic 23): _ComicListState._buildGridImageWarp has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_ComicListState._buildGridImageTitleWarp) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf76c160d8f7022fd6a9ee793599a823606434e2a8f6d5e431237c08dfb6ef0"}},{"ruleId":"D1","level":"warning","message":{"text":"_ComicListState._buildGridImageTitleWarp (cyclomatic 23): _ComicListState._buildGridImageTitleWarp has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (_ComicListState._buildGridImageWarp) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"eace3101a52a67bacaa331da276883a14b81e25694be01d4aede184b867fcda1"}},{"ruleId":"D1","level":"warning","message":{"text":"_RegisterScreenState.buildScreen (cyclomatic 22): _RegisterScreenState.buildScreen has cyclomatic complexity 22 (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/screens/RegisterScreen.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"81644fb97295ee039783d9f03e0ad106ecef9a81a839429d0521455d80b46f4f"}},{"ruleId":"D1","level":"warning","message":{"text":"_ImageReaderContentState._onPageControl (cyclomatic 22): _ImageReaderContentState._onPageControl has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8e6dbcd1ae2a3e9cf18d63a5380b16d35f3eb6510ca2f63c9d8fe674499e0d"}},{"ruleId":"D1","level":"warning","message":{"text":"_ComicListState._buildInfoCardList (cyclomatic 19): _ComicListState._buildInfoCardList has cyclomatic complexity 19 (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/screens/components/ComicList.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79776a4276d82015488a4641046ae5ae0573a3a9b27ccf64248ee1914124820"}},{"ruleId":"D1","level":"warning","message":{"text":"_TwoPageGalleryReaderState.initState (cyclomatic 19): _TwoPageGalleryReaderState.initState has cyclomatic complexity 19 (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/screens/components/ImageReader.dart"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aa205ca74306bc02df6f51b1833cb04ac001b98e56420b10a59d280e16d543"}},{"ruleId":"D1","level":"warning","message":{"text":"_GestureZoomBoxState._onScaleEnd (cyclomatic 19): _GestureZoomBoxState._onScaleEnd has cyclomatic complexity 19 (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/screens/components/gesture_zoom_box.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d342394bffe216115aea251110470864cbceead22c19972a0595d227c713d42"}},{"ruleId":"D1","level":"warning","message":{"text":"_InitScreenState._init (cyclomatic 16): _InitScreenState._init has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/InitScreen.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43f1d5274bf0e3867951e9a23a8ccfe0c7b17789619bc55f1a16a7ab0209bf6"}},{"ruleId":"D1","level":"warning","message":{"text":"_ComicInfoCard._showFolderSelector (cyclomatic 16): _ComicInfoCard._showFolderSelector 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/screens/components/ComicInfoCard.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a91859a4abee3b17f78e09c754d1a24356666e2910837d36f8ec7d0c73aa9f"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImageReaderContentState._onPageControl (cognitive 68): _ImageReaderContentState._onPageControl has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (61 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0663feee6f16ae22af617b845160165fcf912ca7ab45488d91855a3514b3487"}},{"ruleId":"D2","level":"warning","message":{"text":"_ComicListState._buildGridImageWarp (cognitive 46): _ComicListState._buildGridImageWarp has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 3 (7 pts), ternaries 2 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 23). 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. This shape REPEATS in the file: one other method here (_ComicListState._buildGridImageTitleWarp) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbaa411c96320a15f82ad4e0edce764bd842e3935c5765b3282892fdeaf21b8"}},{"ruleId":"D2","level":"warning","message":{"text":"_ComicListState._buildGridImageTitleWarp (cognitive 46): _ComicListState._buildGridImageTitleWarp has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 3 (7 pts), ternaries 2 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 23). 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. This shape REPEATS in the file: one other method here (_ComicListState._buildGridImageWarp) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"e078d7cdd19d0211f60707cc99d10e65e573e78b80303a2137f3595d184f2c23"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecompileBinaries.run (cognitive 29): PrecompileBinaries.run has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (8 pts), error handling 1 (4 pts), ternaries 1 (nesting depth added 17). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/precompile_binaries.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3da5c60be82f94025c26eaf7e514940b6f11f3a1759602790ba9f9a1d8f4ad"}},{"ruleId":"D2","level":"warning","message":{"text":"_ComicInfoCard.build (cognitive 28): _ComicInfoCard.build has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 15 (19 pts), if/else 6 (7 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicInfoCard.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57321e5657a1a9d01629a92fd7a097f108bcfffba7c80e23c942d6f4f54f333"}},{"ruleId":"D2","level":"warning","message":{"text":"_ComicListState._buildInfoCardList (cognitive 27): _ComicListState._buildInfoCardList has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (4 pts), boolean chains 3, ternaries 2 (3 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff708dd5e3a404bbd8add10424f1a5b515e0ee00716d2dd568393adf5c2eae95"}},{"ruleId":"D2","level":"warning","message":{"text":"_GestureZoomBoxState._onScaleEnd (cognitive 27): _GestureZoomBoxState._onScaleEnd has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (24 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/gesture_zoom_box.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7fc1b14dda3cdb7e6a5b848cc6267d57b635d30a140388676580f6b3c3ec26"}},{"ruleId":"D2","level":"warning","message":{"text":"_LocalFavoriteScreenState._loadComics (cognitive 25): _LocalFavoriteScreenState._loadComics has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 3 (8 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 14). 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/screens/LocalFavoriteScreen.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"218ad6fb09c006b10eece291b6f43c4ea80171551e2feed9a4c706c3246f8bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"_ComicInfoCard._showFolderSelector (cognitive 24): _ComicInfoCard._showFolderSelector has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 3 (6 pts), boolean chains 4, error handling 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/screens/components/ComicInfoCard.dart"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4edb62023774d5340b1ad922c4b4762076042312cc806e62ccc5ca4bcd1c78"}},{"ruleId":"D2","level":"warning","message":{"text":"_TwoPageGalleryReaderState.initState (cognitive 24): _TwoPageGalleryReaderState.initState has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, loops 3, match/switch 1 (2 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93ca6c4b852d3c1edd30891781b13810fd2e69c86b96544d7176d12c55da77e"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImageReaderContentState._commonWebToonScrollForward (cognitive 23): _ImageReaderContentState._commonWebToonScrollForward has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a97ae3fec8083fa8ff0a947b474dd3ab6e45c75124ca7267ae2f759ebc4d89"}},{"ruleId":"D2","level":"warning","message":{"text":"VerifyBinaries.run (cognitive 22): VerifyBinaries.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (5 pts) (nesting depth added 14). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/verify_binaries.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"27543508f7dca16f8717b23129cd307df7be484b2028847fce8a863602a59ece"}},{"ruleId":"D2","level":"warning","message":{"text":"_LocalFavoriteScreenState._buildMenuButton (cognitive 21): _LocalFavoriteScreenState._buildMenuButton has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7, ternaries 3 (6 pts), boolean chains 5, loops 1 (2 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/LocalFavoriteScreen.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba279eb8b642ac37848c3ca2f7202fc776e61b7fadd01e5672f8659fe050604e"}},{"ruleId":"D2","level":"warning","message":{"text":"_RegisterScreenState.buildScreen (cognitive 21): _RegisterScreenState.buildScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, ternaries 9. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/RegisterScreen.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c33b16bf0bd74f30d8a08591cd78d44195144a26dcdeea4557949155953793f"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebToonZoomReaderState._buildList (cognitive 21): _WebToonZoomReaderState._buildList has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 3, boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15729b0062104a3e1c76d037462b6ff97550355c3ee05f13ae5c0280654d922"}},{"ruleId":"D2","level":"warning","message":{"text":"_ListViewReaderState._buildList (cognitive 21): _ListViewReaderState._buildList has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2, boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3cc5a8732eb09531d0396a00af75e4b9b136e28ca14864f855cf9d6efb049f"}},{"ruleId":"D2","level":"warning","message":{"text":"CargokitCrateOptions.parse (cognitive 21): CargokitCrateOptions.parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts) (nesting depth added 12). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/options.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce7b0d1158a05710adee065aa493186584913855b0af539d20afe15822833fb"}},{"ruleId":"D2","level":"warning","message":{"text":"_InitScreenState._init (cognitive 20): _InitScreenState._init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/InitScreen.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f0986c14fb4f03467ffb028806f2ba6c631a01ae86d496a9f7d2f2457bea6e"}},{"ruleId":"D2","level":"warning","message":{"text":"_ViewLogsScreenState.build (cognitive 20): _ViewLogsScreenState.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 3 (5 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ViewLogsScreen.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ff26479b2f4bebf3f40bf07fa6704da7a16bd18df8d09cddafa988c35b87a6"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadImportScreenState._fileImportButton (cognitive 19): _DownloadImportScreenState._fileImportButton has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadImportScreen.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dabe7ffd543421fd5e64c72c85fd7da1e7344286df44fdc855dd55541c0aee4"}},{"ruleId":"D2","level":"warning","message":{"text":"_WebToonReaderState._buildList (cognitive 19): _WebToonReaderState._buildList has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dec481e01c0b89817760b2c997cc27cff6ad1d155ed1d2b9534f47316d7d9d"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 19): main.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17 (18 pts), match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/cmd/upload_asset/main.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadaa76977da7934f135528ddf05489f502f3fdc8fac147ef61841a07299a1e2"}},{"ruleId":"D2","level":"warning","message":{"text":"_ProScreenState.patPro (cognitive 17): _ProScreenState.patPro has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ProScreen.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f23a1d19cd6b4fb8246f2c0a0ec818dd7f295417b1cc4fc5999cc3c0202782"}},{"ruleId":"D2","level":"warning","message":{"text":"_GalleryReaderState._onLongPress (cognitive 17): _GalleryReaderState._onLongPress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (6 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/screens/components/ImageReader.dart"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b548bbd434b863c11a58e317f4239c1c619ffc45da9dcf45b52c7e6dd44674a"}},{"ruleId":"D2","level":"warning","message":{"text":"_TwoPageGalleryReaderState._onLongPress (cognitive 17): _TwoPageGalleryReaderState._onLongPress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3a6f38261754696326024cf1700fa13778c09a38633f2955219e8799195813"}},{"ruleId":"D2","level":"warning","message":{"text":"CargoBuildOptions.parse (cognitive 17): CargoBuildOptions.parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (nesting depth added 9). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/options.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e9dc4e513cb705e83dcf6a7b3464ce4f9fd971d94482c7d46185a780927e34"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadListScreenState._selectingMoveButton (cognitive 16): _DownloadListScreenState._selectingMoveButton has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadListScreen.dart"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"6620579da872cc0519c907f71dae43a3239bcfa114e21357178e550a6f599d42"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImageReaderContentState._commonWebToonScrollBackward (cognitive 16): _ImageReaderContentState._commonWebToonScrollBackward has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (3 pts), boolean chains 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/screens/components/ImageReader.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6265b0a8970755dadd9cef2bdb654a563a69d920f3aa8ffd6d81a108641a7d76"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 16): main.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 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":"ci/cmd/check_release/main.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"07278e9992a1c77dbaa196f3f771859aa9f3370e12dd95bc393a7d09c5a739ee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Method: TooManyMethods \u2014 174 methods. The bar is 30 methods; this is 144 over it, 5.80\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/basic/Method.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0bda3ba0f369cfb30cba24f688420282cc778274be794af205d5891cd20f8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ImageReader.dart: FileTooLong \u2014 2028 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1528 over it, 4.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/screens/components/ImageReader.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80f7a1eac396f97ec957bbb65c5167526ae596322b6e31e672dd46bffa93a50"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ComicListState._buildGridImageTitleWarp: MethodTooLong \u2014 _buildGridImageTitleWarp runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\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/screens/components/ComicList.dart"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae2b5ec6dbf42babcd72065fd267b2b5b772daa4024b0c323922b4b31775369"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ComicInfoCard.build: MethodTooLong \u2014 build runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\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/screens/components/ComicInfoCard.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c016db53e577dc1eefe7232a7ed5d8cc646d2b3f06a34419c8889424ee61c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsScreenState.buildScreen: MethodTooLong \u2014 buildScreen runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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/screens/SettingsScreen.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"582a6ff1f8601e4bb3e7fa61b781a40cae3ecd170e6117959f92df38af7eb93d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RegisterScreenState.buildScreen: MethodTooLong \u2014 buildScreen runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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/screens/RegisterScreen.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5973109e1e7d83abf08346f47a017f539c195b29ef76e39e908425cfba2b1810"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ComicListState._buildGridImageWarp: MethodTooLong \u2014 _buildGridImageWarp runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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/screens/components/ComicList.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"776698a57e63dcef2e04f1860e82d1d1c486b2e06dc60914e61966203e034c37"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _InitScreenState._init: MethodTooLong \u2014 _init runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/InitScreen.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca0cb42a49aa4d76ba76caaa23ea6ab41dbd3f9e895459c4b40e7e2fd60c884"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingPanelState.build: MethodTooLong \u2014 build runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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/screens/components/ImageReader.dart"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7777299c81f16f9652c867ab80296e2a086737f9f65b8b487070f6e02f3239"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ComicListState: ClassTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 152 over it, 1.38\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/screens/components/ComicList.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"510853a5320508354ae97e17bc1435b348ee1f312335e9b1d6f2d6da978b8518"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ImageReaderContentState: ClassTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 123 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccff4321f736c4860446faec0d07f35536e51eb4edd67b24f6cd29036129094"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadInfoCard.build: MethodTooLong \u2014 build 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/screens/components/DownloadInfoCard.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ea26eb4cc89b8760402ca176f36e54a9d5ce710152d879b80a7518bca49a73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ComicListState._buildInfoCardList: MethodTooLong \u2014 _buildInfoCardList runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ff9e38e165aab00a5c7fab53fe64adcb0f2e9e8deb9ff693a67ed455a4047b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PkzComicInfoScreenState.build: MethodTooLong \u2014 build runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/screens/PkzComicInfoScreen.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77c539d9017a52129182d57e9b9cb3f9fbbc54c7a961ce7bd5cbd126422087c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ComicCommentItemState.build: MethodTooLong \u2014 build runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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/screens/components/CommentItem.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c0cdc24ff3b99b38f2d8e65d11501efedb6e70603a8dc8fcbb88fd100ed8dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Method: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 174 methods. The bar is 400 significant lines; this is 83 over it, 1.21\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/basic/Method.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f098cbeced814b8436bbcd94b56229e15c362d93a4123287f6e8f78d03f1e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DownloadExportToFileScreenState: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 75 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportToFileScreen.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"accc86e2e388a94c7b78cf92ba268ccd8663d08311a49e864fd56b6415f8c859"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ComicList.dart: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: _ComicListState (61-830). The bar is 500 significant lines; this is 93 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb88e082674543d8c5e8a9890c4424901ab8e0eca9d9aed35c066ad8e8444c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ViewLogsScreenState.build: MethodTooLong \u2014 build runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ViewLogsScreen.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f387fff6c93a73c960f2dc0418ff67609f2ff46c1f7c107b4e0896745213ce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ComicInfoScreenState.buildScreen: MethodTooLong \u2014 buildScreen runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicInfoScreen.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6157484a373493a0c4c4d1a81d7ac579701d3067a13ada74be7077ca33544ea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _LocalFavoriteScreenState: ClassTooLong \u2014 455 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 55 over it, 1.14\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/screens/LocalFavoriteScreen.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"701de20de6e4989d20f490caa11e5003b40bff104ce05e5e7ebff4a659f0ba65"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _ImageReaderContentState: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fc005a9a94d2c6c9995bd6924cab3c9cb7fbc0c5202ad4b3bb663c36bad8bd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ComicInfoCard: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 41 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicInfoCard.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aff40f5798796a1ae31f7fadbd126e4f1658fd7b4bdc8e77f41c87f0dd9ec53"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ComicInfoCard.dart: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: _ComicInfoCard (47-683). The bar is 500 significant lines; this is 46 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicInfoCard.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee47a2ebd672fbb73fae7c03f0caf67b84aca2e463ea04a6cf032b5c33f7a0a4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _DownloadListScreenState: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 35 over it, 1.09\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/screens/DownloadListScreen.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0145c039f154cdb63f90c59d85c4c4e84651fde09315cf66ad799ebeabee7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GameInfoScreenState.buildScreen: MethodTooLong \u2014 buildScreen runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/screens/GameInfoScreen.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf39bf17af548e92c8b6ebb90db23d2bb01a39f622f620e73acb7a1ccfeb02fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: basic/Method.dart: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Method (23-884). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/Method.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48609f5c26012ab8677bd5a717365a03d01512c6c4f14f9ad691f845840ef54"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/DownloadExportToFileScreen.dart: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: _DownloadExportToFileScreenState (34-712). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportToFileScreen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a87dcb57d41c5234d4e74c4d9fe3424f5fd8e453b050bbc9f5988adc64583c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 41 shared lines): lib/screens/DownloadExportToFileScreen.dart:152-202 | lib/screens/DownloadExportToFileScreen.dart:204-254 | lib/screens/DownloadExportToFileScreen.dart:256-310 | lib/screens/DownloadExportToFileScreen.dart:312-364 | lib/screens/DownloadExportToFileScreen.dart:366-418 | lib/screens/DownloadExportToFileScreen.dart:420-472 | lib/screens/DownloadExportToFileScreen.dart:474-526 | lib/screens/DownloadExportToFileScreen.dart:528-582 | lib/screens/DownloadExportToFileScreen.dart:584-638 | lib/screens/DownloadExportToFileScreen.dart:640-694 \u2014 These 10 members are variants of one another: a block of 41 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportToFileScreen.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e112e2cdfbcd2eb1d9eac97301de17697d46475740e9195b23d578409c76619d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 13 shared lines): lib/screens/components/ImageReader.dart:1383-1405 | lib/screens/components/ImageReader.dart:1806-1828 | lib/screens/components/ImageReader.dart:2083-2100 | lib/screens/components/ImageReader.dart:2588-2717 \u2014 These 4 members are variants of one another: a block of 13 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afd28e9024fe3fc8528e678f8f9e0947b127c4572334cef2807cf1a3d8e9b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 85 shared lines): lib/screens/components/ComicList.dart:128-307 | lib/screens/components/ComicList.dart:309-538 | lib/screens/components/ComicList.dart:540-829 \u2014 These 3 members are variants of one another: a block of 85 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3338efe8601536b91eb85edae544810ada638735d1fcfb0bc1cd2dc5cb87341b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/screens/DownloadImportScreen.dart:93-175 | lib/screens/DownloadImportScreen.dart:177-219 \u2014 These two members are one piece of code written twice and then edited apart: 31 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/screens/DownloadImportScreen.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b1f3bd50e23f2c06b6f0de1207dfe0896ec7a6e655365ade56adefeb2fcd4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/screens/CategoriesHiddenScreen.dart:31-64 | lib/screens/CategoriesSortScreen.dart:31-64 \u2014 These two members are one piece of code written twice and then edited apart: 31 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/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b3be898c2ab52f709fd9aae26463b59a9f07395726a587e6809cf2e725468e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): lib/screens/DownloadExportingGroupScreen.dart:201-229 | lib/screens/DownloadExportingGroupScreen.dart:231-263 | lib/screens/DownloadExportingGroupScreen.dart:265-297 | lib/screens/DownloadExportingGroupScreen.dart:299-331 | lib/screens/DownloadExportingGroupScreen.dart:333-365 | lib/screens/DownloadExportingGroupScreen.dart:367-399 | lib/screens/DownloadExportingGroupScreen.dart:401-433 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportingGroupScreen.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f401040f364af82a54d758ae806b1526a1c3b92d76d4b025ee2c286efe2d616"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/basic/config/Themes.dart:218-255 | lib/basic/config/Themes.dart:268-306 | lib/basic/config/Themes.dart:319-366 | lib/basic/config/Themes.dart:448-490 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/config/Themes.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b343dd883836c8ffb8b94d8aafcebfa6d82c24b3a9037c4b827d07f5c911d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/CommentScreen.dart:160-184 | lib/screens/RankingsScreen.dart:142-215 | lib/screens/components/CommentItem.dart:41-206 | lib/screens/components/CommentList.dart:103-146 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CommentScreen.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba806cb37e1dc714957342a8752aeab6b3feae07e5c03a7578dbd88c81674e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/LocalFavoriteScreen.dart:455-517 | lib/screens/LocalFavoriteScreen.dart:519-564 | lib/screens/LocalFavoriteScreen.dart:594-667 | lib/screens/LocalFavoriteScreen.dart:669-715 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/LocalFavoriteScreen.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"23319005e80d6ade5037d425de5bd83cac33ddf96237e82701639fb255cf922a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/screens/ViewLogsScreen.dart:422-489 | lib/screens/components/ComicInfoCard.dart:92-352 | lib/screens/components/DownloadInfoCard.dart:26-185 | lib/screens/components/PkzComicInfoCard.dart:35-152 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ViewLogsScreen.dart"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2ffb9d31ea55efbb101e043cb603598298fd547f9e7628b31b0e10cd4d379d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (112 corresponding lines): lib/screens/components/ImageReader.dart:1929-2040 | lib/screens/components/ImageReader.dart:2178-2296 \u2014 These two members are one piece of code written twice and then edited apart: 112 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/screens/components/ImageReader.dart"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d96b76859f342ddf0b6ce2c2803653d372944a343580101d31f5e102f59eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): lib/screens/components/ComicPager.dart:138-259 | lib/screens/components/ComicPager.dart:388-487 \u2014 These two members are one piece of code written twice and then edited apart: 100 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/screens/components/ComicPager.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8680a5195486f673732ae38c86bcd4bb4beefbe9b02526072ce4d95d8ad58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 59\u002B corresponding lines): lib/screens/ComicReaderScreen.dart:163-229 | lib/screens/DownloadReaderScreen.dart:153-211 | lib/screens/PkzReaderScreen.dart:172-238 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 59 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicReaderScreen.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e835710cefef047278bf508519435dde736eef0d8a19188deb5a68ae0ab82d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): lib/screens/CategoriesHiddenScreen.dart:139-200 | lib/screens/CategoriesSortScreen.dart:150-225 \u2014 These two members are one piece of code written twice and then edited apart: 62 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/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02888a623eb5cb904216e92e78e23743da05676380ac0d64d2435808d8a35d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): lib/screens/DownloadExportToSocketScreen.dart:69-122 | lib/screens/WebServerScreen.dart:36-89 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportToSocketScreen.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9247b029fe345d901ded4ba57df8b9b75affdd42508a5361864d0f689dab4bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): lib/screens/DownloadListScreen.dart:379-432 | lib/screens/DownloadListScreen.dart:469-519 \u2014 These two members are one piece of code written twice and then edited apart: 51 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/screens/DownloadListScreen.dart"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70a0d07617d8dd94080e00d3985c9720ba2caa73feb9b6a125636d6f36773fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/screens/components/ImageReader.dart:313-348 | lib/screens/components/ImageReader.dart:350-379 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c51c41b2eea253165747685fae80e37430ea5e207bb3ece10b3c5df19e4e835"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/screens/ComicInfoScreen.dart:294-337 | lib/screens/ComicInfoScreen.dart:339-376 \u2014 These two members are one piece of code written twice and then edited apart: 38 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/screens/ComicInfoScreen.dart"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"29af2f2f5d0774ef8e83a2b66e2298564b1a6d60c8bc33fafc3c8b2b42a7406b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): lib/screens/components/ImageReader.dart:1615-1637 | lib/screens/components/ImageReader.dart:2042-2066 | lib/screens/components/ImageReader.dart:2298-2319 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd76d755beaac8c2abd7e13c146e894e0542fa2198e089b2cbb342e02c70e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/screens/SearchAuthorScreen.dart:92-116 | lib/screens/SearchScreen.dart:72-96 \u2014 These two members are one piece of code written twice and then edited apart: 25 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/screens/SearchAuthorScreen.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29abc1a1cd2eaa6f1d63f1fdb7a66742af99bbd1586a2bbcd6594c20c2dd4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/screens/components/ImageReader.dart:659-682 | lib/screens/components/ImageReader.dart:684-707 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc1a925df059316f331ebd7fc9ba6a73dbd887521cfbd810f313bafae8b408b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/screens/components/ImageReader.dart:2481-2495 | lib/screens/components/ImageReader.dart:2780-2796 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2c20d625071c19c6c04e42faeb31b93fd71ed78c3d1b2558243f72c349dbf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/screens/ComicReaderScreen.dart:83-101 | lib/screens/DownloadReaderScreen.dart:83-101 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicReaderScreen.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc21ddae7f567be3bf751f5aca2fbfe2e4d62ea4327e8f0a20ae64397b9636fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): lib/screens/CommentScreen.dart:186-205 | lib/screens/CommentScreen.dart:207-226 | lib/screens/components/CommentList.dart:148-166 | lib/screens/components/CommentList.dart:168-186 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CommentScreen.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2933f2fa627f78a949e218ee9e1e70f4b5d538f3b8b317ac41f46e0e372e44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/screens/SearchAuthorScreen.dart:118-139 | lib/screens/SearchScreen.dart:98-115 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/SearchAuthorScreen.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd564876bded4076e44947fef514348c11d872af7829216476b8616b587b6744"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): lib/screens/DownloadExportingGroupScreen.dart:435-452 | lib/screens/DownloadOnlyImportScreen.dart:97-114 | lib/screens/components/DownloadComicsScreen.dart:44-61 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportingGroupScreen.dart"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56f8f7a9e80a3ca423a5faa7f9934898895c6daea2720245aa748b06706ab39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/screens/components/ImageReader.dart:2403-2417 | lib/screens/components/ImageReader.dart:2725-2739 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d7fd5313e23ad9befc9d599d62e9b1988cfa8b4104a6e9d1a1cf4ac1fef578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/screens/ViewLogsScreen.dart:79-92 | lib/screens/ViewLogsScreen.dart:94-108 \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":"lib/screens/ViewLogsScreen.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5adc1b1088c741b95d08ef56ce167c194e5041d23fad1050c77765c890bcf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/basic/Method.dart:156-174 | lib/basic/Method.dart:633-651 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/Method.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd81b24f4c2b8d3a75a688431965fa834f9bbf97617af22106659179632eeab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/screens/ComicReaderScreen.dart:103-115 | lib/screens/DownloadReaderScreen.dart:103-117 | lib/screens/PkzReaderScreen.dart:143-157 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicReaderScreen.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af96286ab332e5b35115c1a41cedeebedac1d04834a6f6c945bcc58a653a4d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/screens/AccountScreen.dart:37-46 | lib/screens/AppScreen.dart:24-33 \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":"lib/screens/AccountScreen.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"063044ef608f89294858f6867c557dad30eff4fb8be0f6b2f8f1bd77720454d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/screens/ComicSubscribesScreen.dart:93-106 | lib/screens/RandomComicsScreen.dart:32-43 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicSubscribesScreen.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2143044504b33accc2b9144083d117af9c164412036ae976926ffd81a2778a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/screens/CategoriesHiddenScreen.dart:269-277 | lib/screens/CategoriesSortScreen.dart:294-302 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"430eed640d9336bd4be2edd3e393448730225c8dcbb42ee8527a3eb6506f9170"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/screens/AccessKeyReplaceScreen.dart:65-75 | lib/screens/ForgotPasswordScreen.dart:29-37 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/AccessKeyReplaceScreen.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86b21cb75baa16b61664370cdf590e0e6efe84d2d9d224d706e7d3c14179e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/screens/CleanScreen.dart:36-42 | lib/screens/DownloadOnlyImportScreen.dart:50-56 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CleanScreen.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6688c61ac88739aeb45318cc9e0d0e5bf3e0b0fdb657ecdb3dfe18380ecee721"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/screens/ComicInfoScreen.dart:95-102 | lib/screens/PkzComicInfoScreen.dart:36-43 \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/screens/ComicInfoScreen.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f371af461c8b9f4d377856f097fd36f579d3721fbc52a1d947ffe900bb9c6abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72\u201375 lines \u00D7 3): lib/screens/components/ImageReader.dart:1506-1580 | lib/screens/components/ImageReader.dart:1929-2000 | lib/screens/components/ImageReader.dart:2178-2252 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ImageReader.dart:1506\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8eee306d8e4df53755ca261338c00e6566926cc59f5897d38df8006d25d99f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): lib/screens/components/ComicList.dart:478-538 | lib/screens/components/ComicList.dart:769-829 \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/screens/components/ComicList.dart:478\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b139de800fb7c7e8fb883627f93588e06e0d21d11e2a5cc2eab3d08a1d38e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): lib/basic/config/Address.dart:195-240 | lib/basic/config/ImageAddress.dart:98-143 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/config/Address.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d849e1a8a8c326497f82ba80add95437fe56d4d23fee2a664ca83154d7f82c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): lib/screens/CategoriesHiddenScreen.dart:202-240 | lib/screens/CategoriesSortScreen.dart:227-265 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesHiddenScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 210 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"be994e3059f636be3796179ae9f7b116f0ae57648f0bde35dfde2b3d0143377b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): lib/screens/components/ImageReader.dart:2538-2575 | lib/screens/components/ImageReader.dart:2798-2835 \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/screens/components/ImageReader.dart"},"region":{"startLine":2538}}}],"partialFingerprints":{"codehealthFindingId/v1":"655943a7f16f7ef5f04664e065ac41f7d4aaeb3b56ca191f869dc524d2fa41f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): lib/screens/components/ComicList.dart:633-668 | lib/screens/components/ComicList.dart:717-752 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51f84a50293648e02fbd93278a44340aac5751db30737a4f44741c0ca6aeade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): lib/screens/components/ComicPager.dart:170-203 | lib/screens/components/ComicPager.dart:423-457 \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/screens/components/ComicPager.dart:170\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/components/ComicPager.dart:421\u0060 calls \u0060Row\u0060 and \u0060lib/screens/components/ComicPager.dart:169\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicPager.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5bfb8dc337ff574f5e90a308a9fecb0b53fb79f5a5b8c3edeb427d24a2803f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): lib/screens/components/ContentError.dart:61-95 | lib/screens/components/ContentError.dart:98-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ContentError.dart:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ContentError.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"539b70660911ebe00d45c690c7777f22f563263db0cf3cec051e8bd215959fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): lib/screens/components/ComicList.dart:264-294 | lib/screens/components/ComicList.dart:462-493 | lib/screens/components/ComicList.dart:753-784 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ComicList.dart:264\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce7ac9a9300066d5c78323818835509cd55b6106d37cb1d643d322f72bc09e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/screens/CategoriesHiddenScreen.dart:31-60 | lib/screens/CategoriesSortScreen.dart:31-60 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesHiddenScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 210 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/CategoriesHiddenScreen.dart:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b007d765cdec70a1fd7b7830d5c9b327b5701d470da42ccc41d243b361a960f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/screens/CategoriesHiddenScreen.dart:139-168 | lib/screens/CategoriesSortScreen.dart:150-179 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesHiddenScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 210 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/CategoriesHiddenScreen.dart:139\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/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0338d353bca68b52006634cdfed984a54b6c40a97b97ac4a4f5c68bc74f0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/screens/LocalFavoriteScreen.dart:469-498 | lib/screens/components/ComicInfoCard.dart:600-629 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/LocalFavoriteScreen.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"7573950170232f88246f71fa21808f905b88b13bf4ceac1e3fe81461fff0d947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lib/screens/PkzComicInfoScreen.dart:130-159 | lib/screens/components/ComicTagsCard.dart:64-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/PkzComicInfoScreen.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca6f27ddbee93384446ca1c86a035cab21b54755a83265e7b062b4e26b89a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): lib/screens/components/ComicList.dart:161-187 | lib/screens/components/ComicList.dart:320-346 | lib/screens/components/ComicList.dart:553-579 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2215f8e8e7a7b1d2ea98f25d0c0a46f8f845842a13c5ced478a5664cf1d4ee53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/screens/components/ContentMessage.dart:33-59 | lib/screens/components/ContentMessage.dart:70-96 \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/screens/components/ContentMessage.dart:33\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/components/ContentMessage.dart:97\u0060 calls \u0060Container\u0060 and \u0060lib/screens/components/ContentMessage.dart:60\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ContentMessage.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2d1f8d64ff77a11540934028404569322008c7f9b86edd20aa71e3e44bca2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/screens/CategoriesHiddenScreen.dart:242-267 | lib/screens/CategoriesSortScreen.dart:267-292 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesHiddenScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 210 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cda466acf098c8f2391f785324e9287647bb6640453b6c577744ea546611be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 10): lib/screens/DownloadExportToFileScreen.dart:155-179 | lib/screens/DownloadExportToFileScreen.dart:207-231 | lib/screens/DownloadExportToFileScreen.dart:263-287 | lib/screens/DownloadExportToFileScreen.dart:319-343 | lib/screens/DownloadExportToFileScreen.dart:373-397 | lib/screens/DownloadExportToFileScreen.dart:427-451 | lib/screens/DownloadExportToFileScreen.dart:481-505 | lib/screens/DownloadExportToFileScreen.dart:535-559 | lib/screens/DownloadExportToFileScreen.dart:591-615 | lib/screens/DownloadExportToFileScreen.dart:647-671 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/DownloadExportToFileScreen.dart:155\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/screens/DownloadExportToFileScreen.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"79250cd8e0e35c0fc0f65688ee727288f032afb9211bd392b6c05c276054a9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): lib/screens/ComicReaderScreen.dart:168-192 | lib/screens/DownloadReaderScreen.dart:157-181 | lib/screens/PkzReaderScreen.dart:176-200 \u2014 before extracting anything, compare \u0060lib/screens/ComicReaderScreen.dart\u0060 and \u0060lib/screens/DownloadReaderScreen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/ComicReaderScreen.dart:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicReaderScreen.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a13c838c27fbf44fe14a79ce3621be0f7be40beb8caebcbdd09c4677ee82972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/screens/components/ComicList.dart:136-160 | lib/screens/components/ComicList.dart:189-213 \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/screens/components/ComicList.dart:136\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":"lib/screens/components/ComicList.dart"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3e33234128f4451357365f86131d126d8ee716e4390a77eadd45393e714420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/LocalFavoriteScreen.dart:522-544 | lib/screens/components/ComicInfoCard.dart:432-454 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/LocalFavoriteScreen.dart"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9402f6a478906bc799b64ec8b4eaef4e75d6ef4facfd298b1ad82cd2a6050a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/SearchAuthorScreen.dart:150-172 | lib/screens/SearchScreen.dart:126-148 \u2014 before extracting anything, compare \u0060lib/screens/SearchAuthorScreen.dart\u0060 and \u0060lib/screens/SearchScreen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. 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/screens/SearchAuthorScreen.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eeaf1c6ccbbed7400296c2b505dcf470cb92e7de844297f2441425ba0b1733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lib/screens/components/ComicPager.dart:139-161 | lib/screens/components/ComicPager.dart:389-411 \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/screens/components/ComicPager.dart:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicPager.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c60b58d3ca96b82881928876ac75ea1db059fcf78af445688acf79e64e8034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/CategoriesHiddenScreen.dart:116-137 | lib/screens/CategoriesSortScreen.dart:127-148 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesHiddenScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 210 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/CategoriesHiddenScreen.dart:116\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e27eb8317069dd1f511a74ba6acec2bf8b75c09a4342fe45d8d4e3fdac706e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/screens/CommentScreen.dart:163-184 | lib/screens/components/CommentList.dart:125-146 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/CommentScreen.dart:163\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CommentScreen.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbc37fee5d59be32ab74754d5462844d2befa90fe39f2f66855edbfefd156bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/screens/components/ComicList.dart:430-450 | lib/screens/components/ComicList.dart:692-712 \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/screens/components/ComicList.dart:430\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/components/ComicList.dart:691\u0060 calls \u0060only\u0060 and \u0060lib/screens/components/ComicList.dart:429\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdae0b1f83d970c444dce5421e5a844c2d9f09ef466ebdf06ad931151afe329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/DownloadImportScreen.dart:189-208 | lib/screens/DownloadImportScreen.dart:238-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/DownloadImportScreen.dart:189\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadImportScreen.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44972e03e2c44d32d755a0730bb0c31437e6154241ef3a20affbdd4ba157120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/components/ComicList.dart:354-373 | lib/screens/components/ComicList.dart:379-398 \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/screens/components/ComicList.dart:354\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d570574764dfbeea825524917b3e5e78dfcc2c576ce012c912014a4b767ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/components/ComicList.dart:407-426 | lib/screens/components/ComicList.dart:668-687 \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/screens/components/ComicList.dart:407\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefac3ef54d0dce68db159a2fe3ce1a7bfc0f861498cab99271319a0994df9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/screens/components/ComicList.dart:586-605 | lib/screens/components/ComicList.dart:611-630 \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/screens/components/ComicList.dart:586\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"27588d5a24f8b7c378d3b8dca9b5b0926d77079bf8563f7e3221d1bf0280c6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): lib/screens/components/ImageReader.dart:1621-1637 | lib/screens/components/ImageReader.dart:2048-2066 | lib/screens/components/ImageReader.dart:2303-2319 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ImageReader.dart:1621\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c4ba96c2b2a7e796262bc382acfa54288ab97a1df7134e44222e55dd04ec06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/CategoriesHiddenScreen.dart:181-199 | lib/screens/CategoriesSortScreen.dart:206-224 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesHiddenScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 210 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/CategoriesHiddenScreen.dart:181\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7cc938c2cf5081ca7860041b5b5cd360a1b6b087ec3327f5ee9e78de228152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/components/ImageReader.dart:777-795 | lib/screens/components/ImageReader.dart:809-827 \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/screens/components/ImageReader.dart:777\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efee5809656b906957bddfa3cac18105ce345569012e248e8b0f997d06b0eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lib/screens/CategoriesHiddenScreen.dart:183-200 | lib/screens/CategoriesScreen.dart:225-242 | lib/screens/CategoriesSortScreen.dart:208-225 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesHiddenScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 210 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/CategoriesHiddenScreen.dart:183\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"251162ac85ff40242f69d024f4a9519b7f4edd32b12bec15c6ff9a9b837c2ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/DownloadListScreen.dart:347-364 | lib/screens/components/ComicList.dart:231-248 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/DownloadListScreen.dart:347\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadListScreen.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74fdab3ca44954c36dab60e1715105cecc2f1d3e81c477530f5f1bc6ceee8f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/RankingsScreen.dart:153-170 | lib/screens/components/CommentItem.dart:53-70 \u2014 before extracting anything, compare \u0060lib/screens/RankingsScreen.dart\u0060 and \u0060lib/screens/components/CommentItem.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/RankingsScreen.dart:153\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/screens/RankingsScreen.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff6ebf91d0bcc03c7db48f2926ef23c1579bc85eff2d8d17f36f62c145833b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): lib/screens/components/ImageReader.dart:429-446 | lib/screens/components/ImageReader.dart:454-469 \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/screens/components/ImageReader.dart:429\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c80a4301a7479840d1a70fb8bf489db8cd9305da58481c559e97c75e77e4eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 10): lib/screens/DownloadExportToFileScreen.dart:182-198 | lib/screens/DownloadExportToFileScreen.dart:234-250 | lib/screens/DownloadExportToFileScreen.dart:290-306 | lib/screens/DownloadExportToFileScreen.dart:346-361 | lib/screens/DownloadExportToFileScreen.dart:400-415 | lib/screens/DownloadExportToFileScreen.dart:454-469 | lib/screens/DownloadExportToFileScreen.dart:508-523 | lib/screens/DownloadExportToFileScreen.dart:562-578 | lib/screens/DownloadExportToFileScreen.dart:618-634 | lib/screens/DownloadExportToFileScreen.dart:674-690 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/DownloadExportToFileScreen.dart:182\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportToFileScreen.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f7500a6696c266f004abf03dda742c18cb81b5876c69d3ecee6aa086943af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/screens/CategoriesHiddenScreen.dart:98-114 | lib/screens/CategoriesScreen.dart:146-162 | lib/screens/CategoriesSortScreen.dart:92-108 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesHiddenScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 210 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c18aa18946ab5d8613f0544766c18e1a44664229551b00b7f0275af89aae977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): lib/screens/components/ComicList.dart:244-259 | lib/screens/components/ComicList.dart:433-449 | lib/screens/components/ComicList.dart:695-711 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ComicList.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":"lib/screens/components/ComicList.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc6d58baf395a88e3ccaed1fd18a283fcb7a6eb3e079a1cce751bde64edcf06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/ComicInfoScreen.dart:269-285 | lib/screens/DownloadInfoScreen.dart:170-186 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicInfoScreen.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"84086803c1c58fb88d5dfa6bb65f1a3e9a9538b1b019dc48cf58dbeb70701556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/DownloadExportToFileScreen.dart:84-100 | lib/screens/DownloadInfoScreen.dart:112-128 \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/screens/DownloadExportToFileScreen.dart:84\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":"lib/screens/DownloadExportToFileScreen.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"23123bc10c3526a5c17dc7f84b0be682457b10c67714861a68c4237dd25c3eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/screens/DownloadImportScreen.dart:62-78 | lib/screens/ImportFromOffScreen.dart:53-68 \u2014 before extracting anything, compare \u0060lib/screens/DownloadImportScreen.dart\u0060 and \u0060lib/screens/ImportFromOffScreen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/DownloadImportScreen.dart:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/DownloadImportScreen.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe99f25e01730ef9a05b15bb4f0969db18c987359f74487dfcc1b1abe5c83cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/components/ImageReader.dart:1442-1458 | lib/screens/components/ImageReader.dart:1855-1871 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"685d8caaf718317664cb6e884d51d9369e8cb1c56cc15c3779cab477a490947f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/components/ImageReader.dart:1460-1476 | lib/screens/components/ImageReader.dart:1873-1889 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd365f674e25f978144c15ab3b1781f21a241766f19b7fad10e2dcb014a2a47a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/components/ImageReader.dart:1478-1494 | lib/screens/components/ImageReader.dart:1891-1907 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa73310e3e5e370f2c2bf453469b16d865119df6ca2c21dba7a7614ac0e9711b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): lib/screens/components/ImageReader.dart:1585-1601 | lib/screens/components/ImageReader.dart:2014-2027 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d65d36e7c1082cb1f03784809aba5f8a93e91456529237bb4de8a1396d70345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/components/ImageReader.dart:2665-2681 | lib/screens/components/ImageReader.dart:2682-2698 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7fbecbfa94a54ac5bfa5153a44d6023173f739b7e03c004f03b246a656ce64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/components/PkzImages.dart:87-103 | lib/screens/components/PkzImages.dart:154-170 \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/screens/components/PkzImages.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fef26bddd4b417d014d74b96a20af27ae947be79118f26d0d05b2ad2f9624a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): lib/screens/DownloadExportToFileScreen.dart:696-711 | lib/screens/DownloadExportingGroupScreen.dart:454-469 | lib/screens/components/DownloadComicsScreen.dart:111-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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/screens/DownloadExportToFileScreen.dart"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"603db1002a8ddec0ba1697c1f4812981a53c7114b55df1c067a889acbdcd57c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/screens/CategoriesScreen.dart:166-182 | lib/screens/CategoriesSortScreen.dart:110-126 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesScreen.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad77c120e6f31f0b9dcf408fa8d0d731b7b2231d5d0e04bfec52e6f3b55e61c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): lib/screens/DownloadExportingGroupScreen.dart:233-247 | lib/screens/DownloadExportingGroupScreen.dart:267-281 | lib/screens/DownloadExportingGroupScreen.dart:301-315 | lib/screens/DownloadExportingGroupScreen.dart:335-349 | lib/screens/DownloadExportingGroupScreen.dart:369-383 | lib/screens/DownloadExportingGroupScreen.dart:403-417 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/DownloadExportingGroupScreen.dart:233\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportingGroupScreen.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba6ff62707fdf15305b503163edcf2feaeb069221c25456b772da202e37b90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/screens/ComicReaderScreen.dart:231-245 | lib/screens/DownloadReaderScreen.dart:213-227 | lib/screens/PkzReaderScreen.dart:240-254 \u2014 before extracting anything, compare \u0060lib/screens/ComicReaderScreen.dart\u0060 and \u0060lib/screens/DownloadReaderScreen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicReaderScreen.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e596734ef06a88b15783731ba9006bbcdc0a173af1350017ef3489e2256d0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 3): lib/screens/components/ImageReader.dart:1586-1600 | lib/screens/components/ImageReader.dart:2015-2026 | lib/screens/components/ImageReader.dart:2255-2269 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a5f9f8692047a9e0628f136e430d7ec4e9372eea2ef36d751cc2644920424f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/basic/config/Themes.dart:241-255 | lib/basic/config/Themes.dart:292-306 \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/basic/config/Themes.dart:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/config/Themes.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9a6e513f61631ca128f436cf1bddc6c6ba6afadea7d6f6e14b83264ce43df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/DownloadImportScreen.dart:161-175 | lib/screens/DownloadImportScreen.dart:205-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/DownloadImportScreen.dart:161\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadImportScreen.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0273f139ec5f2afc7ca9c0b0e921f544ab980fe8d264575eaae729b3794a93d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/SearchAuthorScreen.dart:92-106 | lib/screens/SearchScreen.dart:72-86 \u2014 before extracting anything, compare \u0060lib/screens/SearchAuthorScreen.dart\u0060 and \u0060lib/screens/SearchScreen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/SearchAuthorScreen.dart:92\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/screens/SearchAuthorScreen.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00f8e3f3602a54dccb3218a4a582b10da58fb977bbb9a82e2d31b5384578884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/screens/components/ComicInfoCard.dart:187-201 | lib/screens/components/PkzComicInfoCard.dart:117-130 \u2014 before extracting anything, compare \u0060lib/screens/components/ComicInfoCard.dart\u0060 and \u0060lib/screens/components/PkzComicInfoCard.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ComicInfoCard.dart:187\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicInfoCard.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd4d15fedebacb1d65a123d26de707196e0bac3abed1c82f1fa2c6d6d38e026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/components/ImageReader.dart:2425-2439 | lib/screens/components/ImageReader.dart:2751-2765 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a623f9c341fdf0e7c7e8c92d4c0b04b2afdf040bbba7ab2c823596f3139442cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): lib/screens/DownloadExportingGroupScreen.dart:202-215 | lib/screens/DownloadExportingGroupScreen.dart:232-245 | lib/screens/DownloadExportingGroupScreen.dart:266-279 | lib/screens/DownloadExportingGroupScreen.dart:300-313 | lib/screens/DownloadExportingGroupScreen.dart:334-347 | lib/screens/DownloadExportingGroupScreen.dart:368-381 | lib/screens/DownloadExportingGroupScreen.dart:402-415 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/DownloadExportingGroupScreen.dart:202\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/screens/DownloadExportingGroupScreen.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"24da3aca7ad98ea04ce5cf738141c416c74ba1db766eb62720ab22bd23e6b2de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): lib/screens/CommentScreen.dart:164-177 | lib/screens/RankingsScreen.dart:154-167 | lib/screens/components/CommentItem.dart:54-67 | lib/screens/components/CommentList.dart:126-139 \u2014 before extracting anything, compare \u0060lib/screens/RankingsScreen.dart\u0060 and \u0060lib/screens/components/CommentItem.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CommentScreen.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae8556f96bb0204ab02284c032fcab406ae6081b47624de0936abdd3cd19b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): lib/screens/components/ComicList.dart:350-363 | lib/screens/components/ComicList.dart:375-388 | lib/screens/components/ComicList.dart:582-595 | lib/screens/components/ComicList.dart:607-620 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ComicList.dart:350\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/screens/components/ComicList.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"994f3a0765953945af056f05156eb95aa3db5914b0550a5bdeb361745d897e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/screens/CommentScreen.dart:192-205 | lib/screens/CommentScreen.dart:213-226 \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/screens/CommentScreen.dart:192\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CommentScreen.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"547a552f10d4bb7f951118d539ba36ea7daa7a211cf4c96c7bc582f8f369bd0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lib/screens/components/ComicInfoCard.dart:155-168 | lib/screens/components/PkzComicInfoCard.dart:91-102 \u2014 before extracting anything, compare \u0060lib/screens/components/ComicInfoCard.dart\u0060 and \u0060lib/screens/components/PkzComicInfoCard.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ComicInfoCard.dart:155\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicInfoCard.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d412a8868ce6cf911a1ec6265a276383221ddc4a10027318eb95581b7b7c9cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/screens/LocalFavoriteScreen.dart:504-516 | lib/screens/LocalFavoriteScreen.dart:551-563 | lib/screens/LocalFavoriteScreen.dart:654-666 | lib/screens/LocalFavoriteScreen.dart:703-715 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/LocalFavoriteScreen.dart:504\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/LocalFavoriteScreen.dart"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee0e1738453fd214ba28d1c5d555a7a69f18bec99a0950359f7294b245879e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/screens/ViewLogsScreen.dart:425-437 | lib/screens/components/ComicInfoCard.dart:99-111 | lib/screens/components/DownloadInfoCard.dart:51-63 | lib/screens/components/PkzComicInfoCard.dart:39-51 \u2014 before extracting anything, compare \u0060lib/screens/components/ComicInfoCard.dart\u0060 and \u0060lib/screens/components/PkzComicInfoCard.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/ViewLogsScreen.dart:425\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ViewLogsScreen.dart"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70d3645caaf96df11121c8413158d5a78ae7d42a1574fd0cae3f99ef4583313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lib/screens/components/ImageReader.dart:1385-1397 | lib/screens/components/ImageReader.dart:1808-1820 | lib/screens/components/ImageReader.dart:2086-2098 | lib/screens/components/ImageReader.dart:2591-2603 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/components/ImageReader.dart:2085\u0060 calls \u0060addListener\u0060 and \u0060lib/screens/components/ImageReader.dart:1384\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"23337357dedfc166fcc6dfad5df924a4d3dd42bce4c7abf5b1e3ea1b416619ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/AccountScreen.dart:152-164 | lib/screens/AccountScreen.dart:171-183 \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/screens/AccountScreen.dart:152\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/screens/AccountScreen.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bba50271ddedf8102c1ce6b40325f8a427165208ddfcb2a0d09b4e632852be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/screens/DownloadExportToSocketScreen.dart:99-111 | lib/screens/WebServerScreen.dart:63-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/DownloadExportToSocketScreen.dart:97\u0060 calls \u0060Text\u0060, \u0060tr\u0060 and \u0060lib/screens/WebServerScreen.dart:62\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportToSocketScreen.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b3f22e65c7fc1a82d9aee30dd0ef71cc62525acc4733793883ed19a6645308"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): lib/basic/config/Themes.dart:244-254 | lib/basic/config/Themes.dart:295-305 | lib/basic/config/Themes.dart:347-358 | lib/basic/config/Themes.dart:474-485 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/basic/config/Themes.dart:347\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/config/Themes.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbae68f41f05f9237a6e17738ad942a451a4c6a3b3231d46e746723349204cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/basic/config/Themes.dart:218-229 | lib/basic/config/Themes.dart:268-279 \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/basic/config/Themes.dart:218\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/basic/config/Themes.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26b5eb9d4b616e40c884b22ab998114b9b593515ffad37ffbfb269ff425dae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/screens/AccountScreen.dart:127-138 | lib/screens/RegisterScreen.dart:157-167 \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/screens/AccountScreen.dart:127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/AccountScreen.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"54369153654b1f7afd97eb5650e9faf88c9f73d02cbdec80b534f16310e46ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/GamesScreen.dart:123-134 | lib/screens/components/ComicPager.dart:195-206 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/GamesScreen.dart:123\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":"lib/screens/GamesScreen.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca802a1489554822f27f425a9725e9c2eb6fdd85a14d7793d4eaf3dfc3c1cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/components/ImageReader.dart:1602-1613 | lib/screens/components/ImageReader.dart:2029-2040 \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/screens/components/ImageReader.dart:1602\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be7b2fa5593d60c9b9834f4a3586209a692d135d3a92023552b4b7f558516b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/screens/components/ComicList.dart:216-226 | lib/screens/components/ComicList.dart:410-420 | lib/screens/components/ComicList.dart:671-681 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ComicList.dart:216\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/screens/components/ComicList.dart"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"926ecb040f70d7e08974be4e766e55a857add6e8692e5f859915e85602df60d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/components/ComicInfoCard.dart:140-150 | lib/screens/components/PkzComicInfoCard.dart:79-89 \u2014 before extracting anything, compare \u0060lib/screens/components/ComicInfoCard.dart\u0060 and \u0060lib/screens/components/PkzComicInfoCard.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/components/ComicInfoCard.dart:140\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicInfoCard.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1ccb4587a9cce9afa02b8584244d52c79b5bae9ae5584f0ffd9c169b6423e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/components/ComicInfoCard.dart:297-307 | lib/screens/components/ComicInfoCard.dart:320-330 \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/screens/components/ComicInfoCard.dart:297\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/screens/components/ComicInfoCard.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d15b6564368b8d6bceaa6ddeced0efdced96e2883f39481819d33a6919dfa21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/screens/components/ImageReader.dart:314-324 | lib/screens/components/ImageReader.dart:351-361 \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/screens/components/ImageReader.dart:314\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fb2f172a528a503120b447becf48053e7452f381e436e6317c08fc0eb1ba95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/components/ImageReader.dart:2360-2371 | lib/screens/components/ImageReader.dart:2606-2617 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb444226a6d2aeab67ed8ca4e48d514c6c772bffda12b0cfb6aa7d50ac6ec61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/screens/DownloadImportScreen.dart:158-167 | lib/screens/DownloadImportScreen.dart:202-211 | lib/screens/DownloadImportScreen.dart:251-260 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/DownloadImportScreen.dart:158\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":"lib/screens/DownloadImportScreen.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea16bf922c3c2cc96c10336ff0d7051960d6d93c999ce31782b8935006f0073a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/InitScreen.dart:241-250 | lib/screens/InitScreen.dart:253-262 \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/screens/InitScreen.dart:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/screens/InitScreen.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25ba6160a3ff97503ccf559abbf051b1d4c9afde49ad521ff36d897221d24cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/HiddenWordsScreen.dart:75-83 | lib/screens/LocalFavoriteScreen.dart:678-686 \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/screens/HiddenWordsScreen.dart:75\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/HiddenWordsScreen.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8cea1169026fc3cde9c15c6d3d53ef792212109c6c4394273a9a761dd9e7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/ComicInfoScreen.dart:309-316 | lib/screens/ComicInfoScreen.dart:351-358 \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/screens/ComicInfoScreen.dart:309\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicInfoScreen.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b3560a5d2153829ccafbae92d6aa55b9dff480e1b49291a137348f8d1161ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/components/ImageReader.dart:767-774 | lib/screens/components/ImageReader.dart:799-806 \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/screens/components/ImageReader.dart:767\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/screens/components/ImageReader.dart"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff6a99d3a4195ba60c27cf3e1e2addb1f4d88d08f654c4c3ceb5577b6d03e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/components/ComicList.dart:310-316 | lib/screens/components/ComicList.dart:541-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/components/ComicList.dart:548\u0060 calls \u0060max\u0060 and \u0060lib/screens/components/ComicList.dart:317\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicList.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d333da551ee2fab54486dddec420867902ff106b2f2ec33809347a0b6e89f053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/RankingsScreen.dart:144-150 | lib/screens/components/CommentItem.dart:45-51 \u2014 before extracting anything, compare \u0060lib/screens/RankingsScreen.dart\u0060 and \u0060lib/screens/components/CommentItem.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/RankingsScreen.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84b72790142c95f04d737dbc20373e2cc47ad28e94039d8a01c1c6ebd46ee32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 29): lib/screens/AboutScreen.dart:37-44 | lib/screens/CleanScreen.dart:44-51 | lib/screens/ComicCollectionsScreen.dart:34-41 | lib/screens/ComicInfoScreen.dart:116-123 | lib/screens/ComicReaderScreen.dart:150-157 | lib/screens/ComicsScreen.dart:131-138 | lib/screens/CommentScreen.dart:93-100 | lib/screens/DownloadConfirmScreen.dart:77-84 | lib/screens/DownloadExportToSocketScreen.dart:60-67 | lib/screens/DownloadReaderScreen.dart:140-147 | lib/screens/FavouritePaperScreen.dart:26-33 | lib/screens/FilePhotoViewScreen.dart:16-23 | lib/screens/GameDownloadScreen.dart:26-33 | lib/screens/GameInfoScreen.dart:30-37 | lib/screens/GamesScreen.dart:39-46 | lib/screens/HiddenWordsScreen.dart:52-59 | lib/screens/MigrateScreen.dart:37-44 | lib/screens/ModifyPasswordScreen.dart:23-30 | lib/screens/NetworkSettingsScreen.dart:11-18 | lib/screens/PkzReaderScreen.dart:159-166 | lib/screens/RandomComicsScreen.dart:23-30 | lib/screens/RankingsScreen.dart:21-28 | lib/screens/RegisterScreen.dart:93-100 | lib/screens/SearchAuthorScreen.dart:141-148 | lib/screens/SearchScreen.dart:117-124 | lib/screens/SettingsScreen.dart:94-101 | lib/screens/TagFavoriteScreen.dart:95-102 | lib/screens/ThemeScreen.dart:17-24 | lib/screens/WebServerScreen.dart:27-34 \u2014 before extracting anything, compare \u0060lib/screens/ComicReaderScreen.dart\u0060 and \u0060lib/screens/DownloadReaderScreen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/screens/HiddenWordsScreen.dart:48\u0060 calls \u0060dispose\u0060 and \u0060lib/screens/ComicCollectionsScreen.dart:29\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/AboutScreen.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"522718776074df44a66e9c1ef86f1d1a18ebf507f90adc4f9fbd53b221b1e3c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lib/screens/DownloadExportToFileScreen.dart:58-64 | lib/screens/DownloadExportToSocketScreen.dart:52-58 | lib/screens/DownloadExportingGroupScreen.dart:42-48 | lib/screens/components/DownloadComicsScreen.dart:36-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportToFileScreen.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a342d32b4cf80a8b35dad754c9030b28b19d858894859ddc43c3a81e5332d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/screens/DownloadImportScreen.dart:45-51 | lib/screens/ImportFromOffScreen.dart:36-42 \u2014 before extracting anything, compare \u0060lib/screens/DownloadImportScreen.dart\u0060 and \u0060lib/screens/ImportFromOffScreen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadImportScreen.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"66267926eede33e24fabbe96c055a0c538272c63c4e0622d4c14cd6d7748a391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/DownloadImportScreen.dart:53-60 | lib/screens/ImportFromOffScreen.dart:44-51 \u2014 before extracting anything, compare \u0060lib/screens/DownloadImportScreen.dart\u0060 and \u0060lib/screens/ImportFromOffScreen.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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. 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/screens/DownloadImportScreen.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd1fbc4358f854b6b6fb9be8dcf7f4ff7aff2a0fcfe239e9b13fd8d54cc4f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/CategoriesHiddenScreen.dart:85-93 | lib/screens/CategoriesSortScreen.dart:79-87 \u2014 before extracting anything, compare \u0060lib/screens/CategoriesHiddenScreen.dart\u0060 and \u0060lib/screens/CategoriesSortScreen.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 210 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesHiddenScreen.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1398bc218807d85f0aaa9724f515bbf4e31dad35a138796846ce5b89cc1badea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/screens/ComicReaderScreen.dart:27-36 | lib/screens/DownloadReaderScreen.dart:29-38 \u2014 before extracting anything, compare \u0060lib/screens/ComicReaderScreen.dart\u0060 and \u0060lib/screens/DownloadReaderScreen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicReaderScreen.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bc2feb1b6a02b4ee16d4ac2199a35d0934f45d94d5e008bc34d9a30c63735d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/screens/ComicReaderScreen.dart:77-81 | lib/screens/DownloadReaderScreen.dart:73-77 \u2014 before extracting anything, compare \u0060lib/screens/ComicReaderScreen.dart\u0060 and \u0060lib/screens/DownloadReaderScreen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/DownloadReaderScreen.dart:79\u0060 calls \u0060_onDownload\u0060, \u0060defaultToast\u0060 and \u0060lib/screens/ComicReaderScreen.dart:83\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicReaderScreen.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b2fe455b57b1395581e8fc2dd54858e1d772c38523ec7f2051e558e5db3613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/ComicReaderScreen.dart:129-140 | lib/screens/DownloadReaderScreen.dart:119-130 \u2014 before extracting anything, compare \u0060lib/screens/ComicReaderScreen.dart\u0060 and \u0060lib/screens/DownloadReaderScreen.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicReaderScreen.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9067654f9cc7b2f1fcd43c9371a9e1d041b6958720dcc6f67aacdc48c5c101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lib/screens/components/Images.dart:24-33 | lib/screens/components/Images.dart:71-80 | lib/screens/components/Images.dart:120-129 | lib/screens/components/PkzImages.dart:16-25 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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/screens/components/Images.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dda4d4bf6dabb23392100aed2f6e65cd8a40cd067411d27c3d49354ce0da1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/screens/components/Images.dart:143-150 | lib/screens/components/PkzImages.dart:37-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/Images.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"93570ed283103fb10ef592c1574934848c2348874054c878956144cd8acf4767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): ci/cmd/check_asset/main.go:42-74 | ci/cmd/upload_asset/main.go:79-112 \u2014 \u0060ci/cmd/check_asset/main.go\u0060 and \u0060ci/cmd/upload_asset/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 61 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/cmd/check_asset/main.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a9ed6040154742f3cb62e9f09213e9d2bf1c7561d8f222590dd618cfa5c769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): ci/cmd/check_asset/main.go:14-40 | ci/cmd/upload_asset/main.go:15-41 \u2014 \u0060ci/cmd/check_asset/main.go\u0060 and \u0060ci/cmd/upload_asset/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 61 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/cmd/check_asset/main.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62d94e29657f699e0f096c440c9ddee7e327ac619a94bf58cb9ad6c47286809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ci/cmd/send_to_community/main.go:20-29 | ci/commons/funcs.go:14-23 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/cmd/send_to_community/main.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"19364cb1d4b5a281e6bdab8d7669a81956b09bf4e22482eb5c388c6c9869152a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Method (LCOM4 161): Method\u0027s methods fall into 161 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 161 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/Method.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"91106b5fcf9b5f2b1e9f288b5ad7d0e68bed5ac73071f196eef989214787cc5c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ImageReaderContentState (LCOM4 5): _ImageReaderContentState\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf52ea4d4e8d1d70cd03226c0cb80a5ea2728c5a1f28ae70667b3b2db1bd43"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AppScreenState (LCOM4 4): _AppScreenState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/AppScreen.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f8e97f34b0efd54802a4acf7eb9ae49e0a2953f88c7dba2c6668e06ad4a1be"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _CategoriesScreenState (LCOM4 4): _CategoriesScreenState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/CategoriesScreen.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eed4b67c7388393ec6fc3e5c342a0abcb5c5811116ae59a73eb41d0a2d7085f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ComicInfoScreenState (LCOM4 4): _ComicInfoScreenState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicInfoScreen.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9565cff533f685930fcca59dd74287e77942b1897134b1d46ce6816f74a4746"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _TagFavoriteScreenState (LCOM4 4): _TagFavoriteScreenState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/TagFavoriteScreen.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3002522066af878067290920105a7cdbb34c6211ed3862a94c59772ae4198e2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ComicListBuilderState (LCOM4 4): _ComicListBuilderState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicListBuilder.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea491fe0c05b0d47ebb1b3f3b8e60165fb00ae0e11a24b104489cf5051e5609d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _GalleryReaderState (LCOM4 4): _GalleryReaderState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab6c2aca8655cf5127f0d404c77356b031412b0605b3f844673dc0e53347af4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _TwoPageGalleryReaderState (LCOM4 4): _TwoPageGalleryReaderState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a47013d0b9c2dbbaf7fdc04f172a9be4752b6e23452b918266bfad5eb5e7a2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _TimeoutLockState (LCOM4 4): _TimeoutLockState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/TimeoutLock.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff9907bff306abf4d881903fe9f0b539b021a7085a76d9b901f5fcfbb20503f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement dispose \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/ComicCollectionsScreen.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3abb0c63500314ae1820e76b9ba65ed8133091fe080c7d17a6ae9a358677ece"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo only pika task \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadInfoScreen.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"160c0be5de22f48a2330e57fb22461c20aff14180795d783b66746b315824d3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo only pika task \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadInfoScreen.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff859af80eb4658df899045d24ad88a9b8dfc7dfbb527aa978568698b3d2627"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement _needScrollBackward \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2743}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bebdca88f8efaa6e42728f62b520e477204b38d449c1b4232bf90d6c57f9668"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement _needScrollForward \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ImageReader.dart"},"region":{"startLine":2748}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2034cb59c9ac7f0ffdf857a3d493243b7b8c760319863a56b06becd3ea88a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/PkzComicInfoCard.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd03da62d0d56cc64e02e07c4ee6e5b7ded9dda0c9751f989e64a67bae0fcc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/PkzComicInfoCard.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a6b9a4f1cc167e79d3a6b263c0e033f5e79895f465a8cf0f30f2c9d55fa790"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo remove first v \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/config/Version.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9022c3daaa00340e3b1aebdb66e846722cebdaa68bb3ae8f7a110ce9dfc90dc3"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060(repository root)\u0060 (27420 LoC, 191 module-visible types across 10 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62fe693233e1a14c3d20d518fd86fef7331634776bab77de52723237e126286a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3829e373b0d934f56e24e61ba74d13f67cbb3d12244d8c12bbceca5a8b08ecdf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4cc6f9ff4ce48821d9024c1351e3bd138e7954977f70e8da76967cb96c5fdef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5aaab8ee669dbd58a369cb07f3ea481efdf51381f094be5807db6e10f68c9117"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f72b6eec659d4643504c6d31703e7dc6f0a81a0aa411567045caf829231a2ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1acbbb520368d7807ff948d15c7f440d176c5133374e81af0fea6322ecd6a7c0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63a2c9458c78b5967670d19fdf49c3af6df42670d6ac6490aceebce2dad02815"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1bf693626ea074467114c8a6620cc336b89ed2ccbf418136b43a09ed04907ac8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"733f2140dccec41f1feb3aabdb9929b043696fdcfb8fb355069c569ee6ae16d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49a4f75b90428dfe21aab77590d3feafdf688210c2bfc05f32794763aed5c28e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41ca698e48f8be9132d16699ee767e597e1bc1f91b9e205eae64f535c7d8d63f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20f5c431cb6299df7740b666c01bc060edcb4a22462a29d4fc2fa9462fca4371"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0773508a3e1b17099c99bab905cfd2f5906ab7b89b5ca632c3d6a2758e7087c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2015fa9e2bd784dc59c77245361875926056ecae3d312239edbbc3d63614777"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b66b9f0bcad2a41c17f12182e84cb39b9c4065b32574ad978762c05224778021"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3ca26fef8beb0f930d4dae9341ddaa3529edb4d155675a91eb51dcb8e0ba088"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9ca01375021de1fa8f95f8c12f0373743a42dcb03f100625db938d5b1bd7a5f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9cce4b13595e678c89512966dbf7f0a09a606d7de73492f4371d45533c694d8"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.0.0-20220315160706-3147a52a75dd","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2023-2402","GO-2024-2961","GO-2024-3321","GO-2025-3487","GO-2025-4116","GO-2025-4134","GO-2025-4135","GO-2026-5005","GO-2026-5006","GO-2026-5013","GO-2026-5014","GO-2026-5015","GO-2026-5016","GO-2026-5017","GO-2026-5018","GO-2026-5019","GO-2026-5020","GO-2026-5021","GO-2026-5023","GO-2026-5033","GO-2026-5932","GO-2026-6303","GO-2026-6354","GO-2026-6355","PYSEC-2026-1758"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0f2e82c1f74da11de7a944fb9a5d12d1ed283fd7d7fd4b62bafea200fe409c2"},"properties":{"dependency":{"package":"github.com/klauspost/compress","version":"1.15.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-5841","GO-2026-6865"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d521c703df3f8fca114588a11c5f63a0d0e6fafdc91faac6d50a21dc0f514571"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.0.0-20220225172249-27dd8689420f","advisory":"[GHSA redacted]","aliases":["BIT-apisix-2023-44487","BIT-aspnet-core-2023-44487","BIT-contour-2023-44487","BIT-dotnet-2023-44487","BIT-dotnet-sdk-2023-44487","BIT-envoy-2023-44487","BIT-golang-2022-27664","BIT-golang-2022-41717","BIT-golang-2022-41723","BIT-golang-2023-39325","BIT-golang-2023-44487","BIT-golang-2023-45288","BIT-golang-2026-33814","BIT-golang-2026-46600","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","BIT-jenkins-2023-44487","BIT-kong-2023-44487","BIT-nginx-2023-44487","BIT-nginx-gateway-2023-44487","BIT-node-2023-44487","BIT-node-min-2023-44487","BIT-solr-2023-44487","BIT-tomcat-2023-44487","BIT-varnish-2023-44487","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2022-0969","GO-2022-1144","GO-2023-1571","GO-2023-1988","GO-2023-2102","GO-2024-2687","GO-2024-3333","GO-2025-3503","GO-2025-3595","GO-2026-4440","GO-2026-4441","GO-2026-4918","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecf500ad4c2324fc3ed75cd19db10e02ddb6d297b19f9bffb1f710a307f61fb1"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.0.0-20220310020820-b874c991c1a5","advisory":"[GHSA redacted]","aliases":["BIT-golang-2022-29526","[CVE redacted]","[CVE redacted]","GO-2022-0493","GO-2026-5024"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae9050a6970ef8b3fbcb2643ab50dbf4c1d97e51030e8442be482d5cf64d5506"},"properties":{"dependency":{"package":"stdlib","version":"1.17.99","advisory":"GO-2022-0969","aliases":["BIT-golang-2022-27664","BIT-golang-2022-2879","BIT-golang-2022-2880","BIT-golang-2022-41715","BIT-golang-2022-41716","BIT-golang-2022-41717","BIT-golang-2022-41720","BIT-golang-2022-41722","BIT-golang-2022-41723","BIT-golang-2022-41724","BIT-golang-2022-41725","BIT-golang-2023-24532","BIT-golang-2023-24534","BIT-golang-2023-24536","BIT-golang-2023-24537","BIT-golang-2023-24538","BIT-golang-2023-24539","BIT-golang-2023-24540","BIT-golang-2023-29400","BIT-golang-2023-29403","BIT-golang-2023-29406","BIT-golang-2023-29409","BIT-golang-2023-39318","BIT-golang-2023-39319","BIT-golang-2023-39325","BIT-golang-2023-39326","BIT-golang-2023-45283","BIT-golang-2023-45284","BIT-golang-2023-45287","BIT-golang-2023-45288","BIT-golang-2023-45289","BIT-golang-2023-45290","BIT-golang-2024-24783","BIT-golang-2024-24784","BIT-golang-2024-24785","BIT-golang-2024-24789","BIT-golang-2024-24790","BIT-golang-2024-24791","BIT-golang-2024-34155","BIT-golang-2024-34156","BIT-golang-2024-34158","BIT-golang-2024-45336","BIT-golang-2024-45341","BIT-golang-2025-0913","BIT-golang-2025-22866","BIT-golang-2025-22871","BIT-golang-2025-22873","BIT-golang-2025-4673","BIT-golang-2025-47906","BIT-golang-2025-47907","BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2022-1037","GO-2022-1038","GO-2022-1039","GO-2022-1095","GO-2022-1143","GO-2022-1144","GO-2023-1568","GO-2023-1569","GO-2023-1570","GO-2023-1571","GO-2023-1621","GO-2023-1702","GO-2023-1703","GO-2023-1704","GO-2023-1705","GO-2023-1751","GO-2023-1752","GO-2023-1753","GO-2023-1840","GO-2023-1878","GO-2023-1987","GO-2023-2041","GO-2023-2043","GO-2023-2102","GO-2023-2185","GO-2023-2186","GO-2023-2375","GO-2023-2382","GO-2024-2598","GO-2024-2599","GO-2024-2600","GO-2024-2609","GO-2024-2610","GO-2024-2687","GO-2024-2887","GO-2024-2888","GO-2024-2963","GO-2024-3105","GO-2024-3106","GO-2024-3107","GO-2025-3373","GO-2025-3420","GO-2025-3447","GO-2025-3503","GO-2025-3563","GO-2025-3750","GO-2025-3751","GO-2025-3849","GO-2025-3956","GO-2025-4006","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4403","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"ci/cmd/check_asset/main.go","line":47,"symbol":"http.NewRequest"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DownloadExportToFileScreen.dart \u2194 DownloadExportingGroupScreen.dart: \u0060lib/screens/DownloadExportToFileScreen.dart\u0060 and \u0060lib/screens/DownloadExportingGroupScreen.dart\u0060 change together 77% of the time (10 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00609dc691f2\u0060 :sparkles: export epubs; \u00605ac3c0e6\u0060 :globe_with_meridians: i18n; \u00608de2eac9\u0060 :globe_with_meridians: i18n \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/DownloadExportToFileScreen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2002443ea00386a44d7741c4db2f2ce5936c29c7573505e4a91d6aa4c9cf4cf7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: InitScreen.dart \u2192 SettingsScreen.dart, SpaceScreen.dart, ComicInfoCard.dart: \u0060lib/screens/InitScreen.dart\u0060 changes together with 3 other files \u2014 \u0060lib/screens/SettingsScreen.dart\u0060, \u0060lib/screens/SpaceScreen.dart\u0060, \u0060lib/screens/components/ComicInfoCard.dart\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/InitScreen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f41eb2252861f27382a384562abb16cf441230840b6e50cd2fb771cc22529e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SettingsScreen.dart \u2194 ComicInfoCard.dart: \u0060lib/screens/SettingsScreen.dart\u0060 and \u0060lib/screens/components/ComicInfoCard.dart\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00601c14881c\u0060 :sparkles: auto download on fav; \u006075fd9a4f\u0060 :sparkles: import; \u0060ce81c0b4\u0060 :sparkles: localfav \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/SettingsScreen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2a7562dc74a80d6621439f29cb8edf905116db9c3eff0f0e5f4c9e5a3230ff"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RankingsScreen.dart \u2194 SearchScreen.dart: \u0060lib/screens/RankingsScreen.dart\u0060 and \u0060lib/screens/SearchScreen.dart\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006053b85536\u0060 :globe_with_meridians: i18n; \u0060ccae23ed\u0060 :recycle: (Gui) Modify menu and icons; \u0060a5e2c567\u0060 :sparkles: Quick choose address \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/RankingsScreen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b616a2a6759a20166cc74f59388d399bb77d3b0a995e168100d72f8d3cd0bc5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AppScreen.dart \u2194 SettingsScreen.dart: \u0060lib/screens/AppScreen.dart\u0060 and \u0060lib/screens/SettingsScreen.dart\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006091b9c543\u0060 :sparkles: timeout lock; \u00608ea16f45\u0060 version tips, icon loading; \u006003f41bab\u0060 Support pki \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/AppScreen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb59b9a0db1b9de2de4eacc74644612b985f5a8a673ff9dbd1e62dccf80f222"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e09f5ef998155c6cb5337939f11bad7853591e04dc7fa6a03b85ce81df44af9d"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 69 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060ios\u0060, \u0060macos\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add 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 2 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":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_getPrecompiledArtifacts\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":"rust_builder/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a83dcbc7e505418d2484bc88e3c70e66842e829ea070efbe040e78cdf8fb1c3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_tryDownloadArtifacts\u0060 is async and calls writeAsBytesSync \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":"rust_builder/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a228379f9755b5ea21f5d61388291821cdd9c9da6e9f9f1a86d17ba18dc494ce"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls copySync \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":"rust_builder/cargokit/build_tool/lib/src/build_cmake.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"db82ca80b4cd2c3e1b0430ecbe149073e7883bb496a13983ba5ea4307fd527cc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls createSync, copySync \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":"rust_builder/cargokit/build_tool/lib/src/build_gradle.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"293cc070a3258bc797e4cd6d82051d5a89ebb79fb3c90436b20bfef889e69206"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\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":"rust_builder/cargokit/build_tool/lib/src/build_pod.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1471f057236d68ddfd7e46939773d501e9ba20b4bf5a277f222181c2451240"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls createSync, readAsBytesSync, 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":"rust_builder/cargokit/build_tool/lib/src/precompile_binaries.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89316d25dced32f4ede5d5c269237474264701765182b85b137db2a761baf07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isMacOS || Platform.isWindows || Platform.isLinux\u0060 appears character-identically in 3 files \u2014 lib/basic/config/ExportPath.dart, lib/basic/config/StartupPic.dart, lib/screens/components/UserProfileCard.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/basic/config/ExportPath.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1413ca9162940941888f178e620529538d9041e06e90379f9eab4a1f5d36c3fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isWindows || Platform.isLinux || Platform.isMacOS\u0060 appears character-identically in 2 files \u2014 lib/basic/config/Authentication.dart, lib/main.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/basic/config/Authentication.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8892bcba34adcf307ef6411adcc9b2dc74f93eb5f7dd270297a4a7e23c5a01e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isWindows || Platform.isMacOS || Platform.isAndroid || Platform.isLinux\u0060 appears character-identically in 2 files \u2014 lib/basic/config/DownloadAndExportPath.dart, lib/basic/config/DownloadCachePath.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/basic/config/DownloadAndExportPath.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d702c0d21fe3b1dac001438265f1677f8774a0e972b9575b83370d67150c8a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Platform.isWindows || Platform.isMacOS || Platform.isLinux\u0060 appears character-identically in 3 files \u2014 lib/basic/Cross.dart, lib/basic/config/KeyboardController.dart, lib/basic/config/UsingRightClickPop.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/basic/Cross.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f10357daf070db49cf8ae22c674bc22539ecc3958ae4cc0e82bccd6c385d38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentPagerAction() == PagerAction.CONTROLLER \u0026\u0026 _comicListController.selecting\u0060 appears character-identically in 3 files \u2014 lib/screens/ComicsScreen.dart, lib/screens/SearchAuthorScreen.dart, lib/screens/SearchScreen.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/screens/ComicsScreen.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab70da69177dad4df268959c59b0578699acc3b79bbab4072974aee01fa7376"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060folderName != null \u0026\u0026 folderName.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/LocalFavoriteScreen.dart, lib/screens/components/ComicInfoCard.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/screens/LocalFavoriteScreen.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3be827f27cdc71070435dbd06f4719f5508e59aee4556e6e725c53df1c5e7a2"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060putMap\u0060 is public and takes \u0060Map\u003CString, dynamic\u003E map\u0060 from its caller, and it calls itself at line 18 (\u0060putMap\u0060) with a piece of \u0060map\u0060 \u2014 and nowhere in \u0060putMap\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 \u0060putMap\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/i18.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b926dd6295efc607144f637b39742d47cf3a8b8358eea7e286ae24ec837bdd2f"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_SearchAuthorScreenState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_textEditController\u0060 itself (line 55, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_textEditController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060TextEditingController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_textEditController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/SearchAuthorScreen.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a160f5f94c1a205b90d54eb3b8dc9f8745baf2a76488d488ad2502a56e8dbada"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_SearchScreenState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_textEditController\u0060 itself (line 36, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_textEditController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060TextEditingController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_textEditController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/SearchScreen.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9e882e2790379966fd658f6d86874d92dc74ce75a2930c5dedbf8bcdc2f612"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_ControllerComicPagerState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_textEditController\u0060 itself (line 90, \u0060TextEditingController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_textEditController.dispose()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060TextEditingController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_textEditController.dispose();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/components/ComicPager.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ccdde3aed9dabc33c9a75caea8050dc7783b3afddd54ad72fdc3dc2f1072da"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060finer\u0060 at line 109 is called with an argument built by \u0060arguments.join(\u0027\u2026\u0027)\u0060 (line 109), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because finer is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/util.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd62326b7a6312f6bd0132d42d8bb0e41d2541cf0ad7c93565c183a55bc1d64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/screens/ViewLogsScreen.dart"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec20678c09384bf30c5dd744be4197820ca1b2dd51d3b58658835efe0278b69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/screens/components/ImageReader.dart"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5defe544b28671289d94cb052273f90b7d363400b5945f77ae05f2169bc280"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/screens/components/ImageReader.dart"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0812acccb875579defaed03d6a97bcd7acf830f87080f7c54b0e1b7937032c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/basic/Common.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05ff23a32fbe393065c47d169b79cffc8158aae6b655c4fcf3f2f43a6551a18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/basic/Common.dart"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d609d43d82489bc82f08d786256854569569ec7f6f2fd96e95abef0dfdf16795"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/basic/Method.dart"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"af571b3f1058657d061397dd1001801cdc2a2b484aa51674936bc2518ec47469"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/entity_convert.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3646bf3618767e0811b1b55d7bf08180b35305a994f8453d60e565bce26d9fe2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/basic/config/ChooserRoot.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28b3317977dd7dbe2bd39b1bc8b566e1de53f6ed90acede3e7c30cdee885118"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/basic/config/ExportPath.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ba3e54388d04a3e54dd4fa3a470b8866f822d1a68c6aa8706d9bfc3b044507"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/basic/config/RecommendLinks.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf29a682d2e1d816374a41ecb0e495ab5f0fcf40d76bbae1b055b1bf186482d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/basic/config/Version.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8adb89aa21aa01d9c6a65f34ef9f35d2887baef3b70b17d78bb64bc9142c5aa"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"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":27,"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."]}]}